syscall.sh / microblaze / 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
r12315, the syscall number
r5int fdin
r6int fdout
r7size_t len
r8unsigned int flags
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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