From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14464 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: pedantic conformance sys/socket.h Date: Sun, 28 Jul 2019 14:42:11 -0400 Message-ID: <20190728184211.GT1506@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="132095"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-14480-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jul 28 20:42:30 2019 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.89) (envelope-from ) id 1hro7p-000YHZ-Lp for gllmg-musl@m.gmane.org; Sun, 28 Jul 2019 20:42:29 +0200 Original-Received: (qmail 27986 invoked by uid 550); 28 Jul 2019 18:42:25 -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 27954 invoked from network); 28 Jul 2019 18:42:25 -0000 Content-Disposition: inline Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:14464 Archived-At: I just noticed that POSIX only reserves SO*, AF_*, PF_*, etc. for sys/socket.h under the XSI option group. So it looks like the header is highly nonconforming in baseline POSIX profile. Nobody seems to care about this at present, but we should probably clarify the intent here (with Austin Group) and plan to eventually fix it if this is actually the standard's intent. I came across this while working out how SO_RCVTIMEO etc. will be updated for time64. Rich