diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/setuid.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/setuid.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/setuid.c b/sysdeps/unix/sysv/linux/setuid.c index 6308e1a..2d077527 100644 --- a/sysdeps/unix/sysv/linux/setuid.c +++ b/sysdeps/unix/sysv/linux/setuid.c @@ -22,7 +22,11 @@ int __setuid (uid_t uid) { +#ifdef __NR_setuid32 + return INLINE_SETXID_SYSCALL (setuid32, 1, uid); +#else return INLINE_SETXID_SYSCALL (setuid, 1, uid); +#endif } #ifndef __setuid weak_alias (__setuid, setuid) |