syscall.sh / sh / tee

tee

duplicating pipe content

sys_tee(int fdin, int fdout, size_t len, unsigned int flags)
number315 (0x13b)
abicommon
entry pointsys_tee
sinceLinux 5.0
man pagetee(2)
sourceelixir.bootlin.com

Registers

registervalue
r3315, the syscall number
r4int fdin
r5int fdout
r6size_t len
r7unsigned int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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