syscall.sh / parisc / pidfd_open

pidfd_open

obtain a file descriptor that refers to a task

sys_pidfd_open(pid_t pid, unsigned int flags)
number434 (0x1b2)
abicommon
entry pointsys_pidfd_open
sinceLinux 5.3
man pagepidfd_open(2)
sourceelixir.bootlin.com

Registers

registervalue
r20434, the syscall number
r26pid_t pid
r25unsigned int flags
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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