From: Christian Brauner Date: Sat, 18 Nov 2017 16:54:24 +0000 (+0100) Subject: support_become_root: Fix comment style X-Git-Tag: glibc-2.27~467 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=5f9d19490b24a28e1445a8ed30cdcc727be6432c;p=glibc.git support_become_root: Fix comment style --- diff --git a/ChangeLog b/ChangeLog index 5e3d174a5e..60713164da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2017-11-18 Christian Brauner + * support/support_become_root.c (setup_uid_gid_mapping): Fix comment + style. + * support/support_become_root.c (setup_uid_gid_mapping): Don't fail when /proc//setgroups does not exist. diff --git a/support/support_become_root.c b/support/support_become_root.c index e45c939421..933138f99f 100644 --- a/support/support_become_root.c +++ b/support/support_become_root.c @@ -52,7 +52,7 @@ setup_uid_gid_mapping (uid_t original_uid, gid_t original_gid) xclose (fd); /* Linux 3.19 introduced the setgroups file. We need write "deny" to this - * file otherwise writing to gid_map will fail with EPERM. */ + file otherwise writing to gid_map will fail with EPERM. */ fd = open64 ("/proc/self/setgroups", O_WRONLY, 0); if (fd < 0) {