lkml.org 
[lkml]   [2013]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[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.


\
 
 \ /
  Last update: 2013-01-26 04:01    [W:0.189 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site