Re: [PATCH BUGFIX -rc3] Smack: Don't register smackfs if we're notloaded

From: James Morris
Date: Tue Mar 04 2008 - 19:59:54 EST


On Tue, 4 Mar 2008, Linus Torvalds wrote:

>
>
> On Tue, 4 Mar 2008, Casey Schaufler wrote:
> >
> > One solution would be to tighten the smackfs code so that it
> > handles the uninitialized LSM case properly.
>
> I really would tend to prefer that.

Can you simply call init_smk_fs() from smack_init() prior to
register_security() ?


- James
--
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/