aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlabel
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2006-11-17 17:38:54 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:24:14 -0800
commit3de4bab5b9f8848a0c16a4b1ffe0452f0d670237 (patch)
treef65c12b53bf2ad02645ea31522f67e7318019498 /net/netlabel
parent9f2ad66509b182b399a5b03de487f45bde623524 (diff)
downloadkernel_samsung_smdk4412-3de4bab5b9f8848a0c16a4b1ffe0452f0d670237.zip
kernel_samsung_smdk4412-3de4bab5b9f8848a0c16a4b1ffe0452f0d670237.tar.gz
kernel_samsung_smdk4412-3de4bab5b9f8848a0c16a4b1ffe0452f0d670237.tar.bz2
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 <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions