]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] selinux: Fix MLS compatibility off-by-one bug
authorRon Yorston <rmy@tigress.co.uk>
Wed, 19 Apr 2006 05:21:04 +0000 (22:21 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 19 Apr 2006 16:13:50 +0000 (09:13 -0700)
commit6203a513ad866ab459433565ad7183ab3d8554f2
tree1c319edf228bb9467a0b8b2bc2a069d0545f5c52
parent17b21e16b7156408df85cc24891965020dbddf3c
[PATCH] selinux: Fix MLS compatibility off-by-one bug

Fix an off-by-one error in the MLS compatibility code that was causing
contexts with a MLS suffix to be rejected, preventing sharing partitions
between FC4 and FC5.  Bug reported in

   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188068

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/ss/mls.c