syscall.sh / parisc / clone

clone

create a child process

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

Registers

registervalue
r20120, the syscall number
r26unsigned long clone_flags
r25unsigned long newsp
r24int *parent_tidptr
r23unsigned long tls
r22int *child_tidptr
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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