syscall.sh / x64 / pipe
pipe
create pipe
sys_pipe(int *fildes)
| number | 22 (0x16) |
|---|---|
| abi | common |
| entry point | sys_pipe |
| since | Linux 3.3 |
| man page | pipe(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 22, the syscall number |
rdi | int *fildes |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 42
- arm 42
- x32 1073741846
- ppc64 42
- 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/x64/pipe