From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13046 Path: news.gmane.org!.POSTED!not-for-mail From: Christopher Friedt Newsgroups: gmane.linux.lib.musl.general Subject: Re: getaddrinfo(3) / AI_ADDRCONFIG Date: Sat, 14 Jul 2018 21:17:11 -0400 Message-ID: References: <20180711164417.GX1392@brightrain.aerifal.cx> <20180711170034.GY1392@brightrain.aerifal.cx> <20180713014910.GC1392@brightrain.aerifal.cx> <20180714023134.GH1392@brightrain.aerifal.cx> <20180715000717.GI1392@brightrain.aerifal.cx> <20180715001950.GJ1392@brightrain.aerifal.cx> <20180715005247.GK1392@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000097a3c10570ff7994" X-Trace: blaine.gmane.org 1531617331 15268 195.159.176.226 (15 Jul 2018 01:15:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2018 01:15:31 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-13062-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jul 15 03:15:27 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1feVdG-0003sJ-Vn for gllmg-musl@m.gmane.org; Sun, 15 Jul 2018 03:15:27 +0200 Original-Received: (qmail 17792 invoked by uid 550); 15 Jul 2018 01:17:35 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17773 invoked from network); 15 Jul 2018 01:17:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Mwz2zyvwcf/vwAiQKjb5qvaHTkSUaBPj2BvRsfAuwJ0=; b=u9lBxUl3FuMjhBxlhgNkzqTOX3VQ2W+nsR8rjfrLqU8O5KKkxC1Rokks+FHKHrgmOi yhCtEqGDmNCqQIpj7uUKiaSz3EzBziOtsRkN8gfvBJY7FLu8KRUMpPoW/tur9GAsCeFc GHsX6pIJ6Kr7P5GJ2IeMQLWBRq0DFU2Z4bdMktGn7Hvbqal1bHsUQrz7JZFlR7fKvKlB QPEWRnzBwmVt3ReOBTgBQrFW/ELVNPKPYBRDwqIiQ2aXVTH1W9oQZv2mAMEOIwT62Q26 Cqk/WBtDmhcLr8RhUTkTP6EHdINbKvvviXNwmjJRGsIFq8RxxgdtxHRKPJObvOgbmSyQ ipFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Mwz2zyvwcf/vwAiQKjb5qvaHTkSUaBPj2BvRsfAuwJ0=; b=HiPD94mLXXDMBAryssj5TKXubtXaVHDq/nCUSad6OmjSLPucEkcMFLh5S47OgstNqV LbGEyXA97DHEdrO7RvsaudJ7Ln67OyFDK61x7CjxzS7GLeDp2BKqV2TIAtfIMXy55Wus Ubw8RW1RNwD5Kp6nurs0WtlAMGO1ymd+Uf/sVsRWuxi2ruoZ9dGjtyvvn99v7SvIc9AD lZtnqpaoCEtd4sIXrgW5qewjej+sBHNHOx2EDcJInEUz71fbO0mp7Mb/s1Iy+0cXIZw8 Z3wrmW6IVON7ob+s/IBO0uKpTZPRaCaE+Zlz/Neb2dyc78yh2m3rc3AmeKHjGmgj5sUW yrkA== X-Gm-Message-State: AOUpUlEcH5rUrPfWnSkrXMQKlRi+GGdkR277ySIn6PikghfS+8g4ADbV zN2vhJPmkhnd2myjgMgT/6V4olDaP5Hd+r+KgauAWw== X-Google-Smtp-Source: AAOMgpcEOotdV+vAVhwg+ttEV38QlOgqmrMjcWOLwAjkat9TqozqlhdDQ16e7OwiC/+daNB/AUU43cjeBZrvXV0NoL8= X-Received: by 2002:aca:3254:: with SMTP id y81-v6mr12225341oiy.317.1531617442504; Sat, 14 Jul 2018 18:17:22 -0700 (PDT) In-Reply-To: <20180715005247.GK1392@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:13046 Archived-At: --00000000000097a3c10570ff7994 Content-Type: text/plain; charset="UTF-8" On Sat, Jul 14, 2018, 8:53 PM Rich Felker, wrote: > And a couple other issues: socket() may fail with EAFNOSUPPORT, and in > that case, the family needs to be rejected rather than accepted like > it was with the continue. For other socket() failures (like > EMFILE/ENFILE), the result is indeterminate and we need to return > EAI_SYSTEM rather than wrong results. Making these changes and I think > it will be ready to commit. > Very thorough! > --00000000000097a3c10570ff7994 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


= On Sat, Jul 14, 2018, 8:53 PM Rich Felker, <dalias@libc.org> wrote:
And a couple other issues: socket() may fail with EAFNOSUPPORT, and in
that case, the family needs to be rejected rather than accepted like
it was with the continue. For other socket() failures (like
EMFILE/ENFILE), the result is indeterminate and we need to return
EAI_SYSTEM rather than wrong results. Making these changes and I think
it will be ready to commit.
<= br>
Very thorough!
--00000000000097a3c10570ff7994--