From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4392 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: validation of utf-8 strings passed as system call arguments Date: Fri, 13 Dec 2013 07:36:51 +0100 Message-ID: <20131213063651.GH1685@port70.net> References: <20131212213006.dc30d64f61e5ec441c34ffd4f788e58e.381c744cf1.wbe@email22.secureserver.net> <20131213043941.GA24286@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1386916617 19029 80.91.229.3 (13 Dec 2013 06:36:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2013 06:36:57 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4396-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 13 07:37:04 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 1VrMMy-0006O6-AC for gllmg-musl@plane.gmane.org; Fri, 13 Dec 2013 07:37:04 +0100 Original-Received: (qmail 9535 invoked by uid 550); 13 Dec 2013 06:37:03 -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 9527 invoked from network); 13 Dec 2013 06:37:03 -0000 Content-Disposition: inline In-Reply-To: <20131213043941.GA24286@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4392 Archived-At: * Rich Felker [2013-12-12 23:39:41 -0500]: > that filenames can contain arbitrary byte sequences. And Linus in > particular is opposed to changing this, though there's been some > indicastion (I don't have references right off) that he might be open > to optional restrictions at the kernel level. he didnt look very persuadable some time ago http://yarchive.net/comp/linux/utf8.html (i actually like the kernel that way: what would you do when mounting a filesystem with invalid filenames? would you also reject surrogate pairs, pua codes or do unicode normalization?)