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

Florian Weimer fweimer@redhat.com
Sat Nov 18 15:22:00 GMT 2017


On 11/18/2017 04:19 PM, Christian Brauner wrote:
> 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. :)

Please consider disabling this in .git/config for the glibc checkout.

Thanks,
Florian



More information about the Libc-alpha mailing list