From: Mimi Zohar <zohar@linux.vnet.ibm.com>
To: John Johansen <john.johansen@canonical.com>,
"Eric W. Biederman" <ebiederm@xmission.com>,
Stefan Berger <stefanb@linux.vnet.ibm.com>
Cc: linux-integrity@vger.kernel.org,
containers@lists.linux-foundation.org,
linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org, tycho@docker.com,
serge@hallyn.com, sunyuqiong1988@gmail.com, david.safford@ge.com,
mkayaalp@cs.binghamton.edu,
James.Bottomley@HansenPartnership.com,
Yuqiong Sun <suny@us.ibm.com>,
Mehmet Kayaalp <mkayaalp@linux.vnet.ibm.com>
Subject: Re: [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace support
Date: Wed, 18 Apr 2018 15:57:52 -0400 [thread overview]
Message-ID: <1524081472.3272.319.camel@linux.vnet.ibm.com> (raw)
In-Reply-To: <d8c30d7d-c679-9323-7a25-d3148e9b96c6@canonical.com>
On Wed, 2018-04-18 at 09:09 -0700, John Johansen wrote:
> On 04/13/2018 09:25 AM, Mimi Zohar wrote:
> > [Cc'ing John Johansen]
> >
> > On Tue, 2018-03-27 at 18:01 -0500, Eric W. Biederman wrote:
> > [...]
> >> As such I expect the best way to create the ima namespace is by simply
> >> writing to securityfs/imafs. Possibly before the user namespace is
> >> even unshared. That would allow IMA to keep track of things from
> >> before a container is created.
> >
>
> I do think this is generally the right approach for LSMs when looking
> forward to LSM stacking and more LSMs.
>
>
> > My initial thought was to stage IMA namespacing with just IMA-audit
> > first, followed by either IMA-measurement or IMA-appraisal. This
> > would allow us to get the basic IMA namespacing framework working and
> > defer dealing with the securityfs related namespacing of the IMA
> > policy and measurement list issues to later.
> >
> > By tying IMA namespacing to a securityfs ima/unshare file, we would
> > need to address the securityfs issues first.
> >
>
> well it depends on what you want to do. It would be possible to have
> a simple file (not a jump link) within securityfs that IMA could use
> without having to deal with all the securityfs issues first. However it
> does require that securityfs (not necessarily imafs) be visible within
> the mount namespace of the task doing the setup.
Eric, would you be OK with that?
Mimi
next prev parent reply other threads:[~2018-04-18 19:58 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-27 13:57 [RFC PATCH v3 0/3] ima: namespacing IMA Stefan Berger
2018-03-27 13:57 ` [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace support Stefan Berger
2018-03-27 23:01 ` Eric W. Biederman
2018-03-28 11:10 ` Stefan Berger
2018-03-28 12:14 ` Dr. Greg Wettstein
2018-03-28 12:44 ` Stefan Berger
2018-04-18 15:59 ` John Johansen
2018-04-13 16:25 ` Mimi Zohar
2018-04-18 16:09 ` John Johansen
2018-04-18 19:57 ` Mimi Zohar [this message]
2018-04-18 20:12 ` Eric W. Biederman
2018-04-18 20:27 ` Mimi Zohar
2018-04-18 21:32 ` John Johansen
2018-04-19 11:03 ` Stefan Berger
2018-04-19 15:35 ` John Johansen
2018-04-26 21:18 ` Stefan Berger
2018-04-27 0:49 ` Eric W. Biederman
2018-03-27 13:57 ` [RFC PATCH v3 2/3] ima: Add ns_status for storing namespaced iint data Stefan Berger
2018-03-27 13:57 ` [RFC PATCH v3 3/3] ima: mamespace audit status flags Stefan Berger
-- strict thread matches above, loose matches on Subject: below --
2018-03-29 17:44 [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace support Dr. Greg Wettstein
2018-04-02 11:20 ` Stefan Berger
2018-04-03 15:04 ` Dr. Greg Wettstein
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=1524081472.3272.319.camel@linux.vnet.ibm.com \
--to=zohar@linux.vnet.ibm.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=containers@lists.linux-foundation.org \
--cc=david.safford@ge.com \
--cc=ebiederm@xmission.com \
--cc=john.johansen@canonical.com \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=mkayaalp@cs.binghamton.edu \
--cc=mkayaalp@linux.vnet.ibm.com \
--cc=serge@hallyn.com \
--cc=stefanb@linux.vnet.ibm.com \
--cc=suny@us.ibm.com \
--cc=sunyuqiong1988@gmail.com \
--cc=tycho@docker.com \
/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