[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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 24 Apr 2006 16:56:04 +0000 (09:56 -0700)
commit00905d543081c11b3823577b951e22fdf3260477
tree8e2a391f10f3679f61b3652f862c1b02857e18b1
parent10b324edc90922f432d67216722efdd56482abe1
[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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
security/selinux/ss/mls.c