Review: The Linux Programming Interface
Review: The Linux Programming Interface
Posted Jan 20, 2011 20:21 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)In reply to: Review: The Linux Programming Interface by RobSeace
Parent article: Review: The Linux Programming Interface
Which is a shortcoming of Unix design (which was fixed in 9p, btw).
>What, aside from lsof, actually needs to ever reference a Unix domain socket by pathname as if it were a file, anyway? It's not like you can just pass one to an arbitrary app which is expecting a file, and expect it to do anything sensible...
How about security with AppArmor? Does your namespace work with chroot? Also, unix sockets have a creation time (which helped me once).
>And, your strawman about getting rid of "/dev", "/sys", "/proc", etc. is missing the point entirely... The things under those dirs are perfectly usable AS FILES!
Not really. I can't open a lot of files in /proc for writing or reading. Quite a lot of devices in /dev are IOCTL-only and can't perform any read/write operation and so on.
