syscall.sh / m68k / clone

clone

create a child process

sys_clone(unsigned long, unsigned long, int *, int *, unsigned long)
number120 (0x78)
abicommon
entry pointsys_clone
sinceLinux 5.0
man pageclone(2)
sourceelixir.bootlin.com

Registers

registervalue
d0120, the syscall number
d1unsigned long
d2unsigned long
d3int *
d4int *
d5unsigned long
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/clone