Re: [PATCH] vsprintf: kptr_restrict is okay in IRQ when 2
From: Jason A. Donenfeld
Date: Fri Feb 05 2016 - 16:57:03 EST
On Fri, Feb 5, 2016 at 9:46 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> Instead of doing a double-check of kptr_restrict, how about moving
> this logic down into the "case 1" test? I think that would be more
> readable in the end.
Good thinking. Will roll v2.