syscall.sh / s390x / getsid

getsid

get session ID

sys_getsid(pid_t pid)
number147 (0x93)
abicommon
entry pointsys_getsid
sinceLinux 4.16
man pagegetsid(2)
sourceelixir.bootlin.com

Registers

registervalue
r1147, the syscall number
r2pid_t pid
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/getsid