summaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorEric W. Biederman2012-12-28 07:27:29 +0100
committerEric W. Biederman2013-01-27 07:12:04 +0100
commit0bd14b4fd72afd5df41e9fd59f356740f22fceba (patch)
treebf1bc8dfa507ca40970927efb2dd87b4f5bdd416 /init/Kconfig
parentuserns: Avoid recursion in put_user_ns (diff)
downloadkernel-qcow2-linux-0bd14b4fd72afd5df41e9fd59f356740f22fceba.tar.gz
kernel-qcow2-linux-0bd14b4fd72afd5df41e9fd59f356740f22fceba.tar.xz
kernel-qcow2-linux-0bd14b4fd72afd5df41e9fd59f356740f22fceba.zip
userns: Allow any uid or gid mappings that don't overlap.
When I initially wrote the code for /proc/<pid>/uid_map. I was lazy and avoided duplicate mappings by the simple expedient of ensuring the first number in a new extent was greater than any number in the previous extent. Unfortunately that precludes a number of valid mappings, and someone noticed and complained. So use a simple check to ensure that ranges in the mapping extents don't overlap. Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'init/Kconfig')
0 files changed, 0 insertions, 0 deletions