mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@davemloft.net>
To: rolandd@cisco.com
Cc: viro@ftp.linux.org.uk, torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC] utterly bogus userland API in infinibad
Date: Fri, 16 Sep 2005 17:03:49 -0700 (PDT)	[thread overview]
Message-ID: <20050916.170349.72543699.davem@davemloft.net> (raw)
In-Reply-To: <52psr8k1qg.fsf@cisco.com>

From: Roland Dreier <rolandd@cisco.com>
Date: Fri, 16 Sep 2005 16:54:31 -0700

> I have to confess I'm not familiar with how the kernel implements
> SCM_RIGHTS.  Is it something we could use here?

Yes, you could open up an AF_UNIX socket with userspace
and pass the FDs over via SCM_RIGHTS.

Read the unix(7) man page, section ANCILLARY MESSAGES,
sub-section SCM_RIGHTS, to see how userspace can use
this stuff between processes.

  reply	other threads:[~2005-09-17  0:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-16 18:11 Al Viro
2005-09-16 19:31 ` Roland Dreier
2005-09-16 20:37   ` Al Viro
2005-09-16 23:54     ` Roland Dreier
2005-09-17  0:03       ` David S. Miller [this message]
2005-09-17  0:08         ` Roland Dreier
2005-09-19 22:25       ` Roland Dreier

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=20050916.170349.72543699.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rolandd@cisco.com \
    --cc=torvalds@osdl.org \
    --cc=viro@ftp.linux.org.uk \
    /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

Powered by JetHome