mirror of
https://sourceware.org/git/glibc.git
synced 2025-06-07 22:42:06 +03:00
support_become_root: Fix comment style
This commit is contained in:
parent
ea69a5c874
commit
5f9d19490b
@ -1,5 +1,8 @@
|
|||||||
2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
|
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
|
* support/support_become_root.c (setup_uid_gid_mapping): Don't fail
|
||||||
when /proc/<pid>/setgroups does not exist.
|
when /proc/<pid>/setgroups does not exist.
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ setup_uid_gid_mapping (uid_t original_uid, gid_t original_gid)
|
|||||||
xclose (fd);
|
xclose (fd);
|
||||||
|
|
||||||
/* Linux 3.19 introduced the setgroups file. We need write "deny" to this
|
/* 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);
|
fd = open64 ("/proc/self/setgroups", O_WRONLY, 0);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user