[PATCH v2] support_become_root: Don't fail when /proc/<pid/setgroups is missing

Christian Brauner christian.brauner@canonical.com
Sat Nov 18 15:19:00 GMT 2017


On Sat, Nov 18, 2017 at 04:15:41PM +0100, Florian Weimer wrote:
> On 11/18/2017 04:13 PM, Christian Brauner wrote:
> > The requirement to write "deny" to/proc/<pid>/setgroups for a given user
> > namespace before being able to write a gid mapping was introduced in Linux
> > 3.19.  Before that this requirement including the file did not exist.
> > So don't fail when errno == ENOENT.
> > 
> > Signed-off-by: Christian Brauner<christian.brauner@ubuntu.com>
> 
> glibc uses an FSF copyright assignment and not the DCO, so this line is
> misleading.

Right, I'm removing it. It gets auto-added due to my .gitconfig. :)

Thanks!
Christian



More information about the Libc-alpha mailing list