1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* * We cannot link a static binary with passwd/group support, so * just do without */ #include <stdlib.h> #include <pwd.h> #include <grp.h> struct passwd *getpwnam(const char *name) { return NULL; } struct group *getgrnam(const char *name) { return NULL; }