summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorJean-Baptiste Boric <jblbeurope@gmail.com>2021-12-12 10:53:07 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-12 21:48:50 +0100
commit23257cac5271ddc7b445eb8dc317afba3df6ce51 (patch)
tree83cb660f161a87b027a72d75c6f90bbfd0ebd6c0 /Kernel/API/Syscall.h
parentdc83fd5ee8822187b58879571a78d9613a6b4d10 (diff)
downloadserenity-23257cac5271ddc7b445eb8dc317afba3df6ce51.zip
Kernel: Remove sys$select() syscall
Now that the userland has a compatiblity wrapper for select(), the kernel doesn't need to implement this syscall natively. The poll() interface been around since 1987, any code still using select() should be slapped silly. Note: the SerenityOS source tree mostly uses select() and not poll() despite SerenityOS having support for poll() since early 2019...
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r--Kernel/API/Syscall.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index 8d6c97276e..5a6b793eee 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -150,7 +150,6 @@ enum class NeedsBigProcessLock {
S(rmdir, NeedsBigProcessLock::Yes) \
S(sched_getparam, NeedsBigProcessLock::Yes) \
S(sched_setparam, NeedsBigProcessLock::Yes) \
- S(select, NeedsBigProcessLock::Yes) \
S(sendfd, NeedsBigProcessLock::Yes) \
S(sendmsg, NeedsBigProcessLock::Yes) \
S(set_coredump_metadata, NeedsBigProcessLock::Yes) \
@@ -264,15 +263,6 @@ struct SC_open_params {
u16 mode;
};
-struct SC_select_params {
- int nfds;
- fd_set* readfds;
- fd_set* writefds;
- fd_set* exceptfds;
- const struct timespec* timeout;
- const u32* sigmask;
-};
-
struct SC_poll_params {
struct pollfd* fds;
unsigned nfds;