1 #include <unistd.h> 2 #include "syscall.h" 3 #include "libc.h" 4 setreuid(uid_t ruid,uid_t euid)5 int setreuid(uid_t ruid, uid_t euid) 6 { 7 return __setxid(SYS_setreuid, ruid, euid, 0); 8 } 9