syscall.sh / x32 / getresgid
getresgid
get real, effective, and saved user/group IDs
sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
| number | 1073741944 (0x40000078) |
|---|---|
| abi | common |
| entry point | sys_getresgid |
| since | Linux 3.4 |
| man page | getresgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073741944, the syscall number |
rdi | gid_t *rgid |
rsi | gid_t *egid |
rdx | gid_t *sgid |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 120
- x86 171
- arm64 150
- arm 171
- riscv64 150
- loongarch64 150
- ppc64 170
- ppc 170
- s390x 211
- mips64 5118
- mipsn32 6118
- mipso32 4191
- alpha 372
- arc 150
- csky 150
- hexagon 150
- m68k 171
- microblaze 171
- nios2 150
- openrisc 150
- parisc 171
- sh 171
- sparc64 111
- xtensa 147
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/getresgid