1 2 #pragma once 3 4 #include_next <unistd.h> 5 getuid(void)6__inline __uid_t getuid(void){return 0;} geteuid(void)7__inline int geteuid(void){return 1;} 8 getgid(void)9__inline __gid_t getgid(void){return 0;} getegid(void)10__inline __gid_t getegid(void){return 0;} 11 12 // no-oped sync sync(void)13__inline void sync(void){}; 14