mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:07:35 +00:00
Kernel+LibC: Implement setregid(2)
This copies and adapts the setresgid syscall, following in the footsteps of setreuid and setresuid.
This commit is contained in:
parent
2a502fe232
commit
70337f3a4b
5 changed files with 43 additions and 0 deletions
|
@ -71,6 +71,7 @@ int setuid(uid_t);
|
|||
int setgid(gid_t);
|
||||
int setreuid(uid_t, uid_t);
|
||||
int setresuid(uid_t, uid_t, uid_t);
|
||||
int setregid(gid_t, gid_t);
|
||||
int setresgid(gid_t, gid_t, gid_t);
|
||||
pid_t tcgetpgrp(int fd);
|
||||
int tcsetpgrp(int fd, pid_t pgid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue