1 #define _GNU_SOURCE 2 #include <unistd.h> 3 #include "syscall.h" 4 #include "libc.h" 5 setresuid(uid_t ruid,uid_t euid,uid_t suid)6 int setresuid(uid_t ruid, uid_t euid, uid_t suid) 7 { 8 return __setxid(SYS_setresuid, ruid, euid, suid); 9 } 10