syscall.sh / m68k / getresuid
getresuid
get real, effective, and saved user/group IDs
sys_getresuid16(old_uid_t *ruid, old_uid_t *euid, old_uid_t *suid)
| number | 165 (0xa5) |
|---|---|
| abi | common |
| entry point | sys_getresuid16 |
| since | Linux 5.0 |
| man page | getresuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 165, the syscall number |
d1 | old_uid_t *ruid |
d2 | old_uid_t *euid |
d3 | old_uid_t *suid |
d0 | the return value |
Then run trap #0 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
- microblaze 165
- nios2 148
- openrisc 148
- parisc 165
- sh 165
- sparc64 109
- xtensa 145
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/getresuid