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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 05, 2017 at 12:07:57PM +0200, Olivier Galibert wrote:
> On Tue, Oct 3, 2017 at 5:22 AM, Adam Borowski <kilobyte@xxxxxxxxxx> wrote:
> > Well, what about just \n then?  Unlike all the others which are relatively
> > straightforward, \n requires -print0 which not all programs implement, and
> > way too many people consider too burdensome to use.
> 
> If you don't use -print0, you're vulnerable to spaces.  Go on, try to
> disallow spaces in file names, I'll pass the popcorn.

The David Wheeler argument for this is to change IFS to "\n\t" from " \n\t".
Personally, I think it's easier to use -print0.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux