lkml.org 
[lkml]   [1998]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [BUG] Passing FDs over pipes
Date
In article <199805140750.RAA11005@vindaloo.atnf.CSIRO.AU>,
Richard Gooch <Richard.Gooch@atnf.CSIRO.AU> wrote:
>David S. Miller writes:
>> Use UNIX sockets then, just like everybody else who needs to pass FD's
>> around over a connection endpoint between two UNIX processes. Whats
>> so wrong with that?
>
>Because what I am doing is forking and execing a process which is used
>as a data filter. The stdout of the data filter is read by the
>launching programme. The data filter wants to pass a FD "back" to the
>launcher. Creating a Unix socket would be quite messy in this context.

socketpair()

Mike.
--
Miquel van Smoorenburg | Our vision is to speed up time,
miquels@cistron.nl | eventually eliminating it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.069 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site