| To: | "Chad N. Tindel" <chad@xxxxxxxxxx> |
|---|---|
| Subject: | Re: Wrong UIDs reported in /proc/net/tcp |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Fri, 19 Nov 2004 08:03:07 +1100 |
| Cc: | netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx |
| In-reply-to: | <20041118190257.GA7084@calma.pair.com> |
| References: | <20041109205358.GA64015@calma.pair.com> <E1CRdBr-0001P2-00@gondolin.me.apana.org.au> <20041118190257.GA7084@calma.pair.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040722i |
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@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| Previous by Date: | Re: [PATCH] MII bus API for PHY devices, Jason McMullan |
|---|---|
| Next by Date: | Re: Wrong UIDs reported in /proc/net/tcp, Stephen Hemminger |
| Previous by Thread: | Re: Wrong UIDs reported in /proc/net/tcp, Chad N. Tindel |
| Next by Thread: | Re: Wrong UIDs reported in /proc/net/tcp, Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |