syscall.sh / parisc / tee
tee
duplicating pipe content
sys_tee(int fdin, int fdout, size_t len, unsigned int flags)
| number | 293 (0x125) |
|---|---|
| abi | common |
| entry point | sys_tee |
| since | Linux 5.0 |
| man page | tee(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 293, the syscall number |
r26 | int fdin |
r25 | int fdout |
r24 | size_t len |
r23 | unsigned int flags |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 276
- x86 315
- arm64 77
- arm 342
- riscv64 77
- x32 1073742100
- loongarch64 77
- ppc64 284
- ppc 284
- s390x 308
- mips64 5265
- mipsn32 6269
- mipso32 4306
- alpha 470
- arc 77
- csky 77
- hexagon 77
- m68k 308
- microblaze 315
- nios2 77
- openrisc 77
- sh 315
- sparc 280
- sparc64 280
- xtensa 269
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/tee