syscall.sh / mips64 / setfsuid
setfsuid
set user identity used for filesystem checks
sys_setfsuid(uid_t uid)
| number | 5120 (0x1400) |
|---|---|
| abi | n64 |
| entry point | sys_setfsuid |
| since | Linux 5.0 |
| man page | setfsuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5120, the syscall number |
a0 | uid_t uid |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 122
- x86 138
- arm64 151
- arm 138
- riscv64 151
- x32 1073741946
- loongarch64 151
- ppc64 138
- ppc 138
- s390x 215
- mipsn32 6120
- mipso32 4138
- alpha 325
- arc 151
- csky 151
- hexagon 151
- m68k 138
- microblaze 138
- nios2 151
- openrisc 151
- parisc 138
- sh 138
- sparc 228
- sparc64 228
- xtensa 180
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/setfsuid