syscall.sh / alpha / pidfd_open

pidfd_open

obtain a file descriptor that refers to a task

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

Registers

registervalue
v0544, the syscall number
a0pid_t pid
a1unsigned int flags
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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