syscall.sh / sh / setfsuid32
setfsuid32
set user identity used for filesystem checks
sys_setfsuid(uid_t uid)
| number | 215 (0xd7) |
|---|---|
| abi | common |
| entry point | sys_setfsuid |
| since | Linux 5.0 |
| man page | setfsuid32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 215, the syscall number |
r4 | uid_t uid |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x86 215
- arm 215
- m68k 215
- microblaze 215
- sparc 91
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/setfsuid32