]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] selinux: fix sb_lock/sb_security_lock nesting
authorStephen Smalley <sds@tycho.nsa.gov>
Sun, 4 Jun 2006 09:51:30 +0000 (02:51 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 5 Jun 2006 19:29:16 +0000 (12:29 -0700)
commitba0c19ed6a61a96d4b42b81cb19d4bc81b5f728c
tree5e6d1774265140f1f4eddab043c90920414abe59
parent93ff66bf1ef29881dffd6fdc344555dab03cdb42
[PATCH] selinux: fix sb_lock/sb_security_lock nesting

From: Stephen Smalley <sds@tycho.nsa.gov>

Fix unsafe nesting of sb_lock inside sb_security_lock in
selinux_complete_init.  Detected by the kernel locking validator.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/hooks.c