syscall.sh / m68k / fork

fork

create a child process

sys_fork(void)
number2 (0x2)
abicommon
entry pointsys_fork
sinceLinux 5.0
man pagefork(2)
sourceelixir.bootlin.com

Registers

registervalue
d02, the syscall number
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/fork