netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: kay@vrfy.org
Cc: netdev@vger.kernel.org
Subject: Re: unix STREAM/SEQPACKET sockets and SO_PASSCRED race
Date: Mon, 08 Apr 2013 17:02:52 -0400 (EDT)	[thread overview]
Message-ID: <20130408.170252.618527000564326903.davem@davemloft.net> (raw)
In-Reply-To: <CAPXgP106kvseQ_0ATmY38vPk1Sw+Y6+GBosJUcJ2YjfZKrHfzA@mail.gmail.com>

From: Kay Sievers <kay@vrfy.org>
Date: Mon, 8 Apr 2013 22:55:28 +0200

> If not, could we inherit/copy over the PASSCRED bit from the listen
> socket to the connection socket. Servers could set the flag there to
> receive it for the accepted connections?

We could start doing that yes, this is similar to what we did for
things like non-nonblocking flags on TCP sockets a long time ago.

      reply	other threads:[~2013-04-08 21:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-08 20:55 unix STREAM/SEQPACKET sockets and SO_PASSCRED race Kay Sievers
2013-04-08 21:02 ` David Miller [this message]

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=20130408.170252.618527000564326903.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=kay@vrfy.org \
    --cc=netdev@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).