[IPSEC]: Add xfrm policy change auditing to pfkey_spdget
authorEric Paris <eparis@redhat.com>
Thu, 8 Mar 2007 00:01:45 +0000 (16:01 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Mar 2007 00:08:10 +0000 (16:08 -0800)
commit215a2dd3b43e0dc425e81d21de9d961416b1dad4
tree1b59b4ae1b4682d5da10a684a262e67b22a19246
parentef41aaa0b755f479012341ac11db9ca5b8928d98
[IPSEC]: Add xfrm policy change auditing to pfkey_spdget

pfkey_spdget neither had an LSM security hook nor auditing for the
removal of xfrm_policy structs.  The security hook was added when it was
moved into xfrm_policy_byid instead of the callers to that function by
my earlier patch and this patch adds the auditing hooks as well.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Venkat Yekkirala <vyekkirala@trustedcs.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/key/af_key.c