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