security/selinux: pass 'flags' arg to avc_audit() and avc_has_perm_flags()
authorNeilBrown <neilb@suse.de>
Mon, 23 Mar 2015 02:37:39 +0000 (13:37 +1100)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 12:13:11 +0000 (08:13 -0400)
commit7b20ea2579238f5e0da4bc93276c1b63c960c9ef
tree6566fc4c7e9bed18a52750e54e89307512ba401a
parent181548c05147154605711f3b1cf863267b5b8f7a
security/selinux: pass 'flags' arg to avc_audit() and avc_has_perm_flags()

This allows MAY_NOT_BLOCK to be passed, in RCU-walk mode, through
the new avc_has_perm_flags() to avc_audit() and thence the slow_avc_audit.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/selinux/avc.c
security/selinux/hooks.c
security/selinux/include/avc.h