Re: [GIT PULL] FORTIFY_SOURCE updates for v5.18-rc1

From: Linus Torvalds
Date: Sat Mar 26 2022 - 15:42:01 EST


On Sat, Mar 26, 2022 at 12:29 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Because if all the compiler issues and warnings have been sorted out,
> it sounds to me like the compile-time side could/should be done
> unconditionally if there are no runtime downsides.

.. or do the existing compiler warnings for the builtins already cover
all cases, and the only reason the fortify-source code has
compile-time warnings is that the option takes over the builtins?

So maybe there's no upside to the fortify-source code for that case?

Linus