This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Patch looks okay, please commit.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]