syscall.sh / s390x / pipe2

pipe2

create pipe

sys_pipe2(int *fildes, int flags)
number325 (0x145)
abicommon
entry pointsys_pipe2
sinceLinux 4.16
man pagepipe2(2)
sourceelixir.bootlin.com

Registers

registervalue
r1325, the syscall number
r2int *fildes
r3int flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/pipe2