1 2 #pragma once 3 4 typedef unsigned short __uid_t; getuid(void)5__inline __uid_t getuid(void){return 0;} geteuid(void)6__inline int geteuid(void){return 1;} getpwnam(char * g)7__inline struct passwd* getpwnam (char* g){return 0;} 8 9 10 struct passwd 11 { 12 char *pw_name; 13 char *pw_passwd; 14 __uid_t pw_uid; 15 __gid_t pw_gid; 16 char *pw_gecos; 17 char *pw_dir; 18 char *pw_shell; 19 }; 20 21 #define getpwuid(i) NULL 22 23