News for hackers. Stuff that matters.
Re:Fixing Unix Filenames (2012) by einhverfr on Thursday October 31, 2013 @06:42AM (#6646063)
why not make rulesystems modular?
Re:Fixing Unix Filenames (2012) by cetu86 on Thursday October 31, 2013 @07:16AM (#6646143)
Of course. So everyone can decide wether to use it or not. Or even switch this on at some point in the boot sequence Currently the linux kernel doesn't have an interface for this. But I think it is important to do this within the kernel so no malicious program can bypass it.
Re:Fixing Unix Filenames (2012) by dwheeler on Thursday October 31, 2013 @12:02PM (#6647571)
I agree, I think having a CONFIGURABLE option in the kernel where admins can decide "what is allowed" would be a big step forward. (1) Enable requiring UTF-8 encoding, and (2) list what bytes are allowed/forbidden at the beginning, the middle, and the end. Then you could have a local policy like "UTF-8 only", "no control chars", "no dash at beginning", and "no space at the end".
Re:Fixing Unix Filenames (2012) by einhverfr on Thursday October 31, 2013 @09:54PM (#6651354)
This also means that programmers can document what they require, and eventual standards can emerge, which would be a good thing.