mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
Kernel+LibC+UserspaceEmulator: Remove sys$dup() and sys$dup2()
We can just implement these in userspace, so yay two less syscalls!
This commit is contained in:
parent
5f3d384454
commit
bf247fb45f
7 changed files with 15 additions and 74 deletions
|
@ -258,8 +258,6 @@ public:
|
|||
int sys$ptsname(int fd, Userspace<char*>, size_t);
|
||||
pid_t sys$fork(RegisterState&);
|
||||
int sys$execve(Userspace<const Syscall::SC_execve_params*>);
|
||||
int sys$dup(int oldfd);
|
||||
int sys$dup2(int oldfd, int newfd);
|
||||
int sys$sigaction(int signum, const sigaction* act, sigaction* old_act);
|
||||
int sys$sigprocmask(int how, Userspace<const sigset_t*> set, Userspace<sigset_t*> old_set);
|
||||
int sys$sigpending(Userspace<sigset_t*>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue