tee on score
duplicating pipe content
sys_tee(int fdin, int fdout, size_t len, unsigned int flags)
| number | 77 (0x4d) |
|---|---|
| abi | common |
| entry point | sys_tee |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | tee(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 77, the syscall number |
r4 | int fdin |
r5 | int fdout |
r6 | size_t len |
r7 | unsigned int flags |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 276
- x86 315
- arm64 77
- arm 342
- riscv64 77
- ia32 315
- x32 1073742100
- loongarch64 77
- ppc64 284
- ppc 284
- s390x 308
- mips64 5265
- mipsn32 6269
- mipso32 4306
- alpha 470
- arc 77
- blackfin 344, removed in 4.17
- cris 315, removed in 4.17
- csky 77
- frv 315, removed in 4.17
- hexagon 77
- ia64 1301, removed in 6.7
- m32r 315, removed in 4.17
- m68k 308
- metag 77, removed in 4.17
- microblaze 315
- mn10300 316, removed in 4.17
- nds32 77, removed in 5.18
- nios2 77
- openrisc 77
- parisc 293
- sh 315
- sparc 280
- sparc64 280
- tilegx 77, removed in 4.17
- tilepro 77, removed in 4.17
- xtensa 269
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/tee?kernel=all