RE: [PATCH] xfrm audit hook misplaced in pfkey_delete and xfrm_del_sa

From: Venkat Yekkirala
Date: Mon Mar 05 2007 - 11:02:27 EST


> 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.

Not sure ALL failures are being audited this way elsewhere, but I guess
they would catchup in course of time.

>
> Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
Acked-by: Venkat Yekkirala <vyekkirala@xxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/