Re: [patch 1/1] selinux: fix sb_lock/sb_security_lock nesting (Was:Re: 2.6.17-rc5-mm1)

From: James Morris
Date: Wed May 31 2006 - 11:49:58 EST


On Wed, 31 May 2006, Stephen Smalley wrote:

> Yes, looks that way, although oddly I don't see this warning myself upon
> performing a umount (w/ 2.6.17-rc5-mm1-lockdep). Patch below should
> fix.
>
> ---
>
> 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@xxxxxxxxxxxxx>

Acked-by: James Morris <jmorris@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/