syscall.sh / mipso32 / syscall
syscall
indirect system call
sys_syscall(long number, ...)
| number | 4000 (0xfa0) |
|---|---|
| abi | o32 |
| entry point | sys_syscall |
| since | Linux 5.0 |
| man page | syscall(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4000, the syscall number |
a0 | long number |
a1 | ... |
v0 | the return value |
Then run syscall to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/syscall