Just extend sendfile to allow any fd to any fd. sendfile already
does file->socket and file->file. It only needs to be extended to
do socket->file.
This is not what senfile() does, it sends (to a network socket) a
file (from the page cache), nothing more.
Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/