This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: dhcpclient netlink bugs (was Re: [NETLINK]: Schedule removal of old macros exported to userspace)
- From: Herbert Xu <herbert at gondor dot apana dot org dot au>
- To: stefan at loplof dot de (Stefan Rompf)
- Cc: tgraf at suug dot ch, netdev at vger dot kernel dot org, libc-alpha at sourceware dot org
- Date: Fri, 15 Dec 2006 11:46:50 +1100
- Subject: Re: dhcpclient netlink bugs (was Re: [NETLINK]: Schedule removal of old macros exported to userspace)
Stefan Rompf <stefan@loplof.de> wrote:
>
> Yes, the code has quite some trust into the kernel that if it answers the
> asked question the answer is semantically correct. But to be fair, if you
> issue a write(), you also expect the number of bytes written in return and
> not the msec taken ;-) Will fix that and the other stuff you pointed out,
> thanks!
I hope you checked that the message is really from the kernel (based on
saddr). Unconnected sockets can receive messages from any user on the
host.
Cheers,
--
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