mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +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
Notes:
sideshowbarker
2024-07-19 12:52:24 +09:00
Author: https://github.com/bugaevc
Commit: 9c3b1ca0c6
Pull-request: https://github.com/SerenityOS/serenity/pull/409
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