summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getgid.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-28 20:41:28 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-28 20:41:28 +0000
commit8006438996ba503957507974948c7673384b777c (patch)
treea1a2b6468f1d74f3ee8153dd002f976ad60c7e0c /libc/sysdeps/linux/common/getgid.c
parent0a24932ab1ffc0ba5fc20f1c7f47b2620b22d080 (diff)
implement support for the rest of the 32bit uid syscalls
Diffstat (limited to 'libc/sysdeps/linux/common/getgid.c')
-rw-r--r--libc/sysdeps/linux/common/getgid.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getgid.c b/libc/sysdeps/linux/common/getgid.c
index 3f48c33c8..f155b580e 100644
--- a/libc/sysdeps/linux/common/getgid.c
+++ b/libc/sysdeps/linux/common/getgid.c
@@ -11,8 +11,14 @@
#include <unistd.h>
#if defined __NR_getxgid
+# undef __NR_getgid
# define __NR_getgid __NR_getxgid
#endif
+#ifdef __NR_getgid32
+# undef __NR_getgid
+# define __NR_getgid __NR_getgid32
+#endif
+
libc_hidden_proto(getgid)
_syscall0(gid_t, getgid);
libc_hidden_def(getgid)