Re: [PATCH] security: remove security_sb_post_mountroot hook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- "H. Peter Anvin" <[email protected]> wrote:

> The security_sb_post_mountroot() hook is long-since obsolete, and is
> fundamentally broken: it is never invoked if someone uses initramfs.
> This is particularly damaging, because the existence of this hook has
> been used as motivation for not using initramfs.
> 
> Stephen Smalley confirmed on 2007-07-19 that this hook was originally
> used by SELinux but can now be safely removed:
> 
>      http://marc.info/?l=linux-kernel&m=118485683612916&w=2
> 
> Cc: Stephen Smalley <[email protected]>
> Cc: James Morris <[email protected]>
> Cc: Eric Paris <[email protected]>
> Cc: Chris Wright <[email protected]>
> Signed-off-by: H. Peter Anvin <[email protected]>

It is also the case that Smack does not use this hook.
It can be removed as far as I'm concerned.



Casey Schaufler
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux