All of lore.kernel.org
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: "Chad N. Tindel" <chad@tindel.net>
Cc: netdev@oss.sgi.com, linux-net@vger.kernel.org
Subject: Re: Wrong UIDs reported in /proc/net/tcp
Date: Fri, 19 Nov 2004 08:03:07 +1100	[thread overview]
Message-ID: <20041118210307.GA9557@gondor.apana.org.au> (raw)
In-Reply-To: <20041118190257.GA7084@calma.pair.com>

On Thu, Nov 18, 2004 at 02:02:57PM -0500, Chad N. Tindel wrote:
> 
> OK, so just out of sheer morbid curiousity, I added an ioctl which will
> accept 4 parameters (the address/port pairs), and will return the user id
> associated with that socket.  I also changed pidentd to call this ioctl
> instead of looking at /proc/net/tcp.  This should theoretically get rid
> of all race conditions.

Please show us the code of your ioctl.

Have you tried netlink yet? Does it exhibit the same problem?
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

  reply	other threads:[~2004-11-18 21:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-09 20:53 Wrong UIDs reported in /proc/net/tcp Chad N. Tindel
2004-11-09 21:06 ` Herbert Xu
2004-11-09 22:43   ` Chad N. Tindel
2004-11-09 22:58     ` Herbert Xu
2004-11-09 23:04       ` Chad N. Tindel
2004-11-09 23:18         ` Herbert Xu
2004-11-18 19:02   ` Chad N. Tindel
2004-11-18 21:03     ` Herbert Xu [this message]
2004-11-18 21:27       ` Stephen Hemminger
2004-11-18 22:07         ` Herbert Xu
2004-11-18 22:16           ` David Stevens
2004-11-18 23:40             ` Herbert Xu
2004-11-18 23:49             ` Chad N. Tindel
2004-11-18 23:56               ` David Stevens
2004-11-19  1:26                 ` Herbert Xu
2004-11-19 21:01       ` Chad N. Tindel
2004-11-19 14:27     ` Henrik Nordstrom
2004-11-09 21:11 ` akepner
2004-11-09 22:41   ` Chad N. Tindel

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=20041118210307.GA9557@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=chad@tindel.net \
    --cc=linux-net@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.