syscall.sh / ppc64 / 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 |
|---|---|
r0 | 42, the syscall number |
r3 | int *fildes |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 22
- x86 42
- arm 42
- x32 1073741846
- ppc 42
- s390x 42
- mips64 5021
- mipsn32 6021
- mipso32 4042
- alpha 42
- m68k 42
- microblaze 42
- parisc 42
- sh 42
- sparc 42
- sparc64 42
- xtensa 37
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/pipe