Kernel/LibC: Implement {get,set,init}groups
This allows dropping /etc/group parsing from the kernel :D
This commit is contained in:
@@ -673,8 +673,7 @@ error:
|
||||
|
||||
int getgroups(int gidsetsize, gid_t grouplist[])
|
||||
{
|
||||
dwarnln("FIXME: getgroups({}, {})", gidsetsize, grouplist);
|
||||
return 0;
|
||||
return syscall(SYS_GETGROUPS, grouplist, gidsetsize);
|
||||
}
|
||||
|
||||
pid_t getppid(void)
|
||||
|
||||
Reference in New Issue
Block a user