summaryrefslogtreecommitdiffstats
path: root/kernel/user_namespace.c
diff options
context:
space:
mode:
authorEric W. Biederman2012-09-03 04:12:51 +0200
committerEric W. Biederman2012-11-20 13:17:24 +0100
commit7fa294c8991ce0ed4e713f08209eb2ce3e1044ac (patch)
treed5f8e946374c75f4b620382b7141c6fdbdc19651 /kernel/user_namespace.c
parentuserns: Allow unprivileged users to create user namespaces. (diff)
downloadkernel-qcow2-linux-7fa294c8991ce0ed4e713f08209eb2ce3e1044ac.tar.gz
kernel-qcow2-linux-7fa294c8991ce0ed4e713f08209eb2ce3e1044ac.tar.xz
kernel-qcow2-linux-7fa294c8991ce0ed4e713f08209eb2ce3e1044ac.zip
userns: Allow chown and setgid preservation
- Allow chown if CAP_CHOWN is present in the current user namespace and the uid of the inode maps into the current user namespace, and the destination uid or gid maps into the current user namespace. - Allow perserving setgid when changing an inode if CAP_FSETID is present in the current user namespace and the owner of the file has a mapping into the current user namespace. Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions