syscall.sh / parisc / getresgid
getresgid
get real, effective, and saved user/group IDs
sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
| number | 171 (0xab) |
|---|---|
| abi | common |
| entry point | sys_getresgid |
| since | Linux 5.0 |
| man page | getresgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 171, the syscall number |
r26 | gid_t *rgid |
r25 | gid_t *egid |
r24 | gid_t *sgid |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) 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
- mipso32 4191
- alpha 372
- arc 150
- csky 150
- hexagon 150
- m68k 171
- microblaze 171
- nios2 150
- openrisc 150
- sh 171
- sparc64 111
- xtensa 147
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/getresgid