Messages in this thread | | | From | Alexey Dobriyan <> | Date | Thu, 5 Oct 2017 14:07:31 +0200 | Subject | Re: [PATCH] vfs: hard-ban creating files with control characters in the name |
| |
> 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.
| |