lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 14 Nov 2007 16:22:01 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	drepper@...hat.com
Cc:	netdev@...r.kernel.org
Subject: Re: network interface state

From: Ulrich Drepper <drepper@...hat.com>
Date: Wed, 14 Nov 2007 16:12:28 -0800

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> David Miller wrote:
> > Most daemons handle this by listening for events on the netlink
> > socket, but I understand how that might not be practical for
> > glibc.
> 
> Right, this cannot work.  I have no inner loop which I can control.  I
> cannot install a listener.
> 
> At some point, when we have non-sequential, hidden file descriptors,
> I'll be able to leave a socket file descriptor open.  But that's about
> it.  Even then the generation counter interface is likely to be the best
> choice.

Ok, I'll think about how to implement this.

> BTW, is it possible to send both these requests out before starting to
> read the results?  This would reduce the amount of code quite a bit.

Unfortunately, that won't work.  Like datagram protocols,
netlink assumes one message per sendmsg() call.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ