[PATCH 1/5] asm-generic/uaccess.h: remove __strncpy_from_user/__strnlen_user

Geert Uytterhoeven geert at linux-m68k.org
Mon May 17 00:42:02 PDT 2021

On Sat, May 15, 2021 at 12:10 AM Arnd Bergmann <arnd at kernel.org> wrote:
> From: Arnd Bergmann <arnd at arndb.de>
> This is a preparation for changing over architectures to the
> generic implementation one at a time. As there are no callers
> of either __strncpy_from_user() or __strnlen_user(), fold these
> into the strncpy_from_user() strnlen_user() functions to make

... and ...

> each implementation independent of the others.
> Many of these implementations have known bugs, but the intention
> here is to not change behavior at all and stay compatible with
> those bugs for the moment.
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>



Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

More information about the linux-riscv mailing list