syscall.sh / arm / getpid

getpid

get process identification

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

Registers

registervalue
r720, the syscall number
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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