mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
Kernel+LibC: Remove the isatty() syscall
This can be implemented entirely in userspace by calling tcgetattr(). To avoid screwing up the syscall indexes, this patch also adds a mechanism for removing a syscall without shifting the index of other syscalls. Note that ports will still have to be rebuilt after this change, as their LibC code will try to make the isatty() syscall on startup.
This commit is contained in:
parent
3d558f47b0
commit
3da6d89d1f
Notes:
sideshowbarker
2024-07-19 11:10:28 +09:00
Author: https://github.com/awesomekling
Commit: 3da6d89d1f
6 changed files with 19 additions and 14 deletions
|
@ -10,6 +10,9 @@
|
|||
#if !defined __ENUMERATE_SYSCALL
|
||||
# define __ENUMERATE_SYSCALL(x) SC_##x,
|
||||
#endif
|
||||
#if !defined __ENUMERATE_REMOVED_SYSCALL
|
||||
# define __ENUMERATE_REMOVED_SYSCALL(x)
|
||||
#endif
|
||||
|
||||
#define SC_NARG 4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue