Skip to content
Commit 70524490 authored by Jens Axboe's avatar Jens Axboe
Browse files

[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: default avatarJens Axboe <axboe@suse.de>
parent cbb7e577
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment