syscall.sh / arm / pidfd_open
pidfd_open
obtain a file descriptor that refers to a task
sys_pidfd_open(pid_t pid, unsigned int flags)
| number | 434 (0x1b2) |
|---|---|
| abi | common |
| entry point | sys_pidfd_open |
| since | Linux 5.3 |
| man page | pidfd_open(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 434, the syscall number |
r0 | pid_t pid |
r1 | unsigned int flags |
r0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 434
- x86 434
- arm64 434
- riscv64 434
- x32 1073742258
- loongarch64 434
- ppc64 434
- ppc 434
- s390x 434
- mips64 5434
- mipsn32 6434
- mipso32 4434
- alpha 544
- arc 434
- csky 434
- hexagon 434
- m68k 434
- microblaze 434
- nios2 434
- openrisc 434
- parisc 434
- sh 434
- sparc 434
- sparc64 434
- xtensa 434
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/pidfd_open