]> git.karo-electronics.de Git - linux-beck.git/commit
selinux: simply inode label states to INVALID and INITIALIZED
authorPaul Moore <paul@paul-moore.com>
Mon, 28 Mar 2016 19:16:53 +0000 (15:16 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 5 Apr 2016 20:10:55 +0000 (16:10 -0400)
commit4b57d6bcd94034e2eb168bdec2474e3b2b848e44
treebe44e587a3fa8aee2746367208a6faed4848a2f9
parent899134f2f6e27dcae1fee12593c492577cc80987
selinux: simply inode label states to INVALID and INITIALIZED

There really is no need for LABEL_MISSING as we really only care if
the inode's label is INVALID or INITIALIZED.  Also adjust the
revalidate code to reload the label whenever the label is not
INITIALIZED so we are less sensitive to label state in the future.

Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c
security/selinux/include/objsec.h