Skip to content

pid namespaces fixes

Eric W. Biederman containers lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pidns: Outlaw thread creation after unshare(CLONE_NEWPID)kernel/fork.c+8 -02 replies
2/3pidns: Stop pid allocation when init diesinclude/linux/pid.h include/linux/pid_namespace.h kernel/pid.c +1 more+18 -42 replies
2/3pidns: Stop pid allocation when init diesinclude/linux/pid.h include/linux/pid_namespace.h kernel/pid.c +1 more+20 -41 reply
3/3proc: Allow proc_free_inum to be called from any contextfs/proc/generic.c+7 -60 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchOleg Nesterov
1/3Pointed-out-by
2/3Pointed-out-by Pointed-out-by R-b
2/3Pointed-out-by Pointed-out-by R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH review 0/3] pid namespaces fixes

Oleg assuming I am not blind these patches should fix the issues you spotted in the pid namespace as well as one additional one that I found during testing.

Anyone with an extra set of eyeballs that wants to look over this code and double check to make certain I am not doing something stupid would be welcome.

These patches are against 3.8-rc1 and I hope to get the into linux-next and on to Linus shortly.

Eric W. Biederman (3):
pidns: Outlaw thread creation after unshare(CLONE_NEWPID)
pidns: Stop pid allocation when init dies
proc: Allow proc_free_inum to be called from any context

 fs/proc/generic.c             |   13 +++++++------
 include/linux/pid.h           |    1 +
 include/linux/pid_namespace.h |    4 +++-
 kernel/fork.c                 |    8 ++++++++
 kernel/pid.c                  |   13 ++++++++++---
 kernel/pid_namespace.c        |    4 ++++
 6 files changed, 33 insertions(+), 10 deletions(-)