mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
UserspaceEmulator: Support the fstat() and get_process_name() syscalls
For now, we just pretend that the process name is "EMULATED". We can probably do better though. :^)
This commit is contained in:
parent
20378b8640
commit
4d3787ae33
2 changed files with 25 additions and 0 deletions
|
@ -68,6 +68,8 @@ private:
|
|||
u32 virt$madvise(FlatPtr, size_t, int);
|
||||
u32 virt$open(u32);
|
||||
int virt$close(int);
|
||||
int virt$get_process_name(FlatPtr buffer, int size);
|
||||
int virt$fstat(int, FlatPtr);
|
||||
u32 virt$fcntl(int fd, int, u32);
|
||||
int virt$getgroups(ssize_t count, FlatPtr);
|
||||
int virt$lseek(int fd, off_t offset, int whence);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue