Re: [PATCH] vfs: hard-ban creating files with control characters in the name

From: Alexey Dobriyan
Date: Thu Oct 05 2017 - 08:07:39 EST


> Anything with bytes 1-31,127 will get -EACCES.

You're making a mistake of catering to Unix shells which are pure garbage
as programming languages instead of fixing them or switching to saner
alternatives and then "fixing" kernel to sort-of workaround Unix shells
deficiencies.

Formally, you patch will break every program which creates git-style files
with filenames only fixing up for \0 and '/'. Now such program should
account for low ASCII as well.