syscall.sh / sparc / 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
g12, the syscall number
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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