Re: [PATCH 1/2] namespaces: give each namespace a serial number

2014-05-02 Thread Serge Hallyn
Quoting Richard Guy Briggs (r...@redhat.com): > On 14/05/02, Serge E. Hallyn wrote: > > Quoting Richard Guy Briggs (r...@redhat.com): > > > > Most of this looks reasonable, but I'm curious about something, > > > > > +/** > > > + * ns_serial - compute a serial number for the namespace > > > + * >

Re: [PATCH 1/2] namespaces: give each namespace a serial number

2014-05-02 Thread Richard Guy Briggs
On 14/05/02, Serge E. Hallyn wrote: > Quoting Richard Guy Briggs (r...@redhat.com): > > Most of this looks reasonable, but I'm curious about something, > > > +/** > > + * ns_serial - compute a serial number for the namespace > > + * > > + * Compute a serial number for the namespace to uniquely

Re: [PATCH 1/2] namespaces: give each namespace a serial number

2014-05-02 Thread Richard Guy Briggs
On 14/05/02, Serge E. Hallyn wrote: Quoting Richard Guy Briggs (r...@redhat.com): Most of this looks reasonable, but I'm curious about something, +/** + * ns_serial - compute a serial number for the namespace + * + * Compute a serial number for the namespace to uniquely identify it

Re: [PATCH 1/2] namespaces: give each namespace a serial number

2014-05-02 Thread Serge Hallyn
Quoting Richard Guy Briggs (r...@redhat.com): On 14/05/02, Serge E. Hallyn wrote: Quoting Richard Guy Briggs (r...@redhat.com): Most of this looks reasonable, but I'm curious about something, +/** + * ns_serial - compute a serial number for the namespace + * + * Compute a

Re: [PATCH 1/2] namespaces: give each namespace a serial number

2014-05-01 Thread Serge E. Hallyn
Quoting Richard Guy Briggs (r...@redhat.com): Most of this looks reasonable, but I'm curious about something, > +/** > + * ns_serial - compute a serial number for the namespace > + * > + * Compute a serial number for the namespace to uniquely identify it in > + * audit records. > + */ >

Re: [PATCH 1/2] namespaces: give each namespace a serial number

2014-05-01 Thread Serge E. Hallyn
Quoting Richard Guy Briggs (r...@redhat.com): Most of this looks reasonable, but I'm curious about something, +/** + * ns_serial - compute a serial number for the namespace + * + * Compute a serial number for the namespace to uniquely identify it in + * audit records. + */ +unsigned int

[PATCH 1/2] namespaces: give each namespace a serial number

2014-04-22 Thread Richard Guy Briggs
Assign a serial number per namespace since boot. Signed-off-by: Richard Guy Briggs --- fs/mount.h |1 + fs/namespace.c |1 + include/linux/ipc_namespace.h |1 + include/linux/nsproxy.h|8 include/linux/pid_namespace.h |1

[PATCH 1/2] namespaces: give each namespace a serial number

2014-04-22 Thread Richard Guy Briggs
Assign a serial number per namespace since boot. Signed-off-by: Richard Guy Briggs r...@redhat.com --- fs/mount.h |1 + fs/namespace.c |1 + include/linux/ipc_namespace.h |1 + include/linux/nsproxy.h|8