Re: [PATCH] xfrm audit hook misplaced in pfkey_delete andxfrm_del_sa

From: David Miller
Date: Wed Mar 07 2007 - 18:45:15 EST


From: Eric Paris <eparis@xxxxxxxxxxxxxx>
Date: Fri, 02 Mar 2007 15:15:36 -0500

> 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@xxxxxxxxxx>

Also applied, thanks a lot Eric.
-
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/