From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11883 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: open issues Date: Wed, 30 Aug 2017 18:08:35 -0400 Message-ID: <20170830220835.GG1627@brightrain.aerifal.cx> References: <20170827043606.GQ15263@port70.net> <20170830020652.GD1627@brightrain.aerifal.cx> <59A71729.2020606@adelielinux.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1504130935 24966 195.159.176.226 (30 Aug 2017 22:08:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 22:08:55 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-11896-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 31 00:08:49 2017 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 1dnBAB-0005wf-Jh for gllmg-musl@m.gmane.org; Thu, 31 Aug 2017 00:08:43 +0200 Original-Received: (qmail 16353 invoked by uid 550); 30 Aug 2017 22:08:48 -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 16335 invoked from network); 30 Aug 2017 22:08:48 -0000 Content-Disposition: inline In-Reply-To: <59A71729.2020606@adelielinux.org> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:11883 Archived-At: On Wed, Aug 30, 2017 at 02:51:05PM -0500, A. Wilcox wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 29/08/17 21:06, Rich Felker wrote: > > Pending due to open question about desired behavior: > > > > - getservbyport(_r) should not report numeric ports > > http://www.openwall.com/lists/musl/2017/02/06/5 > > What's the question? I'd be happy to answer. I don't recall whether it appeared in the original thread, but I'm unclear on whether a matching change for consistency is needed to getservbyname[_r] -- if decimal strings are not considered service records for the purpose of reverse mapping (as a result of the proposed change to getservbyport[_r]) then should they also not be records in the forward mapping? I want to know what other implementations do and evaluate whether the inconsistency or the inability to forward-map decimal port strings is more of a problem. Rich