[PATCH 4/5] audit: anchor all pid references in the initial pid namespace

2014-02-19 Thread Richard Guy Briggs
Store and log all PIDs with reference to the initial PID namespace and use the access functions task_pid_nr() and task_tgid_nr() for task->pid and task->tgid. Cc: "Eric W. Biederman" (informed by ebiederman's c776b5d2) Signed-off-by: Richard Guy Briggs --- drivers/tty/tty_audit.c |

Re: [PATCH 4/5] audit: anchor all pid references in the initial pid namespace

2014-02-19 Thread Richard Guy Briggs
On 13/12/30, Oleg Nesterov wrote: > On 12/23, Richard Guy Briggs wrote: > > > > Store and log all PIDs with reference to the initial PID namespace and > > use the access functions task_pid_nr() and task_tgid_nr() for task->pid > > and task->tgid rather than access them directly. > > At first glanc

Re: [PATCH 4/5] audit: anchor all pid references in the initial pid namespace

2013-12-30 Thread Oleg Nesterov
On 12/23, Richard Guy Briggs wrote: > > Store and log all PIDs with reference to the initial PID namespace and > use the access functions task_pid_nr() and task_tgid_nr() for task->pid > and task->tgid rather than access them directly. At first glance this patch looks like a good cleanup, but...

[PATCH 4/5] audit: anchor all pid references in the initial pid namespace

2013-12-23 Thread Richard Guy Briggs
Store and log all PIDs with reference to the initial PID namespace and use the access functions task_pid_nr() and task_tgid_nr() for task->pid and task->tgid rather than access them directly. Cc: "Eric W. Biederman" (informed by ebiederman's c776b5d2) Signed-off-by: Richard Guy Briggs --- drive