Add geteuid() and getegid().

There's no support for set-uid or set-gid executables yet so these don't
actually do anything. It's just nice to get the boilerplate stuff in.
This commit is contained in:
Andreas Kling 2018-11-05 15:04:19 +01:00
commit e4611248c4
Notes: sideshowbarker 2024-07-19 18:33:28 +09:00
6 changed files with 38 additions and 3 deletions

View file

@ -49,6 +49,8 @@ enum Function {
PosixTcgetpgrp = 0x2017,
PosixFork = 0x2018,
PosixExecve = 0x2019,
PosixGeteuid = 0x2020,
PosixGetegid = 0x2021,
};
void initialize();