[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160428090427.GB5773@gmail.com>
Date: Thu, 28 Apr 2016 11:04:27 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Kees Cook <keescook@...omium.org>
Cc: Yinghai Lu <yinghai@...nel.org>, Baoquan He <bhe@...hat.com>,
Borislav Petkov <bp@...e.de>, Ingo Molnar <mingo@...hat.com>,
"x86@...nel.org" <x86@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
"H.J. Lu" <hjl.tools@...il.com>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Andy Lutomirski <luto@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] x86/boot: Rename overlapping memcpy() to memmove()
* Kees Cook <keescook@...omium.org> wrote:
> +void *memcpy(void *dest, const void *src, size_t n)
btw., if there's any doubt about other overlapping uses, we could add this to
memcpy():
WARN_ON_ONCE(dest > src && dest-src < n);
or so? Does printk() work so early on?
Thanks,
Ingo
Powered by blists - more mailing lists