syscall.sh / xtensa / getresuid
getresuid
get real, effective, and saved user/group IDs
sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid)
| number | 145 (0x91) |
|---|---|
| abi | common |
| entry point | sys_getresuid |
| since | Linux 5.0 |
| man page | getresuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 145, the syscall number |
a6 | uid_t *ruid |
a3 | uid_t *euid |
a4 | uid_t *suid |
a2 | 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
- mipsn32 6116
- mipso32 4186
- alpha 344
- arc 148
- csky 148
- hexagon 148
- m68k 165
- microblaze 165
- nios2 148
- openrisc 148
- parisc 165
- sh 165
- sparc64 109
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/getresuid