Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-19 Thread Paul Moore
On Tue, May 19, 2015 at 9:09 AM, Richard Guy Briggs wrote: > On 15/05/16, Paul Moore wrote: >> On Sat, May 16, 2015 at 10:46 AM, Eric W. Biederman wrote: >> > It sounds nice but containers are not just a per process construct. >> > Sometimes you might know anamespace but not which process instigat

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-19 Thread Richard Guy Briggs
On 15/05/16, Paul Moore wrote: > On Sat, May 16, 2015 at 10:46 AM, Eric W. Biederman > wrote: > > Paul Moore writes: > >> On Sat, May 16, 2015 at 5:46 AM, Daniel J Walsh wrote: > >>> On 05/15/2015 05:05 PM, Paul Moore wrote: > On Thursday, May 14, 2015 11:23:09 PM Andy Lutomirski wrote: > >

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-16 Thread Paul Moore
On Sat, May 16, 2015 at 10:46 AM, Eric W. Biederman wrote: > Paul Moore writes: >> On Sat, May 16, 2015 at 5:46 AM, Daniel J Walsh wrote: >>> On 05/15/2015 05:05 PM, Paul Moore wrote: On Thursday, May 14, 2015 11:23:09 PM Andy Lutomirski wrote: > On Thu, May 14, 2015 at 7:32 PM, Richard

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-16 Thread Eric W. Biederman
Paul Moore writes: > On Sat, May 16, 2015 at 5:46 AM, Daniel J Walsh wrote: >> On 05/15/2015 05:05 PM, Paul Moore wrote: >>> On Thursday, May 14, 2015 11:23:09 PM Andy Lutomirski wrote: On Thu, May 14, 2015 at 7:32 PM, Richard Guy Briggs wrote: > On 15/05/14, Paul Moore wrote: >>

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-16 Thread Paul Moore
On Sat, May 16, 2015 at 5:46 AM, Daniel J Walsh wrote: > On 05/15/2015 05:05 PM, Paul Moore wrote: >> On Thursday, May 14, 2015 11:23:09 PM Andy Lutomirski wrote: >>> On Thu, May 14, 2015 at 7:32 PM, Richard Guy Briggs wrote: On 15/05/14, Paul Moore wrote: > * Look at our existing audit

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-16 Thread Daniel J Walsh
On 05/15/2015 05:05 PM, Paul Moore wrote: > On Thursday, May 14, 2015 11:23:09 PM Andy Lutomirski wrote: >> On Thu, May 14, 2015 at 7:32 PM, Richard Guy Briggs wrote: >>> On 15/05/14, Paul Moore wrote: * Look at our existing audit records to determine which records should have nam

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-15 Thread Paul Moore
On Thursday, May 14, 2015 11:23:09 PM Andy Lutomirski wrote: > On Thu, May 14, 2015 at 7:32 PM, Richard Guy Briggs wrote: > > On 15/05/14, Paul Moore wrote: > >> * Look at our existing audit records to determine which records should > >> have > >> namespace and container ID tokens added. We may o

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-15 Thread Paul Moore
On Thursday, May 14, 2015 08:31:45 PM Eric W. Biederman wrote: > Paul Moore writes: > > As Eric, and others, have stated, the container concept is a userspace > > idea, not a kernel idea; the kernel only knows, and cares about, > > namespaces. This is unlikely to change. > > > > However, as Stev

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-15 Thread Paul Moore
On Thursday, May 14, 2015 09:10:56 PM Oren Laadan wrote: > [focusing on "containers id" - snipped the rest away] > > I am unfamiliar with the audit subsystem, but work with namespaces in other > contexts. Perhaps the term "container" is overloaded here. The definition > suggested by Steve in this

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-15 Thread Paul Moore
On Thursday, May 14, 2015 08:48:55 PM Richard Guy Briggs wrote: > On 15/05/14, Steve Grubb wrote: > > What they would want to know is what resources were assigned; if two > > containers shared a resource, what resource and container was it shared > > with; if two containers can communicate, we need

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-15 Thread Eric W. Biederman
Steve Grubb writes: > On Thursday, May 14, 2015 08:31:45 PM Eric W. Biederman wrote: >> Paul Moore writes: >> > As Eric, and others, have stated, the container concept is a userspace >> > idea, not a kernel idea; the kernel only knows, and cares about, >> > namespaces. This is unlikely to chang

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-15 Thread Daniel J Walsh
On 05/14/2015 10:11 PM, Richard Guy Briggs wrote: > On 15/05/14, Oren Laadan wrote: >> On Thu, May 14, 2015 at 8:48 PM, Richard Guy Briggs wrote: >> >> Recording each instance of a name space is giving me something that I >> cannot use to do queries required by the security target. Given

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-15 Thread Andy Lutomirski
On May 15, 2015 9:38 PM, "Steve Grubb" wrote: > > On Thursday, May 14, 2015 11:23:09 PM Andy Lutomirski wrote: > > On Thu, May 14, 2015 at 7:32 PM, Richard Guy Briggs wrote: > > > On 15/05/14, Paul Moore wrote: > > >> * Look at our existing audit records to determine which records should > > >> h

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-15 Thread Steve Grubb
On Thursday, May 14, 2015 08:31:45 PM Eric W. Biederman wrote: > Paul Moore writes: > > As Eric, and others, have stated, the container concept is a userspace > > idea, not a kernel idea; the kernel only knows, and cares about, > > namespaces. This is unlikely to change. > > > > However, as Stev

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-15 Thread Steve Grubb
On Thursday, May 14, 2015 11:23:09 PM Andy Lutomirski wrote: > On Thu, May 14, 2015 at 7:32 PM, Richard Guy Briggs wrote: > > On 15/05/14, Paul Moore wrote: > >> * Look at our existing audit records to determine which records should > >> have > >> namespace and container ID tokens added. We may o

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Andy Lutomirski
On Thu, May 14, 2015 at 7:32 PM, Richard Guy Briggs wrote: > On 15/05/14, Paul Moore wrote: >> * Look at our existing audit records to determine which records should have >> namespace and container ID tokens added. We may only want to add the >> additional fields in the case where the namespace/c

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Richard Guy Briggs
On 15/05/14, Paul Moore wrote: > On Thursday, May 14, 2015 10:57:14 AM Steve Grubb wrote: > > On Tuesday, May 12, 2015 03:57:59 PM Richard Guy Briggs wrote: > > > On 15/05/05, Steve Grubb wrote: > > > > I think there needs to be some more discussion around this. It seems > > > > like this is not ex

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Richard Guy Briggs
On 15/05/14, Eric W. Biederman wrote: > Paul Moore writes: > > As Eric, and others, have stated, the container concept is a userspace > > idea, > > not a kernel idea; the kernel only knows, and cares about, namespaces. > > This > > is unlikely to change. > > > > However, as Steve points out,

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Richard Guy Briggs
On 15/05/14, Oren Laadan wrote: > On Thu, May 14, 2015 at 8:48 PM, Richard Guy Briggs wrote: > > > > > > > > Recording each instance of a name space is giving me something that I > > > > > cannot use to do queries required by the security target. Given these > > > > > events, how do I locate a we

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Richard Guy Briggs
On 15/05/14, Eric W. Biederman wrote: > Steve Grubb writes: > > On Tuesday, May 12, 2015 03:57:59 PM Richard Guy Briggs wrote: > >> On 15/05/05, Steve Grubb wrote: > >> > I think there needs to be some more discussion around this. It seems like > >> > this is not exactly recording things that are

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Eric W. Biederman
Paul Moore writes: > As Eric, and others, have stated, the container concept is a userspace idea, > not a kernel idea; the kernel only knows, and cares about, namespaces. This > is unlikely to change. > > However, as Steve points out, there is precedence for the kernel to record > userspace to

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Richard Guy Briggs
On 15/05/14, Steve Grubb wrote: > On Tuesday, May 12, 2015 03:57:59 PM Richard Guy Briggs wrote: > > On 15/05/05, Steve Grubb wrote: > > > I think there needs to be some more discussion around this. It seems like > > > this is not exactly recording things that are useful for audit. > > > > It seem

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Paul Moore
On Thursday, May 14, 2015 10:57:14 AM Steve Grubb wrote: > On Tuesday, May 12, 2015 03:57:59 PM Richard Guy Briggs wrote: > > On 15/05/05, Steve Grubb wrote: > > > I think there needs to be some more discussion around this. It seems > > > like this is not exactly recording things that are useful fo

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Steve Grubb
On Thursday, May 14, 2015 10:42:38 AM Eric W. Biederman wrote: > Steve Grubb writes: > > On Tuesday, May 12, 2015 03:57:59 PM Richard Guy Briggs wrote: > >> On 15/05/05, Steve Grubb wrote: > >> > I think there needs to be some more discussion around this. It seems > >> > like > >> > this is not ex

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Eric W. Biederman
Steve Grubb writes: > On Tuesday, May 12, 2015 03:57:59 PM Richard Guy Briggs wrote: >> On 15/05/05, Steve Grubb wrote: >> > I think there needs to be some more discussion around this. It seems like >> > this is not exactly recording things that are useful for audit. >> >> It seems to me that ei

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-14 Thread Steve Grubb
On Tuesday, May 12, 2015 03:57:59 PM Richard Guy Briggs wrote: > On 15/05/05, Steve Grubb wrote: > > I think there needs to be some more discussion around this. It seems like > > this is not exactly recording things that are useful for audit. > > It seems to me that either audit has to assemble th

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-12 Thread Richard Guy Briggs
On 15/05/05, Steve Grubb wrote: > Hello, > > I think there needs to be some more discussion around this. It seems like > this > is not exactly recording things that are useful for audit. It seems to me that either audit has to assemble that information, or the kernel has to do so. The kernel d

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-05 Thread Steve Grubb
Hello, I think there needs to be some more discussion around this. It seems like this is not exactly recording things that are useful for audit. On Friday, April 17, 2015 03:35:52 AM Richard Guy Briggs wrote: > Log the creation and deletion of namespace instances in all 6 types of > namespaces.

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-05 Thread Aristeu Rozanski
Hi Steve, On Tue, May 05, 2015 at 10:22:32AM -0400, Steve Grubb wrote: > The requirements for auditing of containers should be derived from VPP. In > it, > it asks for selectable auditing, selective audit, and selective audit review. > What this means is that we need the container and all its ch

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-05 Thread Steve Grubb
On Tuesday, May 05, 2015 10:31:20 AM Aristeu Rozanski wrote: > Hi Steve, > > On Tue, May 05, 2015 at 10:22:32AM -0400, Steve Grubb wrote: > > The requirements for auditing of containers should be derived from VPP. In > > it, it asks for selectable auditing, selective audit, and selective audit > >

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-05 Thread Eric W. Biederman
Steve Grubb writes: > The requirements for auditing of containers should be derived from VPP. In > it, > it asks for selectable auditing, selective audit, and selective audit review. > What this means is that we need the container and all its children to have > one > identifier that is inser

Re: [PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-05-05 Thread Steve Grubb
On Tuesday, May 05, 2015 09:56:03 AM Eric W. Biederman wrote: > Steve Grubb writes: > > The requirements for auditing of containers should be derived from VPP. In > > it, it asks for selectable auditing, selective audit, and selective audit > > review. What this means is that we need the container

[PATCH V6 05/10] audit: log creation and deletion of namespace instances

2015-04-17 Thread Richard Guy Briggs
Log the creation and deletion of namespace instances in all 6 types of namespaces. Twelve new audit message types have been introduced: AUDIT_NS_INIT_MNT 1330/* Record mount namespace instance creation */ AUDIT_NS_INIT_UTS 1331/* Record UTS namespace instance creation */ AUDIT_