syscall.sh / m68k / setuid32
setuid32
set user identity
sys_setuid(uid_t uid)
| number | 213 (0xd5) |
|---|---|
| abi | common |
| entry point | sys_setuid |
| since | Linux 5.0 |
| man page | setuid32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 213, the syscall number |
d1 | uid_t uid |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
- x86 213
- arm 213
- microblaze 213
- sh 213
- sparc 87
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/setuid32