lkml.org 
[lkml]   [2017]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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.

\
 
 \ /
  Last update: 2017-10-05 14:08    [W:0.029 / U:0.148 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site