syscall.sh / mipsn32 / setregid
setregid
set real and/or effective user or group ID
sys_setregid(gid_t rgid, gid_t egid)
| number | 6112 (0x17e0) |
|---|---|
| abi | n32 |
| entry point | sys_setregid |
| since | Linux 5.0 |
| man page | setregid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6112, the syscall number |
a0 | gid_t rgid |
a1 | gid_t egid |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 114
- x86 71
- arm64 143
- arm 71
- riscv64 143
- x32 1073741938
- loongarch64 143
- ppc64 71
- ppc 71
- s390x 204
- mips64 5112
- mipso32 4071
- alpha 127
- arc 143
- csky 143
- hexagon 143
- m68k 71
- microblaze 71
- nios2 143
- openrisc 143
- parisc 71
- sh 71
- sparc 127
- sparc64 127
- xtensa 143
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/setregid