[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <139407.71031.qm@web36615.mail.mud.yahoo.com>
Date: Sat, 29 Dec 2007 16:29:29 -0800 (PST)
From: Casey Schaufler <casey@...aufler-ca.com>
To: "H. Peter Anvin" <hpa@...or.com>,
Chris Wright <chrisw@...s-sol.org>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Stephen Smalley <sds@...ho.nsa.gov>,
James Morris <jmorris@...ei.org>,
Eric Paris <eparis@...isplace.org>,
"H. Peter Anvin" <hpa@...or.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Security Modules List
<linux-security-module@...r.kernel.org>
Subject: Re: [PATCH] security: remove security_sb_post_mountroot hook
--- "H. Peter Anvin" <hpa@...or.com> 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 <sds@...ho.nsa.gov>
> Cc: James Morris <jmorris@...ei.org>
> Cc: Eric Paris <eparis@...isplace.org>
> Cc: Chris Wright <chrisw@...s-sol.org>
> Signed-off-by: H. Peter Anvin <hpa@...or.com>
It is also the case that Smack does not use this hook.
It can be removed as far as I'm concerned.
Casey Schaufler
casey@...aufler-ca.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists