[PATCH] audit: fix two bugs in the new execve audit code

Andrew Morton akpm at linux-foundation.org
Fri Jul 27 23:05:41 UTC 2007


On Sat, 28 Jul 2007 00:55:18 +0200
Peter Zijlstra <a.p.zijlstra at chello.nl> wrote:

> -		if (!ret) {
> +		if (ret) {
>  			WARN_ON(1);
>  			send_sig(SIGKILL, current, 0);
>  		}

fwiw, that could now become

	if (WARN_ON(ret))
		send_sig(SIGKILL, current, 0);




More information about the Linux-audit mailing list