diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-01-14 08:42:11 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-01-14 08:42:11 -0500 |
commit | 70181fddf1467996bea393d13294ffe76b8a0853 (patch) | |
tree | f4a17132667671c414ab16ff52f1fc6a74582e2f /nptl/sysdeps/pthread | |
parent | 794c3ad3a405697e2663b00f616e319383b9bb7d (diff) | |
download | glibc-70181fddf1467996bea393d13294ffe76b8a0853.tar.gz glibc-70181fddf1467996bea393d13294ffe76b8a0853.tar.xz glibc-70181fddf1467996bea393d13294ffe76b8a0853.zip |
Change setgroups to affect all the threads in the process.
Diffstat (limited to 'nptl/sysdeps/pthread')
-rw-r--r-- | nptl/sysdeps/pthread/setxid.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nptl/sysdeps/pthread/setxid.h b/nptl/sysdeps/pthread/setxid.h index aebdbd236a..043ffd25b7 100644 --- a/nptl/sysdeps/pthread/setxid.h +++ b/nptl/sysdeps/pthread/setxid.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2004, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2004, 2007, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,11 +20,11 @@ #include <sysdep.h> #define __SETXID_1(cmd, arg1) \ - cmd.id[0] = arg1 + cmd.id[0] = (long int) arg1 #define __SETXID_2(cmd, arg1, arg2) \ - __SETXID_1 (cmd, arg1); cmd.id[1] = arg2 + __SETXID_1 (cmd, arg1); cmd.id[1] = (long int) arg2 #define __SETXID_3(cmd, arg1, arg2, arg3) \ - __SETXID_2 (cmd, arg1, arg2); cmd.id[2] = arg3 + __SETXID_2 (cmd, arg1, arg2); cmd.id[2] = (long int) arg3 #ifdef SINGLE_THREAD # define INLINE_SETXID_SYSCALL(name, nr, args...) \ |