blob: a724ea211be31d05a423a8332f40bd2e546203d6 [file] [log] [blame]
Theodore Ts'oaa4115a1999-10-21 19:33:18 +00001
2#pragma once
3
4typedef unsigned short __uid_t;
5__inline __uid_t getuid(void){return 0;}
6__inline int geteuid(void){return 1;}
7__inline struct passwd* getpwnam (char* g){return 0;}
8
9
10struct passwd
11{
Theodore Ts'oefc6f622008-08-27 23:07:54 -040012 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;
Theodore Ts'oaa4115a1999-10-21 19:33:18 +000019};
20
21#define getpwuid(i) NULL
22