syscall.sh / openrisc / getsid

getsid

get session ID

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

Registers

registervalue
r11156, the syscall number
r3pid_t pid
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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