syscall.sh / microblaze / 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
r1220, the syscall number
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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