From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3716 Path: news.gmane.org!not-for-mail From: orc Newsgroups: gmane.linux.lib.musl.general Subject: Re: Proposed roadmap to 1.0 Date: Wed, 24 Jul 2013 22:14:10 +0800 Message-ID: <20130724221410.4b17905d@sibserver.ru> References: <20130629235041.GA5046@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/OVxh5WGh.wwbpG4A8X1h98O" X-Trace: ger.gmane.org 1374674839 19989 80.91.229.3 (24 Jul 2013 14:07:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jul 2013 14:07:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3720-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 24 16:07:22 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1V1zip-00080r-RJ for gllmg-musl@plane.gmane.org; Wed, 24 Jul 2013 16:07:19 +0200 Original-Received: (qmail 14255 invoked by uid 550); 24 Jul 2013 14:07:19 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 14247 invoked from network); 24 Jul 2013 14:07:18 -0000 In-Reply-To: <20130629235041.GA5046@brightrain.aerifal.cx> X-Mailer: claws-mail Xref: news.gmane.org gmane.linux.lib.musl.general:3716 Archived-At: --MP_/OVxh5WGh.wwbpG4A8X1h98O Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sat, 29 Jun 2013 19:50:41 -0400 Rich Felker wrote: > Hi all, > > Here is a VERY tentative, proposed roadmap towards a 1.0 release of > musl. Comments welcome! > > Rich > > > > 0.9.11 > Projected release: ASAP > No further goals at the moment except fixing additional bugs found. > > 0.9.12 > Projected release: Mid to late July > Key targets: > - Overhaul of time handling, including zoneinfo support. > - Overhaul resolver to better provide legacy APIs without code dup. > - Hybrid automatic/manual audit for cruft and code smells. > - Resolve symlink direction issue for dynamic linker. > - Affinity/cpuset interfaces. > > 0.9.13 > Projected release: Early August > Key targets: > - Full C++ ABI compatibility with glibc/LSB. > - Support for all remaining iconv charsets of interest (KR/TW/HK). > - Possible overhaul of iconv for performance and clarity/simplicity. > - Possibly add stateful iconv support. > - Establish formal procedure for regression testing. > > 0.9.14 > Projected release: End of summer > Key targets: > - Complete documentation draft. > - Performance testing on under-tested archs, fixing bottlenecks hit. > - Review for gratuitous application breakage (anything that could be > fixed with trivial changes that don't hurt musl's quality). > > 1.0.0 > Projected release: Early fall > Key targets: > - Polished documentation. > - Organized and coordinated publicity plan. > - At least one new exciting addition to make the release noteworthy, > but which has no chance of breaking things that work. Best candidate > would be one or more new ports, labeled experimental. Hi Rich, (This probably should go into 1.0 wishlist thread, but this one freshier) While building a file server/router I found some bugs/incompatibilities in getaddrinfo() and getifaddrs(). getaddrinfo() does not reports IPv6 available when asked with AF_UNSPEC. Thus, servers like openssh or tinc (vpn daemon) still bind only IPv4 socket when they configured to bind IPv4 and IPv6 sockets. getifaddrs() does not returns AF_PACKET like glibc does, so list of all system interfaces is incomplete (does not shows inactive interfaces). I attached patch for getaddrinfo() (adopt it if you need it) and test program. I still have no any clues about getifaddrs(), but that is not critical. It is usually implemented with help of netlink (and possibly there is no other way, maybe some /proc file will give a list) musl-git (from 0.9.10 release). Unfortunately your git interface and website were down at the time this email written and I cannot see any changes in getaddrinfo.c from that version now. I checked https://github.com/idunham/musl/blob/master/src/network/getaddrinfo.c, it seems to be same. If I am missed something, let me know. --MP_/OVxh5WGh.wwbpG4A8X1h98O Content-Type: application/octet-stream; name=gai-test.c Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=gai-test.c I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzeXMvdHlwZXMuaD4KI2luY2x1ZGUgPHN5cy9z b2NrZXQuaD4KI2luY2x1ZGUgPG5ldGRiLmg+CiNpbmNsdWRlIDxuZXRpbmV0L2luLmg+CgppbnQg bWFpbih2b2lkKQp7CglzdHJ1Y3QgYWRkcmluZm8gKmFpLCAqYWlwLCBoaW50ID0gezB9OwoJaW50 IGVycjsKCWNoYXIgaG9zdG5bMjU2XSwgcG9ydG5bMTBdOwoKCWhpbnQuYWlfZmFtaWx5ID0gQUZf VU5TUEVDOwoJaGludC5haV9zb2NrdHlwZSA9IFNPQ0tfU1RSRUFNOwoJaGludC5haV9wcm90b2Nv bCA9IElQUFJPVE9fVENQOwoJaGludC5haV9mbGFncyA9IEFJX1BBU1NJVkU7CgoJZXJyID0gZ2V0 YWRkcmluZm8oTlVMTCwgIjIyIiwgJmhpbnQsICZhaSk7CglpZiAoZXJyIHx8ICFhaSkgcmV0dXJu IDE7CgoJZm9yIChhaXAgPSBhaTsgYWlwOyBhaXAgPSBhaXAtPmFpX25leHQpIHsKCQllcnIgPSBn ZXRuYW1laW5mbyhhaXAtPmFpX2FkZHIsIGFpcC0+YWlfYWRkcmxlbiwgaG9zdG4sIHNpemVvZiho b3N0biksIHBvcnRuLCBzaXplb2YocG9ydG4pLCBOSV9OVU1FUklDSE9TVHxOSV9OVU1FUklDU0VS Vik7CgkJaWYgKGVycikgeyBwcmludGYoIiVwOiBpbnZhbGlkXG4iLCBhaXApOyBjb250aW51ZTsg fQoJCXByaW50ZigiJXA6ICVzOiVzXG4iLCBhaXAsIGhvc3RuLCBwb3J0bik7Cgl9CgoJZnJlZWFk ZHJpbmZvKGFpKTsKCglyZXR1cm4gMDsKfQo= --MP_/OVxh5WGh.wwbpG4A8X1h98O Content-Type: application/octet-stream; name=musl-0.9.10git-getaddrinfo-ipv4-ipv6.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=musl-0.9.10git-getaddrinfo-ipv4-ipv6.pat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