[lkml]   [2014]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/7][RFC] pid: changes to support audit
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:

Richard Guy Briggs (7):
pid: change task_struct::pid to read-only
compiler: CONST_CAST makes writing const vars easier and obvious
pid: use the CONST_CAST macro instead to write to const
pid: modify task_tgid_nr to work without task->tgid.
pid: rewrite task helper function is_global_init() avoiding task->pid
pid: mark struct task const in helper functions
pid: get pid_t ppid of task in init_pid_ns

arch/x86/kernel/process.c | 2 +-
fs/exec.c | 2 +-
include/linux/compiler.h | 8 ++++++
include/linux/sched.h | 60 +++++++++++++++++++++++++++++---------------
kernel/fork.c | 5 ++-
kernel/pid.c | 4 +-
6 files changed, 54 insertions(+), 27 deletions(-)

 \ /
  Last update: 2014-01-24 02:01    [W:0.325 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site