miscelaneous user namespace patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 32 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | userns: Avoid recursion in put_user_nsinclude/ kernel/ kernel/ | +15 | 4 replies | |
| 2/6 | userns: Allow any uid or gid mappings that don't overlap.kernel/ | +39 | 6 replies | |
| 3/6 | userns: Recommend use of memory control groups.Documentation/ init/ | +17 | 13 replies | |
| 4/6 | userns: Allow the userns root to mount of devptsfs/ | +18 | 1 reply | |
| 5/6 | userns: Allow the userns root to mount ramfs.fs/ | +1 | 5 replies | |
| 6/6 | userns: Allow the userns root to mount tmpfs.mm/ | +2 | 3 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Vasily Kulikov | Serge Hallyn | Gao feng | Someone |
|---|---|---|---|---|
| 1/6 | Pointed-out-by A-b | A-b A-b | ||
| 2/6 | A-b | A-b A-b | ||
| 3/6 | A-b | |||
| 4/6 | A-b | |||
| 5/6 | A-b A-b | |||
| 6/6 | A-b | A-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH review 0/6] miscelaneous user namespace patches
Now that I have done my worst to infect user space with some basic tools for using user namespaces, this is my first round of patches aimed at the 3.9 merge window.
This documents that if you care about limit resources you want to configure the memory control group when user namespaces are enabled.
This enables the user namespace root to mount devpts, ramfs and tmpfs. Functionality that is needed for practical uses of the user namespace.
This includes my patch to enable more flexibility into the input allowed in uid_map and gid_map.
Documentation/namespaces/resource-control.txt | 10 ++++ fs/devpts/inode.c | 18 +++++++ fs/ramfs/inode.c | 1 + include/linux/user_namespace.h | 10 ++-- init/Kconfig | 7 +++ kernel/user.c | 4 +- kernel/user_namespace.c | 62 +++++++++++++++++++------ mm/shmem.c | 2 + 8 files changed, 92 insertions(+), 22 deletions(-)
Eric W. Biederman (6):
userns: Avoid recursion in put_user_ns
userns: Allow any uid or gid mappings that don't overlap.
userns: Recommend use of memory control groups.
userns: Allow the userns root to mount of devpts
userns: Allow the userns root to mount ramfs.
userns: Allow the userns root to mount tmpfs.