diff options
author | Jens Axboe <axboe@suse.de> | 2006-04-11 15:51:17 +0200 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-04-11 15:51:17 +0200 |
commit | 70524490ee2ea1bbf6cee6c106597b3ac25a3fc2 (patch) | |
tree | c61dd500035bc3e0dea364777de1b7a58b41a75c /arch/i386/kernel/syscall_table.S | |
parent | cbb7e577e732f576b9f399bc2600bdc0626c68dc (diff) | |
download | linux-70524490ee2ea1bbf6cee6c106597b3ac25a3fc2.tar.gz linux-70524490ee2ea1bbf6cee6c106597b3ac25a3fc2.tar.bz2 linux-70524490ee2ea1bbf6cee6c106597b3ac25a3fc2.zip |
[PATCH] splice: add support for sys_tee()
Basically an in-kernel implementation of tee, which uses splice and the
pipe buffers as an intelligent way to pass data around by reference.
Where the user space tee consumes the input and produces a stdout and
file output, this syscall merely duplicates the data inside a pipe to
another pipe. No data is copied, the output just grabs a reference to the
input pipe data.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'arch/i386/kernel/syscall_table.S')
-rw-r--r-- | arch/i386/kernel/syscall_table.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/i386/kernel/syscall_table.S b/arch/i386/kernel/syscall_table.S index 4f58b9c0efe3..f48bef15b4f0 100644 --- a/arch/i386/kernel/syscall_table.S +++ b/arch/i386/kernel/syscall_table.S @@ -314,3 +314,4 @@ ENTRY(sys_call_table) .long sys_get_robust_list .long sys_splice .long sys_sync_file_range + .long sys_tee /* 315 */ |