syscall.sh / parisc / pipe2
pipe2
create pipe
parisc_pipe2(int *fildes, int flags)
| number | 313 (0x139) |
|---|---|
| abi | common |
| entry point | parisc_pipe2 |
| since | Linux 5.0 |
| man page | pipe2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 313, the syscall number |
r26 | int *fildes |
r25 | int flags |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 293
- x86 331
- arm64 59
- arm 359
- riscv64 59
- x32 1073742117
- loongarch64 59
- ppc64 317
- ppc 317
- s390x 325
- mips64 5287
- mipsn32 6291
- mipso32 4328
- alpha 488
- arc 59
- csky 59
- hexagon 59
- m68k 327
- microblaze 343
- nios2 59
- openrisc 59
- sh 331
- sparc 321
- sparc64 321
- xtensa 311
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/pipe2