mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 08:27:35 +00:00
UserspaceEmulator: Add syscalls: stat(), realpath(), gethostname()
This is enough to run /bin/ls :^)
This commit is contained in:
parent
9def88e08d
commit
b8d3dbcf2d
2 changed files with 57 additions and 0 deletions
|
@ -74,6 +74,9 @@ private:
|
|||
int virt$execve(FlatPtr);
|
||||
int virt$get_dir_entries(int fd, FlatPtr buffer, ssize_t);
|
||||
int virt$ioctl(int fd, unsigned, FlatPtr);
|
||||
int virt$stat(FlatPtr);
|
||||
int virt$realpath(FlatPtr);
|
||||
int virt$gethostname(FlatPtr, ssize_t);
|
||||
int virt$usleep(useconds_t);
|
||||
int virt$shbuf_create(int size, FlatPtr buffer);
|
||||
int virt$shbuf_allow_pid(int, pid_t peer_pid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue