[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <548866.30741.qm@web36607.mail.mud.yahoo.com>
Date: Sun, 2 Mar 2008 10:37:22 -0800 (PST)
From: Casey Schaufler <casey@...aufler-ca.com>
To: "Ahmed S. Darwish" <darwish.07@...il.com>,
Casey Schaufler <casey@...aufler-ca.com>
Cc: Adrian Bunk <bunk@...nel.org>, Chris Wright <chrisw@...s-sol.org>,
Stephen Smalley <sds@...ho.nsa.gov>,
James Morris <jmorris@...ei.org>,
Eric Paris <eparis@...isplace.org>,
Alexey Dobriyan <adobriyan@...ru>,
LKML <linux-kernel@...r.kernel.org>,
LSM-ML <linux-security-module@...r.kernel.org>,
Anrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH -v3 -mm] LSM: Add security= boot parameter
--- "Ahmed S. Darwish" <darwish.07@...il.com> wrote:
> Hi!,
>
> [
> Fixed two bugs:
> - concurrency: incrementing and testing atomic_t in different places.
> - overflow: not ending string with NULL after using strncpy().
> - I'll never write a patch when I'm asleep, sorry :(
>
> Added more verbose messages to SMACK and SELinux if they were not
> chosen on boot.
>
> Casey: Failing to take permission to register an LSM does not mean that
> the other has registered its security_ops yet. It just means that
> the other asked for allowance to call register_security(). It's
> not yet guraranteed that this registration succeeded.
>
> This means that adding "SELinux: failed to load, LSM %s is loaded"
> may lead to %s = "dummy" in case of a highly concurrent SMP system.
> ]
Personally, I'd be OK with seeing "dummy" on my Altix on occasion. :-)
Perhaps "SELinux: Not registered, %s is reported" would address the
concern. It would be really good to see the value in the 99 44/100%
of the cases where it is available, even if it means admitting that
there are limited circumstances where you might know that someone
got there ahead of you, but not who it was. I don't think it's
worth going to heroic efforts to make sure it's available.
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