From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13877 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: C Annex K safe C functions Date: Wed, 27 Feb 2019 11:50:50 +0100 Message-ID: <20190227105050.GE21289@port70.net> References: 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="36916"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Jonny Grant To: musl@lists.openwall.com Original-X-From: musl-return-13894-gllmg-musl=m.gmane.org@lists.openwall.com Wed Feb 27 12:13:52 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 1gywnp-000WoS-Fs for gllmg-musl@m.gmane.org; Wed, 27 Feb 2019 11:51:05 +0100 Original-Received: (qmail 23716 invoked by uid 550); 27 Feb 2019 10:51:02 -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 23692 invoked from network); 27 Feb 2019 10:51:02 -0000 Mail-Followup-To: musl@lists.openwall.com, Jonny Grant Content-Disposition: inline In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:13877 Archived-At: * Jonny Grant [2019-02-27 10:30:52 +0700]: > Not on the list, so please cc me in replies. > Any plans to support Annex K? > Those safe functions are great, strncpy_s etc i wonder why you think they are great, if they are advertised anywhere as safe or useful then that should be fixed. annex k is so incredibly broken and bad that there is a wg14 paper about it http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1969.htm normally it's ok to add nonsense interfaces for compatibility, but in this case there is no widespread use and the api depends on global state that causes implementation issues even if we wanted to implement it.