syscall.sh / sh / vfork
vfork
create a child process and block parent
sys_vfork(void)
| number | 190 (0xbe) |
|---|---|
| abi | common |
| entry point | sys_vfork |
| since | Linux 5.0 |
| man page | vfork(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 190, the syscall number |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x64 58
- x86 190
- arm 190
- x32 1073741882
- ppc64 189
- ppc 189
- s390x 190
- alpha 66
- m68k 190
- microblaze 190
- parisc 113
- sparc 66
- sparc64 66
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/vfork