Re: [PATCH review 2/6] userns: Allow any uid or gid mappings thatdon't overlap.

From: Aristeu Rozanski
Date: Mon Jan 28 2013 - 10:12:40 EST


On Mon, Jan 28, 2013 at 06:41:39PM +0400, Lord Glauber Costa of Sealand wrote:
> Hello Mr. Someone.
>
> On 01/28/2013 06:28 PM, Aristeu Rozanski wrote:
> > On Fri, Jan 25, 2013 at 06:21:00PM -0800, Eric W. Biederman wrote:
> >> 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: Someone <aris@xxxxxxxxxx>
> >
>
> Documentation/SubmittingPatches:
>
> "then you just add a line saying
>
> Signed-off-by: Random J Developer <random@xxxxxxxxxxxxxxxxxxxxx>
>
> using your real name (sorry, no pseudonyms or anonymous contributions.)"
>
> I know how it feels, but that is how it goes. You'll have to change that.

oh well, another trip to the social security office and DMV.

--
Aristeu

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/