1
Fork 0
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:
Andreas Kling 2020-07-13 11:14:59 +02:00
parent 20378b8640
commit 4d3787ae33
2 changed files with 25 additions and 0 deletions

View file

@ -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);