[PATCH 0/5] asm-generic: strncpy_from_user/strnlen_user cleanup

Arnd Bergmann arnd at kernel.org
Sat May 15 02:55:10 PDT 2021


On Sat, May 15, 2021 at 8:40 AM Christoph Hellwig <hch at lst.de> wrote:
>
> I generall like this consolidation, but for the patches that remote
> the arch / asm-generic versions, can you please elaborate a little
> more why the lib version is preferable?  The current commit logs are
> not very informative.

Indeed. I do remember writing the patches last year thinking "this should
really get fixed", but apparently I failed to describe the actual problem at
the time. I have gone through it again and annotated what I found now,
but I have a feeling that there were additional problems with the old
code that I still did not capture.

Sending v2 now: same code, more text.

       Arnd



More information about the linux-snps-arc mailing list