userns: Convert hugetlbfs to use kuid/kgid where appropriate
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 8 Feb 2012 00:19:25 +0000 (16:19 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 21 Sep 2012 10:13:05 +0000 (03:13 -0700)
commita0eb3a05a8cbe9cd1a41dde3d1b2e5bcc10634f2
tree61caa3f975dfd2fcf14646822bfb5784e113936e
parent91fa2ccaa87368314527ea7518c545063662d67f
userns: Convert hugetlbfs to use kuid/kgid where appropriate

Note sysctl_hugetlb_shm_group can only be written in the root user
in the initial user namespace, so we can assume sysctl_hugetlb_shm_group
is in the initial user namespace.

Cc: William Irwin <wli@holomorphy.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
fs/hugetlbfs/inode.c
init/Kconfig