[PATCH 0/7][RFC] pid: changes to support audit

Peter Zijlstra peterz at infradead.org
Fri Jan 24 08:52:48 UTC 2014


On Fri, Jan 24, 2014 at 01:14:47AM -0500, Richard Guy Briggs wrote:
> On 14/01/23, Peter Zijlstra wrote:
> > On Thu, Jan 23, 2014 at 02:32:33PM -0500, Richard Guy Briggs wrote:
> > > These are a number of patches inspired by ebiederman's container work that were
> > > included by me 2013-08-20 as the patchset:
> > > 	RFC: steps to make audit pid namespace-safe
> > > 
> > > They have been seperated out for the pid maintainer since there are no direct
> > > dependencies from the audit pid namespace patchset with the exception of:
> > > 	pid: get pid_t ppid of task in init_pid_ns
> > > 
> > > Andrew, are you willing to adopt these?
> > > 
> > > In particular, there is discussion around read-only task_struct::pid here:
> > > 	https://lkml.org/lkml/2013/12/16/552
> > 
> > I would have ordered them slightly different, but:
> 
> Can you briefly explain how and why so I can understand for next time?
> I originally had the ppid patch first...

Ah, I would have introduced CONST_CAST() earlier, then used it in the
make pid const and then avoided the conversion patch.




More information about the Linux-audit mailing list