syscall.sh / parisc / pipe
pipe
create pipe
sys_pipe(int *fildes)
| number | 42 (0x2a) |
|---|---|
| abi | common |
| entry point | sys_pipe |
| since | Linux 5.0 |
| man page | pipe(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 42, the syscall number |
r26 | int *fildes |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 22
- x86 42
- arm 42
- x32 1073741846
- ppc64 42
- ppc 42
- s390x 42
- mips64 5021
- mipsn32 6021
- mipso32 4042
- alpha 42
- m68k 42
- microblaze 42
- sh 42
- sparc 42
- sparc64 42
- xtensa 37
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/pipe