mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:57:34 +00:00
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.
This commit is contained in:
parent
de7566c2c4
commit
b5ef900ccd
19 changed files with 13 additions and 141 deletions
|
@ -214,7 +214,6 @@ private:
|
|||
int virt$poll(FlatPtr);
|
||||
int virt$profiling_disable(pid_t);
|
||||
int virt$profiling_enable(pid_t);
|
||||
int virt$ptsname(int fd, FlatPtr buffer, size_t buffer_size);
|
||||
int virt$purge(int mode);
|
||||
u32 virt$read(int, FlatPtr, ssize_t);
|
||||
int virt$readlink(FlatPtr);
|
||||
|
@ -246,7 +245,6 @@ private:
|
|||
int virt$symlink(FlatPtr address);
|
||||
void virt$sync();
|
||||
u32 virt$sysconf(u32 name);
|
||||
int virt$ttyname(int fd, FlatPtr buffer, size_t buffer_size);
|
||||
mode_t virt$umask(mode_t);
|
||||
int virt$uname(FlatPtr params_addr);
|
||||
int virt$unlink(FlatPtr path, size_t path_length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue