syscall.sh / mipso32 / getresgid
getresgid
get real, effective, and saved user/group IDs
sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
| number | 4191 (0x105f) |
|---|---|
| abi | o32 |
| entry point | sys_getresgid |
| since | Linux 5.0 |
| man page | getresgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4191, the syscall number |
a0 | gid_t *rgid |
a1 | gid_t *egid |
a2 | gid_t *sgid |
v0 | 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
- x32 1073741944
- loongarch64 150
- ppc64 170
- ppc 170
- s390x 211
- mips64 5118
- mipsn32 6118
- 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/mipso32/getresgid