previous: >>108430426
#define __NR_getuid 102
#define __NR_getgid 104
#define __NR_setuid 105
#define __NR_setgid 106
#define __NR_geteuid 107
#define __NR_getegid 108
#define __NR_setpgid 109
#define __NR_getpgrp 111
#define __NR_setreuid 113
#define __NR_setregid 114
#define __NR_getgroups 115
#define __NR_setgroups 116
#define __NR_setresuid 117
#define __NR_getresuid 118
#define __NR_setresgid 119
#define __NR_getresgid 120
#define __NR_getpgid 121
i can't be bothered to link all of these
https://man7.org/linux/man-pages/man2/<your_syscall_here>.2.html
tl;dr:
get and set process ids/groups/etc
there's not much to say about these beyond what they say on the tin. the few that are unique in this bundle i skipped over so that they can get their own threads. you should go back and post in the ptrace thread. that one is a whole lot more interesting
relevant resources:
man man
man syscalls
https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/
https://elixir.bootlin.com/musl/
https://elixir.bootlin.com/glibc/