Messages in this thread | | | Date | Thu, 28 Apr 2016 11:04:27 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH v2] x86/boot: Rename overlapping memcpy() to memmove() |
| |
* Kees Cook <keescook@chromium.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
| |