summaryrefslogtreecommitdiff
path: root/Kernel/Process.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/Process.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/Process.h')
-rw-r--r--Kernel/Process.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 43d4b0e478..0dbfb175c8 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -315,7 +315,6 @@ public:
ErrorOr<FlatPtr> sys$msyscall(Userspace<void*>);
ErrorOr<FlatPtr> sys$msync(Userspace<void*>, size_t, int flags);
ErrorOr<FlatPtr> sys$purge(int mode);
- ErrorOr<FlatPtr> sys$select(Userspace<const Syscall::SC_select_params*>);
ErrorOr<FlatPtr> sys$poll(Userspace<const Syscall::SC_poll_params*>);
ErrorOr<FlatPtr> sys$get_dir_entries(int fd, Userspace<void*>, size_t);
ErrorOr<FlatPtr> sys$getcwd(Userspace<char*>, size_t);