Re: linux-next: manual merge of the kspp tree with the arm64 tree

From: Stephen Rothwell
Date: Mon Jul 18 2016 - 01:06:13 EST


Hi Kees,

On Sun, 17 Jul 2016 21:49:40 -0700 Kees Cook <keescook@xxxxxxxxxx> wrote:
>
> If I'm reading correctly, this second fixup is wrong. It should read;
>
> kasan_check_read(from, n);
> check_object_size(from, n, true);
> return __arch_copy_to_user(to, from, n);
>
> (i.e. fix double space between "return" and "__arch_copy..." in both
> chunks and add check_object_size() calls after the kasan calls in both
> chunks.

Yep, sorry. I will fix it up tomorrow.

--
Cheers,
Stephen Rothwell