Re: [PATCH gnupg v13] Disable CPU speculation-related misfeatures

Jeffrey Walton via Gnupg-devel <[email protected]> Thu, 10 Jul 2025 13:51:05 -0400
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <CAH8yC8nRz13S7W7J_fD5p90Hd4J5sVFLCsF53N=cbmZT6Du_bg@mail.gmail.com>
On Thu, Jul 10, 2025 at 11:15 AM Guido Trentalancia via Gnupg-devel
<[email protected]> wrote:
>
> [...]
> I have switched to simple printf() calls in a new v13 patch, which is also my last attempt to fix this.

You cannot use printf in a signal handler. It is _not_ AS-Safe. See
the signal-safety(7) man page, like
<https://man7.org/linux/man-pages/man7/signal-safety.7.html>.

Jeff

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel