[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Sat, 28 Jul 2007 00:55:18 +0200
Peter Zijlstra <a p zijlstra 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]