mirror of https://github.com/vitalif/e2fsprogs
23 lines
352 B
C
23 lines
352 B
C
|
|
#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
|
|
|