Thread (5 messages) 5 messages, 4 authors, 2017-11-01

Re: [PATCH] [RFC] vm: add a syscall to map a process memory into a pipe

From: Andrei Vagin <hidden>
Date: 2017-11-01 17:47:25
Also in: linux-api, linux-fsdevel, lkml

Hi Michael,

On Mon, Oct 30, 2017 at 01:47:31PM +0100, Michael Kerrisk (man-pages) wrote:
On 10 August 2017 at 20:46, Andrei Vagin [off-list ref] wrote:
quoted
It is a hybrid of process_vm_readv() and vmsplice().

vmsplice can map memory from a current address space into a pipe.
process_vm_readv can read memory of another process.

A new system call can map memory of another process into a pipe.

ssize_t process_vmsplice(pid_t pid, int fd, const struct iovec *iov,
                        unsigned long nr_segs, unsigned int flags)

All arguments are identical with vmsplice except pid which specifies a
target process.
Can we have a man page for this new syscall please?
I think we can add a description for process_vmsplice into
man2/vmsplice.2. The patch is attached.

Thanks,
Andrei
Thanks,

Michael

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help