syscall.sh / x32 / setsid

setsid

creates a session and sets the process group ID

sys_setsid(void)
number1073741936 (0x40000070)
abicommon
entry pointsys_setsid
sinceLinux 3.4
man pagesetsid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741936, the syscall number
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/setsid