syscall.sh / sparc64 / getresgid
getresgid
get real, effective, and saved user/group IDs
sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
| number | 111 (0x6f) |
|---|---|
| abi | 64 |
| entry point | sys_getresgid |
| since | Linux 5.0 |
| man page | getresgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 111, the syscall number |
o0 | gid_t *rgid |
o1 | gid_t *egid |
o2 | gid_t *sgid |
o0 | the return value |
Then run t 0x6d 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
- parisc 171
- sh 171
- xtensa 147
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/getresgid