From: Eric Paris Date: Wed, 13 Oct 2010 20:24:54 +0000 (-0400) Subject: conntrack: export lsm context rather than internal secid via netlink X-Git-Tag: v2.6.37-rc1~218^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cc63249adfa957b34ca51effdee90ff8261d63f;p=pandora-kernel.git conntrack: export lsm context rather than internal secid via netlink The conntrack code can export the internal secid to userspace. These are dynamic, can change on lsm changes, and have no meaning in userspace. We should instead be sending lsm contexts to userspace instead. This patch sends the secctx (rather than secid) to userspace over the netlink socket. We use a new field CTA_SECCTX and stop using the the old CTA_SECMARK field since it did not send particularly useful information. Signed-off-by: Eric Paris Reviewed-by: Paul Moore Acked-by: Patrick McHardy Signed-off-by: James Morris --- Reading git-diff-tree failed