pidfd_open on ia32

obtain a file descriptor that refers to a task

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

Registers

registervalue
eax434, the syscall number
ebxpid_t pid
ecxunsigned int flags
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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