Re: [RESEND PATCH v2] string: uninline memcpy_and_pad

From: Kees Cook
Date: Wed Nov 03 2021 - 14:39:29 EST


On Wed, Nov 03, 2021 at 11:34:05AM -0700, Linus Torvalds wrote:
> Kees - once you have gotten all compilers fixed and everybody using
> them, you can send a patch to make it inline again.

Fair enough. I've got a pile of changes underway that do touch a bunch
of these things, so yeah, we'll have pretty wide coverage soon enough.

> I estimate that is in about ten years or so.

Heh. Well, luckily, both GCC and Clang have been pretty responsive about
getting legitimate bugs[1] fixed, so I'm gonna aim for "less than 10
years". ;)

-Kees

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419

--
Kees Cook