|author||Eric W. Biederman <email@example.com>||2012-12-27 22:27:29 -0800|
|committer||Eric W. Biederman <firstname.lastname@example.org>||2013-01-26 22:12:04 -0800|
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 <email@example.com> Signed-off-by: "Eric W. Biederman" <firstname.lastname@example.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions