syscall.sh / x32 / clone

clone

create a child process

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

Registers

registervalue
rax1073741880, the syscall number
rdiunsigned long clone_flags
rsiunsigned long newsp
rdxint *parent_tidptr
r10int *child_tidptr
r8unsigned long tls
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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