2 * Acess2 POSIX Emulation Layer
13 char *group_wheel_members[] = {"root", NULL};
14 struct group group_wheel = {
18 .gr_mem = group_wheel_members
22 int initgroups(const char *user, gid_t group)
24 if( strcmp(user, "root") != 0 ) {
31 struct group *getgrnam(const char *name)
33 if( strcmp(name, group_wheel.gr_name) == 0 )
40 struct group *getgrgid(gid_t gid)
47 //extern int getgrnam_r(const char *name, struct group *grp, char *buf, size_t buflen, struct group **result);
48 //extern int getgrgid_r(gid_t gid, struct group *grp, char *buf, size_t buflen, struct group **result);