getresgid on score
get real, effective, and saved user/group IDs
sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
| number | 150 (0x96) |
|---|---|
| abi | common |
| entry point | sys_getresgid |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | getresgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 150, the syscall number |
r4 | gid_t *rgid |
r5 | gid_t *egid |
r6 | gid_t *sgid |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 120
- x86 171
- arm64 150
- arm 171
- riscv64 150
- ia32 171
- x32 1073741944
- loongarch64 150
- ppc64 170
- ppc 170
- s390x 211
- mips64 5118
- mipsn32 6118
- mipso32 4191
- alpha 372
- arc 150
- blackfin 171, removed in 4.17
- cris 171, removed in 4.17
- csky 150
- frv 171, removed in 4.17
- hexagon 150
- ia64 1075, removed in 6.7
- m68k 171
- metag 150, removed in 4.17
- microblaze 171
- mn10300 171, removed in 4.17
- nds32 150, removed in 5.18
- nios2 150
- openrisc 150
- parisc 171
- sh 171
- sparc64 111
- tilegx 150, removed in 4.17
- tilepro 150, removed in 4.17
- xtensa 147
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/getresgid?kernel=all