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