commit | eba71de2cb7c02c5ae4f2ad3656343da71bc4661 | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Fri Mar 25 10:13:43 2011 -0400 |
committer | Eric Paris <eparis@redhat.com> | Thu Apr 07 12:00:12 2011 -0400 |
tree | 3eb37c447b2023c86d2c2cadc7b84656c134b646 | |
parent | f50a3ec961f90e38c0311411179d5dfee1412192 [diff] |
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" <justinmattock@gmail.com> Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>