syscall.sh / sparc / getresgid32
getresgid32
get real, effective, and saved user/group IDs
sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
| number | 111 (0x6f) |
|---|---|
| abi | 32 |
| entry point | sys_getresgid |
| since | Linux 5.0 |
| man page | getresgid32(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 0x10 to enter the kernel.
Same syscall on other architectures
- x86 211
- arm 211
- m68k 211
- microblaze 211
- sh 211
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/getresgid32