summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-14 10:38:22 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-14 10:39:48 +0100
commit781d29a3372ec1f3de97ffc1860f83d4ad1b1f1b (patch)
tree840c5e3075b0587c3414d3e4cdc830a1640a3ed9 /Kernel/Process.h
parent09b1b09c1923c5e82c5500a06c501088ab5ac4ce (diff)
downloadserenity-781d29a3372ec1f3de97ffc1860f83d4ad1b1f1b.zip
Kernel+Userland: Give sys$recvfd() an options argument for O_CLOEXEC
@bugaevc pointed out that we shouldn't be setting this flag in userspace, and he's right of course.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 06339be322..2b75d4e5eb 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -347,7 +347,7 @@ public:
int sys$get_stack_bounds(FlatPtr* stack_base, size_t* stack_size);
int sys$ptrace(Userspace<const Syscall::SC_ptrace_params*>);
int sys$sendfd(int sockfd, int fd);
- int sys$recvfd(int sockfd);
+ int sys$recvfd(int sockfd, int options);
long sys$sysconf(int name);
int sys$disown(ProcessID);
void* sys$allocate_tls(size_t);