syscall.sh / m68k / setreuid
setreuid
set real and/or effective user or group ID
sys_setreuid16(old_uid_t ruid, old_uid_t euid)
| number | 70 (0x46) |
|---|---|
| abi | common |
| entry point | sys_setreuid16 |
| since | Linux 5.0 |
| man page | setreuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 70, the syscall number |
d1 | old_uid_t ruid |
d2 | old_uid_t euid |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
- x64 113
- x86 70
- arm64 145
- arm 70
- riscv64 145
- x32 1073741937
- loongarch64 145
- ppc64 70
- ppc 70
- s390x 203
- mips64 5111
- mipsn32 6111
- mipso32 4070
- alpha 126
- arc 145
- csky 145
- hexagon 145
- microblaze 70
- nios2 145
- openrisc 145
- parisc 70
- sh 70
- sparc 126
- sparc64 126
- xtensa 142
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/setreuid