Re: [PATCH] userns: improve uid/gid map collision detection

2013-01-23 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > Initial implementation of the uid/gid maps will enforce that the > maps should be in order and would prevent a use case like this from > being used: > 0 10001 > 48 500 1 > > since the second entry both values should be bi

[PATCH] userns: improve uid/gid map collision detection

2013-01-23 Thread Aristeu Rozanski
Initial implementation of the uid/gid maps will enforce that the maps should be in order and would prevent a use case like this from being used: 0 10001 48 500 1 since the second entry both values should be bigger than the previous. This patch implements a more e