1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

LibCore: Add syscall wrapper for setgroups()

This commit is contained in:
Andreas Kling 2021-12-16 19:31:50 +01:00
parent 92e6532bf1
commit ad37ca4815
2 changed files with 8 additions and 0 deletions

View file

@ -26,6 +26,7 @@ ErrorOr<Array<int, 2>> pipe2(int flags);
ErrorOr<void> sendfd(int sockfd, int fd);
ErrorOr<int> recvfd(int sockfd, int options);
ErrorOr<void> ptrace_peekbuf(pid_t tid, void const* tracee_addr, Bytes destination_buf);
ErrorOr<void> setgroups(Span<gid_t const>);
#endif
ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigaction* old_action);