syscall.sh / ppc / getpid

getpid

get process identification

sys_getpid(void)
number20 (0x14)
abicommon
entry pointsys_getpid
sinceLinux 5.0
man pagegetpid(2)
sourceelixir.bootlin.com

Registers

registervalue
r020, the syscall number
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/ppc/getpid