[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160718150602.1c8f1896@canb.auug.org.au>
Date: Mon, 18 Jul 2016 15:06:02 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Kees Cook <keescook@...gle.com>
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
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.
--
Cheers,
Stephen Rothwell
Powered by blists - more mailing lists