Why does the filesystem think /selinux/enforce is an empty file?
The file /selinux/enforce contains 1 character, according to cat, but apparently it has zero size. What's going on here?
Code:
$ cat /selinux/enforce |
Yes, that's strange. Perhaps you should ask he moderators to move his thread to the security forum. I suspect that it's a security issue. Speaking of zero length files with content, look at this:
Code:
$ ls -l /selinux/ |
It's not only /slinux but /proc too.
All files but links has zero size. Looks like kernel doesn't bother to export correct file size for stat |
All times are GMT -5. The time now is 04:16 PM. |