android_kernel_xiaomi_sm8350/security/selinux
Stephen Smalley 65c90bca0d selinux: Fix send_sigiotask hook
The CRED patch incorrectly converted the SELinux send_sigiotask hook to
use the current task SID rather than the target task SID in its
permission check, yielding the wrong permission check.  This fixes the
hook function.  Detected by the ltp selinux testsuite and confirmed to
correct the test failure.

Signed-off-by:  Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
2009-05-05 08:31:03 +10:00
..
include netlabel: Label incoming TCP connections correctly in SELinux 2009-03-28 15:01:36 +11:00
ss SELinux: remove unused av.decided field 2009-02-14 09:23:08 +11:00
avc.c SELinux: convert the avc cache hash list to an hlist 2009-02-14 09:23:48 +11:00
exports.c CRED: Wrap current->cred and a few other accessors 2008-11-14 10:39:18 +11:00
hooks.c selinux: Fix send_sigiotask hook 2009-05-05 08:31:03 +10:00
Kconfig selinux: Deprecate and schedule the removal of the the compat_net functionality 2008-12-31 12:54:11 -05:00
Makefile
netif.c
netlabel.c netlabel: Label incoming TCP connections correctly in SELinux 2009-03-28 15:01:36 +11:00
netlink.c
netnode.c
netport.c
nlmsgtab.c SELinux: new permission between tty audit and audit socket 2009-03-06 08:50:21 +11:00
selinuxfs.c selinux: Remove the "compat_net" compatibility code 2009-03-28 15:01:37 +11:00
xfrm.c CRED: Wrap current->cred and a few other accessors 2008-11-14 10:39:18 +11:00