public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Kees Cook <keescook@google•com>
Cc: Catalin Marinas <catalin.marinas@arm•com>,
	Linux-Next <linux-next@vger•kernel.org>,
	LKML <linux-kernel@vger•kernel.org>,
	Yang Shi <yang.shi@linaro•org>
Subject: Re: linux-next: manual merge of the kspp tree with the arm64 tree
Date: Mon, 18 Jul 2016 15:06:02 +1000	[thread overview]
Message-ID: <20160718150602.1c8f1896@canb.auug.org.au> (raw)
In-Reply-To: <CAGXu5jL-=N8cxoLmfNhG-1Pa864MQBbue1SyBQo-HsuOH41_nQ@mail.gmail.com>

Hi Kees,

On Sun, 17 Jul 2016 21:49:40 -0700 Kees Cook <keescook@google•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

  reply	other threads:[~2016-07-18  5:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18  2:59 linux-next: manual merge of the kspp tree with the arm64 tree Stephen Rothwell
2016-07-18  4:49 ` Kees Cook
2016-07-18  5:06   ` Stephen Rothwell [this message]
2016-07-18  5:14     ` Kees Cook
  -- strict thread matches above, loose matches on Subject: below --
2016-07-21  2:34 Stephen Rothwell
2021-04-26  0:34 Stephen Rothwell
2022-09-27 18:59 broonie
2022-09-27 19:28 ` Kees Cook
2022-10-05  0:22 ` Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160718150602.1c8f1896@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=catalin.marinas@arm$(echo .)com \
    --cc=keescook@google$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=yang.shi@linaro$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox