From: Stephen Smalley Date: Fri, 25 Jan 2008 18:03:42 +0000 (-0500) Subject: selinux: fix labeling of /proc/net inodes X-Git-Tag: v2.6.25-rc1~1229^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1aa5301b9f88a4891061650c591fb8fe1c1d1da;p=pandora-kernel.git selinux: fix labeling of /proc/net inodes The proc net rewrite had a side effect on selinux, leading it to mislabel the /proc/net inodes, thereby leading to incorrect denials. Fix security_genfs_sid to ignore extra leading / characters in the path supplied by selinux_proc_get_sid since we now get "//net/..." rather than "/net/...". Signed-off-by: Stephen Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed