setuid.c 142 B

12345678
  1. #include <syscall.h>
  2. #include <sys/types.h>
  3. DEFN_SYSCALL1(setuid, 24, unsigned int);
  4. int setuid(uid_t uid) {
  5. return syscall_setuid(uid);
  6. }