1 2 3 4 5 6 7 8
#include <sys/fsuid.h> #include "syscall.h" #include "libc.h" int setfsuid(uid_t uid) { return syscall(SYS_setfsuid, uid); }