android_kernel_samsung_msm8976/security/selinux/include
Eric Paris 0dc1ba24f7 SELINUX: Make selinux cache VFS RCU walks safe
Now that the security modules can decide whether they support the
dcache RCU walk or not it's possible to make selinux a bit more
RCU friendly.  The SELinux AVC and security server access decision
code is RCU safe.  A specific piece of the LSM audit code may not
be RCU safe.

This patch makes the VFS RCU walk retry if it would hit the non RCU
safe chunk of code.  It will normally just work under RCU.  This is
done simply by passing the VFS RCU state as a flag down into the
avc_audit() code and returning ECHILD there if it would have an issue.

Based-on-patch-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
2011-04-25 16:24:41 -04:00
..
audit.h
avc.h SELINUX: Make selinux cache VFS RCU walks safe 2011-04-25 16:24:41 -04:00
avc_ss.h
classmap.h SELinux: Auto-generate security_is_socket_class 2011-03-03 15:19:43 -05:00
conditional.h
initial_sid_to_string.h
netif.h
netlabel.h
netnode.h
netport.h
objsec.h
security.h SELinux: security_read_policy should take a size_t not ssize_t 2011-04-25 10:19:02 -04:00
xfrm.h