1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

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
parent 60a8144b68
commit e4611248c4
6 changed files with 38 additions and 3 deletions

View file

@ -15,6 +15,8 @@ pid_t setsid();
int setpgid(pid_t pid, pid_t pgid);
pid_t getpgid(pid_t);
pid_t getpgrp();
uid_t geteuid();
gid_t getegid();
uid_t getuid();
gid_t getgid();
pid_t getpid();