diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/setresgid.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/setresgid.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/setresgid.c b/sysdeps/unix/sysv/linux/setresgid.c index 6cda359a2f..8b0e0e1541 100644 --- a/sysdeps/unix/sysv/linux/setresgid.c +++ b/sysdeps/unix/sysv/linux/setresgid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2016 Free Software Foundation, Inc. +/* Copyright (C) 1998-2018 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 @@ -23,7 +23,11 @@ int __setresgid (gid_t rgid, gid_t egid, gid_t sgid) { +#ifdef __NR_setresgid32 + return INLINE_SETXID_SYSCALL (setresgid32, 3, rgid, egid, sgid); +#else return INLINE_SETXID_SYSCALL (setresgid, 3, rgid, egid, sgid); +#endif } libc_hidden_def (__setresgid) #ifndef __setresgid |