syscall.sh / loongarch64 / getsid

getsid

get session ID

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

Registers

registervalue
a7156, the syscall number
a0pid_t pid
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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