[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGXu5jLxOeJqjGuumGQ-dsAbM+NUR6m=o5OASJKSMGLGfM68OQ@mail.gmail.com>
Date: Sun, 17 Jul 2016 22:14:06 -0700
From: Kees Cook <keescook@...gle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Catalin Marinas <catalin.marinas@....com>,
Linux-Next <linux-next@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Yang Shi <yang.shi@...aro.org>
Subject: Re: linux-next: manual merge of the kspp tree with the arm64 tree
On Sun, Jul 17, 2016 at 10:06 PM, Stephen Rothwell <sfr@...b.auug.org.au> wrote:
> Hi Kees,
>
> On Sun, 17 Jul 2016 21:49:40 -0700 Kees Cook <keescook@...gle.com> 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.
Cool, thanks! :)
-Kees
--
Kees Cook
Brillo & Chrome OS Security
Powered by blists - more mailing lists