RFC Multiple instances of the process id namespace
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest20 patches 57 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | pid: Intoduce the concept of a wid (wait id)include/ kernel/ kernel/ +2 more | +16 | 8 replies | |
| 2/20 | pspace: The parent process id of pid 1 is always 0.arch/ kernel/ | +5 | 0 replies | |
| 3/20 | pid: Introduce a generic helper to test for init.arch/ arch/ arch/ +19 more | +39 | 4 replies | |
| 4/20 | pspace: Allow multiple instaces of the process id namespacefs/ include/ include/ +10 more | +450 | 31 replies | |
| 5/20 | sched: Fixup the scheduler syscalls to deal with pspaces.kernel/ kernel/ | +9 | 0 replies | |
| 6/20 | cad_pid: Fixup the cad_pid users to assume it is in the initial process id namespace.drivers/ kernel/ | +3 | 0 replies | |
| 7/20 | tty: Update the tty layer to work with pspaces.drivers/ drivers/ include/ | +44 | 0 replies | |
| 8/20 | vt: Update the virtual console to handle pspaces.drivers/ drivers/ drivers/ | +10 | 0 replies | |
| 9/20 | ptrace: Update ptrace handle pspaces.kernel/ | +1 | 0 replies | |
| 10/20 | capabilities: Update the capabilities code to handle pspaces.kernel/ | +34 | 0 replies | |
| 11/20 | ioprio: Update ioprio to handle pspaces.fs/ | +7 | 0 replies | |
| 12/20 | fcntl: Update fcntl to work with pspaces.fs/ include/ | +17 | 0 replies | |
| 13/20 | kthread: Update kthread to work with pspaces.kernel/ | +2 | 0 replies | |
| 14/20 | mm: Update vmscan to work with pspaces.mm/ | +2 | 0 replies | |
| 15/20 | posix-timers: Update posix timers to work with pspaces.kernel/ kernel/ | +8 | 0 replies | |
| 16/20 | nfs: Don't use pids to track the lockd server process.fs/ | +14 | 0 replies | |
| 17/20 | usb: Fixup usb so it works with pspaces.drivers/ drivers/ drivers/ | +14 | 2 replies | |
| 18/20 | posix-mqueue: Make mqueues work with pspspacesipc/ | +18 | 0 replies | |
| 19/20 | pspace: Upcate the pid_max sysctl to work in a per pspace fashionkernel/ | +75 | 0 replies | |
| 20/20 | proc: Update /proc to support multiple pid spaces.fs/ fs/ fs/ +19 more | +1156 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 0/20] Multiple instances of the process id namespace
There have been several discussions in the past month about how to do a good job of implementing a subset of user space that looks like it has the system to itself. Essentially making chroot everything it could be. This is my take on what the implementation of a pid namespace should look like.
What follows is a real patch set that is sufficiently complete to be used and useful in it's own right. There are a few areas of the kernel where the patchset does not reach, mostly these cause the compile to fail. In addition a good thorough review still needs to be done. This patchset does paint a picture of how I think things should look.
Quoted 1 line
From the kernel community at large I am asking:
Does the code look generally sane?
Does the use of clone to create a new namespace instance look like the sane approach?
Hopefully this code is sufficiently comprehensible to allow a good discussion to come out of this.
Thanks for your time,
Eric
p.s. My apologies at the size of the CC list. It is very hard to tell who the interested parties are, and since there is no one list we all subscribe to other than linux-kernel how to reach everyone in a timely manner. I am copying everyone who has chimed in on a previous thread on the subject. If you don't want to be copied in the future tell and I will take your name off of my list.