On Tue, Dec 02, 2014 at 03:35:17PM +1100, Alex Dubov wrote:
> Unfortunately, using facilities like Unix domain sockets to merely pass file
> descriptors between "worker" processes is unnecessarily difficult, due to
> the following common consideration:
>
> 1. Domain sockets and named pipes are per
On Wed, Dec 3, 2014 at 2:26 AM, Jonathan Corbet wrote:
> On Tue, 2 Dec 2014 15:35:17 +1100
> Alex Dubov wrote:
>
>
> - Messing with another process's file descriptor table without its
>knowledge looks like a possible source of all kinds problems. Might
>there be race conditions with cl
On Tue, 2 Dec 2014 15:35:17 +1100
Alex Dubov wrote:
> int sendfd(pid_t pid, int sig, int fd)
>
> Given a target process pid, the sendfd() syscall will create a duplicate
> file descriptor in a target task's (referred by pid) file table pointing to
> the file references by descriptor fd. The
A common requirement in parallel processing applications (relied upon by
popular network servers, databases and various other applications) is to
pass open file descriptors between processes. Historically, several mechanisms
existed to support this requirement, such as those provided by "cmsg" faci
4 matches
Mail list logo