mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
Kernel+LibC: Support passing O_CLOEXEC to pipe()
In the userspace, this mimics the Linux pipe2() syscall; in the kernel, the Process::sys$pipe() now always accepts a flags argument, the no-argument pipe() syscall is now a userspace wrapper over pipe2().
This commit is contained in:
parent
55d7810fab
commit
9c3b1ca0c6
5 changed files with 17 additions and 6 deletions
|
@ -168,7 +168,7 @@ public:
|
|||
int sys$sigpending(sigset_t*);
|
||||
int sys$getgroups(ssize_t, gid_t*);
|
||||
int sys$setgroups(ssize_t, const gid_t*);
|
||||
int sys$pipe(int* pipefd);
|
||||
int sys$pipe(int pipefd[2], int flags);
|
||||
int sys$killpg(int pgrp, int sig);
|
||||
int sys$setgid(gid_t);
|
||||
int sys$setuid(uid_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue