syscall.sh / s390x / tee

tee

duplicating pipe content

sys_tee(int fdin, int fdout, size_t len, unsigned int flags)
number308 (0x134)
abicommon
entry pointsys_tee
sinceLinux 4.16
man pagetee(2)
sourceelixir.bootlin.com

Registers

registervalue
r1308, the syscall number
r2int fdin
r3int fdout
r4size_t len
r5unsigned int 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/tee