public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] support_become_root: Fix comment style
@ 2017-11-18 16:56 Christian Brauner
  2017-11-18 16:57 ` Florian Weimer
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Brauner @ 2017-11-18 16:56 UTC (permalink / raw)
  To: libc-alpha; +Cc: fweimer, schwab, Christian Brauner

---
 ChangeLog                     | 3 +++
 support/support_become_root.c | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 5e3d174a5e..60713164da 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 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)
     {
-- 
2.14.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] support_become_root: Fix comment style
  2017-11-18 16:56 [PATCH] support_become_root: Fix comment style Christian Brauner
@ 2017-11-18 16:57 ` Florian Weimer
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2017-11-18 16:57 UTC (permalink / raw)
  To: Christian Brauner, libc-alpha; +Cc: schwab

On 11/18/2017 05:56 PM, Christian Brauner wrote:
> diff --git a/ChangeLog b/ChangeLog
> index 5e3d174a5e..60713164da 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.

Ack, this qualifies as obvious.  Thanks.

Florian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-18 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-18 16:56 [PATCH] support_become_root: Fix comment style Christian Brauner
2017-11-18 16:57 ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).