syscall.sh / sh / getppid

getppid

get process identification

sys_getppid(void)
number64 (0x40)
abicommon
entry pointsys_getppid
sinceLinux 5.0
man pagegetppid(2)
sourceelixir.bootlin.com

Registers

registervalue
r364, the syscall number
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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