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