From: Stephen Smalley Date: Mon, 22 Sep 2008 19:41:19 +0000 (-0400) Subject: selinux: use default proc sid on symlinks X-Git-Tag: v2.6.27.53~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a91177ccf6e429ec66b4f977fc92c105bd909a7;p=pandora-kernel.git selinux: use default proc sid on symlinks commit ea6b184f7d521a503ecab71feca6e4057562252b upstream. As we are not concerned with fine-grained control over reading of symlinks in proc, always use the default proc SID for all proc symlinks. This should help avoid permission issues upon changes to the proc tree as in the /proc/net -> /proc/self/net example. This does not alter labeling of symlinks within /proc/pid directories. ls -Zd /proc/net output before and after the patch should show the difference. Signed-off-by: Stephen D. Smalley Signed-off-by: James Morris Cc: Florian Mickler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed