From: Christian Stroetmann <stroetmann@ontolab.com>
To: Kees Cook <kees.cook@canonical.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Cc: linux-security-module <linux-security-module@vger.kernel.org>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>
Subject: Re: [PATCH v4] security: Yama LSM
Date: Wed, 30 Jun 2010 10:44:18 +0200 [thread overview]
Message-ID: <4C2B03E2.6080200@ontolab.com> (raw)
In-Reply-To: <20100630004911.GI4837@outflux.net>
Good morning;
On 30.06.2010 02:49, Kees Cook wrote:
> Hi,
>
> On Wed, Jun 30, 2010 at 09:18:32AM +1000, James Morris wrote:
>> On Mon, 28 Jun 2010, Kees Cook wrote:
>>
>>> This adds the Yama Linux Security Module to collect several security
>>> features (symlink, hardlink, and PTRACE restrictions) that have existed
>>> in various forms over the years and have been carried outside the
>>> mainline
>>> kernel by other Linux distributions like Openwall and grsecurity.
>>>
>>> Signed-off-by: Kees Cook<kees.cook@canonical.com>
>> There were no further complaints, and we seem to have reached a workable
>> consensus on the topic.
>>
>> It's not clear yet whether existing LSMs will modify their base policies
>> to incorporate these protections, utilize the Yama code more
>> directly, or
>> implement some combination of both.
> I'm hoping we can implement really simple chaining -- nothing fancy.
> Trying to chain comprehensive LSMs seems like it will always fail, but
> putting little LSMs in front of big LSMs seems like an easy win.
No, I can't see why chaining of large LSMs will always fail and I don't
think that the problem is if an LSM is small or large.
Furthermore, you have taken three protective functions out of other
security packages that have good technical arguments why they are no
LSMs and ported them into a new LSM. So what comes next? The next step
is that you will put more and more functionalities, maybe again taken
from other packages, into your new LSM with the result that at the end
it will be a big LSM. And then?
While this is happening now you start to argue implicitly that the large
LSMs have to follow your way, which means they have to be splitted into
smaller LSMs. But the real problem is the LSM architecture must be in
such a form that no protections have to be transformed by you at all.
And I think the future LSM architecture shouldn't be designed this time
around another LSM, or in other words, around your LSM, but in a way
that eg. grsecurity fits directly into it.
>> If you're a user of an existing LSM and want these protections, bug the
>> developers for a solution :-)
>>
>> Applied to
>> git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next
>>
> Thanks!
>
> -Kees
Christian Stroetmann
prev parent reply other threads:[~2010-06-30 8:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-28 18:42 [PATCH v4] security: Yama LSM Kees Cook
2010-06-29 23:18 ` James Morris
2010-06-30 0:49 ` Kees Cook
2010-06-30 8:44 ` Christian Stroetmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C2B03E2.6080200@ontolab.com \
--to=stroetmann@ontolab.com \
--cc=kees.cook@canonical.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).