[PATCH review 0/6] miscelaneous user namespace patches

From: Eric W. Biederman
Date: Fri Jan 25 2013 - 21:15:41 EST



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/