Re: [RFC PATCH] fs: register_filesystem: Don't allow '\t' and '\n'.

From: Al Viro
Date: Thu Apr 09 2009 - 17:03:35 EST


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...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/