syscall.sh / m68k / setresgid32
setresgid32
set real, effective, and saved user or group ID
sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid)
| number | 210 (0xd2) |
|---|---|
| abi | common |
| entry point | sys_setresgid |
| since | Linux 5.0 |
| man page | setresgid32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 210, the syscall number |
d1 | gid_t rgid |
d2 | gid_t egid |
d3 | gid_t sgid |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
- x86 210
- arm 210
- microblaze 210
- sh 210
- sparc 110
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/setresgid32