Home
last modified time | relevance | path

Searched hist:"16 bec31db751030171b31d7767fa3a5bdbe980ea" (Results 1 – 2 of 2) sorted by relevance

/linux/net/key/
H A Daf_key.cdiff 16bec31db751030171b31d7767fa3a5bdbe980ea Thu Mar 08 01:02:16 CET 2007 Eric Paris <eparis@redhat.com> [IPSEC]: xfrm audit hook misplaced in pfkey_delete and xfrm_del_sa

Inside pfkey_delete and xfrm_del_sa the audit hooks were not called if
there was any permission/security failures in attempting to do the del
operation (such as permission denied from security_xfrm_state_delete).
This patch moves the audit hook to the exit path such that all failures
(and successes) will actually get audited.

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>
/linux/net/xfrm/
H A Dxfrm_user.cdiff 16bec31db751030171b31d7767fa3a5bdbe980ea Thu Mar 08 01:02:16 CET 2007 Eric Paris <eparis@redhat.com> [IPSEC]: xfrm audit hook misplaced in pfkey_delete and xfrm_del_sa

Inside pfkey_delete and xfrm_del_sa the audit hooks were not called if
there was any permission/security failures in attempting to do the del
operation (such as permission denied from security_xfrm_state_delete).
This patch moves the audit hook to the exit path such that all failures
(and successes) will actually get audited.

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>