syscall.sh / arc / getsid

getsid

get session ID

sys_getsid(pid_t pid)
number156 (0x9c)
abicommon
entry pointsys_getsid
sinceLinux 3.9
man pagegetsid(2)
sourceelixir.bootlin.com

Registers

registervalue
r8156, the syscall number
r0pid_t pid
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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