[lkml]   [2007]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] security: remove security_sb_post_mountroot hook

--- "H. Peter Anvin" <> 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:
> Cc: Stephen Smalley <>
> Cc: James Morris <>
> Cc: Eric Paris <>
> Cc: Chris Wright <>
> Signed-off-by: H. Peter Anvin <>

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

Casey Schaufler

 \ /
  Last update: 2007-12-30 01:31    [W:0.042 / U:0.512 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site