pipe2 on score
create pipe
sys_pipe2(int *fildes, int flags)
| number | 59 (0x3b) |
|---|---|
| abi | common |
| entry point | sys_pipe2 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | pipe2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 59, the syscall number |
r4 | int *fildes |
r5 | int flags |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 293
- x86 331
- arm64 59
- arm 359
- riscv64 59
- ia32 331
- x32 1073742117
- loongarch64 59
- ppc64 317
- ppc 317
- s390x 325
- mips64 5287
- mipsn32 6291
- mipso32 4328
- alpha 488
- arc 59
- blackfin 364, removed in 4.17
- cris 331, removed in 4.17
- csky 59
- frv 331, removed in 4.17
- hexagon 59
- ia64 1317, removed in 6.7
- m68k 327
- metag 59, removed in 4.17
- microblaze 343
- mn10300 332, removed in 4.17
- nds32 59, removed in 5.18
- nios2 59
- openrisc 59
- parisc 313
- sh 331
- sparc 321
- sparc64 321
- tilegx 59, removed in 4.17
- tilepro 59, removed in 4.17
- xtensa 311
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/pipe2?kernel=all