syscall.sh / x32 / getsid

getsid

get session ID

sys_getsid(pid_t pid)
number1073741948 (0x4000007c)
abicommon
entry pointsys_getsid
sinceLinux 3.4
man pagegetsid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741948, the syscall number
rdipid_t pid
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/getsid