UserspaceEmulator: "Add" a couple of syscalls

This patch adds gettid() and stubs out pledge() and unveil() for now.
This commit is contained in:
Andreas Kling 2020-07-12 19:49:55 +02:00
commit 584923445c
Notes: sideshowbarker 2024-07-19 04:53:28 +09:00
2 changed files with 24 additions and 0 deletions

View file

@ -54,6 +54,9 @@ private:
void setup_stack();
u32 virt$gettid();
u32 virt$unveil(u32);
u32 virt$pledge(u32);
uid_t virt$getuid();
void virt$exit(int);