Skip to contentSkip to conversation

Descriptor Passing without unix domain sockets or streams ?

DISCUSSION Julian Thomé 1 participant 1 message Apr 19, 2010

lore
Share & tools
lore
#0 lore raw

Hello Mailing list,

i have a problem passing a file descriptor from one process to another.

I have two processes A and B. Both are running in different network and filesystem namespaces, so it is impossible to use unix domain sockets or net sockets to pass a file descriptor from process A to process B.

The usage of STREAMS is also impossible, as you can see in

	http://fixunix.com/unix/84093-streams-pipes-ioctl-i_sendfd.html

[quotation begin]
Linux doesn't have STREAMS, which are the System V way of doing this task. ...
[quotation end]

Are there additional possibilities for file descriptor passing like using a named pipe or something like that or does anybody know a good workaround for this problem ?

Thank you very much !!
Julian Thomé

___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html