syscall.sh / arm64 / clone

clone

create a child process

sys_clone(unsigned long clone_flags, unsigned long newsp, int *parent_tidptr, unsigned long tls, int *child_tidptr)
number220 (0xdc)
abicommon
entry pointsys_clone
sinceLinux 3.7
man pageclone(2)
sourceelixir.bootlin.com

Registers

registervalue
x8220, the syscall number
x0unsigned long clone_flags
x1unsigned long newsp
x2int *parent_tidptr
x3unsigned long tls
x4int *child_tidptr
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arm64/clone