linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Julian Thomé" <frostisch@yahoo.de>
To: linux-c-programming@vger.kernel.org
Subject: Descriptor Passing without unix domain sockets or streams ?
Date: Mon, 19 Apr 2010 21:30:16 +0200	[thread overview]
Message-ID: <4BCCAF48.3060809@yahoo.de> (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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2010-04-19 19:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BCCAF48.3060809@yahoo.de \
    --to=frostisch@yahoo.de \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).