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