syscall.sh / ppc64 / setsid

setsid

creates a session and sets the process group ID

sys_setsid(void)
number66 (0x42)
abicommon
entry pointsys_setsid
sinceLinux 5.0
man pagesetsid(2)
sourceelixir.bootlin.com

Registers

registervalue
r066, the syscall number
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/setsid