syscall.sh / ppc64 / getsid

getsid

get session ID

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

Registers

registervalue
r0147, the syscall number
r3pid_t pid
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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