syscall.sh / mipsn32 / getresuid
getresuid
get real, effective, and saved user/group IDs
sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid)
| number | 6116 (0x17e4) |
|---|---|
| abi | n32 |
| entry point | sys_getresuid |
| since | Linux 5.0 |
| man page | getresuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6116, the syscall number |
a0 | uid_t *ruid |
a1 | uid_t *euid |
a2 | uid_t *suid |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 118
- x86 165
- arm64 148
- arm 165
- riscv64 148
- x32 1073741942
- loongarch64 148
- ppc64 165
- ppc 165
- s390x 209
- mips64 5116
- mipso32 4186
- alpha 344
- arc 148
- csky 148
- hexagon 148
- m68k 165
- microblaze 165
- nios2 148
- openrisc 148
- parisc 165
- sh 165
- sparc64 109
- xtensa 145
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/getresuid