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

James Morris
2006-05-31T15:49:49Z

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@tycho.nsa.gov>

Acked-by: James Morris <jmorris@namei.org>