Fix permission masks on procfs
support c (char device) and b (block device) in ls -l