aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
authorStephen Smalley <[email protected]>2011-03-25 14:13:43 +0000
committerEric Paris <[email protected]>2011-04-07 16:00:12 +0000
commiteba71de2cb7c02c5ae4f2ad3656343da71bc4661 (patch)
tree3eb37c447b2023c86d2c2cadc7b84656c134b646 /security/selinux/netnode.c
parentselinux: add type_transition with name extension support for selinuxfs (diff)
downloadkernel-eba71de2cb7c02c5ae4f2ad3656343da71bc4661.tar.gz
kernel-eba71de2cb7c02c5ae4f2ad3656343da71bc4661.zip
selinux: Fix regression for Xorg
Commit 6f5317e730505d5cbc851c435a2dfe3d5a21d343 introduced a bug in the handling of userspace object classes that is causing breakage for Xorg when XSELinux is enabled. Fix the bug by changing map_class() to return SECCLASS_NULL when the class cannot be mapped to a kernel object class. Reported-by: "Justin P. Mattock" <[email protected]> Signed-off-by: Stephen Smalley <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions