From: Paul Moore Date: Fri, 17 Nov 2006 22:38:54 +0000 (-0500) Subject: SELinux: peer secid consolidation for external network labeling X-Git-Tag: v2.6.20-rc1~34^2~40^2~272 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3de4bab5b9f8848a0c16a4b1ffe0452f0d670237;p=pandora-kernel.git SELinux: peer secid consolidation for external network labeling Now that labeled IPsec makes use of the peer_sid field in the sk_security_struct we can remove a lot of the special cases between labeled IPsec and NetLabel. In addition, create a new function, security_skb_extlbl_sid(), which we can use in several places to get the security context of the packet's external label which allows us to further simplify the code in a few places. Signed-off-by: Paul Moore Signed-off-by: James Morris --- Reading git-diff-tree failed