syscall.sh / mipso32 / fork
fork
create a child process
sys_fork(void)
| number | 4002 (0xfa2) |
|---|---|
| abi | o32 |
| entry point | sys_fork |
| since | Linux 5.0 |
| man page | fork(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4002, the syscall number |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 57
- x86 2
- arm 2
- x32 1073741881
- ppc64 2
- ppc 2
- s390x 2
- mips64 5056
- mipsn32 6056
- alpha 2
- m68k 2
- microblaze 2
- parisc 2
- sh 2
- sparc 2
- sparc64 2
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/fork