aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2017-11-18 17:54:24 +0100
committerChristian Brauner <christian.brauner@ubuntu.com>2017-11-18 17:54:24 +0100
commit5f9d19490b24a28e1445a8ed30cdcc727be6432c (patch)
treedd89bd7c4b27d9e55ead567ccc5fd868af9ac5c9
parentea69a5c87498ba94eb804ab628000ecfc50d6710 (diff)
downloadglibc-5f9d19490b24a28e1445a8ed30cdcc727be6432c.zip
glibc-5f9d19490b24a28e1445a8ed30cdcc727be6432c.tar.gz
glibc-5f9d19490b24a28e1445a8ed30cdcc727be6432c.tar.bz2
support_become_root: Fix comment style
-rw-r--r--ChangeLog3
-rw-r--r--support/support_become_root.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e3d174..6071316 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
+ * 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/<pid>/setgroups does not exist.
diff --git a/support/support_become_root.c b/support/support_become_root.c
index e45c939..933138f 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)
{