From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [RFC PATCH] fs: register_filesystem: Don't allow '\t' and '\n'. Date: Thu, 9 Apr 2009 22:03:22 +0100 Message-ID: <20090409210322.GH26366@ZenIV.linux.org.uk> References: <200904092018.GGD57377.FHJOLSMOFQOFVt@I-love.SAKURA.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Tetsuo Handa Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:44564 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754734AbZDIVDX (ORCPT ); Thu, 9 Apr 2009 17:03:23 -0400 Content-Disposition: inline In-Reply-To: <200904092018.GGD57377.FHJOLSMOFQOFVt@I-love.SAKURA.ne.jp> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Apr 09, 2009 at 08:18:20PM +0900, Tetsuo Handa wrote: > Is it legal to use '\t' and '\n' in filesystem's name? > If legal, we should use \ooo escape for /proc/filesystems . > > ---------- > [RFC PATCH] fs: register_filesystem: Don't allow '\t' and '\n'. > > Registering a filesystem with broken name > > static struct file_system_type dummy_fs_type = { > .name = "a\tb\nc", > }; > > results in ... rejected patch submission. End of problem...