summaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-09-02 19:12:51 -0700
committerEric W. Biederman <ebiederm@xmission.com>2012-11-20 04:17:24 -0800
commit7fa294c8991ce0ed4e713f08209eb2ce3e1044ac (patch)
treed5f8e946374c75f4b620382b7141c6fdbdc19651 /drivers/sbus/char
parent5eaf563e53294d6696e651466697eb9d491f3946 (diff)
downloadop-kernel-dev-7fa294c8991ce0ed4e713f08209eb2ce3e1044ac.zip
op-kernel-dev-7fa294c8991ce0ed4e713f08209eb2ce3e1044ac.tar.gz
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 'drivers/sbus/char')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud