commit | b1aa5301b9f88a4891061650c591fb8fe1c1d1da | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Fri Jan 25 13:03:42 2008 -0500 |
committer | James Morris <jmorris@namei.org> | Sat Jan 26 12:16:16 2008 +1100 |
tree | 701ee5bf6cefbf7545c91ebab614fda7d6fd6a27 | |
parent | 99f1c97dbdb30e958edfd1ced0ae43df62504e07 [diff] |
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 <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>