On Thu, Jul 31, 2014 at 01:31:30AM +0300, Kirill A. Shutemov wrote: > I don't know why we allow "chmod +x" on some proc files, notably net-related. > Is it a bug?
# ls -l /proc/{1,157}/net/packet -r--r--r-- 1 root 0 0 Jul 30 23:01 /proc/1/net/packet -r--r--r-- 1 root 0 0 Jul 30 23:01 /proc/157/net/packet # chmod +x /proc/157/net/packet # ls -l /proc/{1,157}/net/packet -r-xr-xr-x 1 root 0 0 Jul 30 23:02 /proc/1/net/packet -r-xr-xr-x 1 root 0 0 Jul 30 23:02 /proc/157/net/packet Ouch.. Or is it expected? -- Kirill A. Shutemov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/