summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-02-15 21:41:41 +0200
committerAndreas Kling <kling@serenityos.org>2022-03-22 20:26:05 +0100
commitb5ef900ccde41dd8bf922eeae8ebdcc964539f46 (patch)
treef718c887141041e7e565197b50c569f69ac4955c /Kernel/API/Syscall.h
parentde7566c2c49ca30785e90194f91bc81f907a5f70 (diff)
downloadserenity-b5ef900ccde41dd8bf922eeae8ebdcc964539f46.zip
Kernel: Don't assume paths of TTYs and pseudo terminals anymore
The obsolete ttyname and ptsname syscalls are removed. LibC doesn't rely on these anymore, and it helps simplifying the Kernel in many places, so it's an overall an improvement. In addition to that, /proc/PID/tty node is removed too as it is not needed anymore by userspace to get the attached TTY of a process, as /dev/tty (which is already a character device) represents that as well.
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r--Kernel/API/Syscall.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index ab809805a4..921eb4ee8a 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -134,7 +134,6 @@ enum class NeedsBigProcessLock {
S(profiling_enable, NeedsBigProcessLock::Yes) \
S(profiling_free_buffer, NeedsBigProcessLock::Yes) \
S(ptrace, NeedsBigProcessLock::Yes) \
- S(ptsname, NeedsBigProcessLock::Yes) \
S(purge, NeedsBigProcessLock::Yes) \
S(read, NeedsBigProcessLock::Yes) \
S(pread, NeedsBigProcessLock::Yes) \
@@ -181,7 +180,6 @@ enum class NeedsBigProcessLock {
S(sync, NeedsBigProcessLock::No) \
S(sysconf, NeedsBigProcessLock::No) \
S(times, NeedsBigProcessLock::Yes) \
- S(ttyname, NeedsBigProcessLock::Yes) \
S(umask, NeedsBigProcessLock::Yes) \
S(umount, NeedsBigProcessLock::Yes) \
S(uname, NeedsBigProcessLock::No) \