On Tue,  8 Jul 2025 21:38, Guido Trentalancia said:
> +void sigbus_handler(int signo)
> +{
> +  if (signo == SIGBUS)
> +    {
> +      log_info ("Warning: Level 1 Data Cache flushing requires the \"nosmt\" 
> boot parameter.\n");

You can't use stdio function in asignal handler!  You should also use
sigaction for better portability.  Prooer use of signals in a GnuPG
component is by using the nPth signal features.


>  void
>  early_system_init (void)
[...]
> +      log_info ("Warning: cannot catch the SIGBUS signal.\n");

Not in early_system_init.  The logging system has not been setupat this
point.


Shalom-Salam,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

Attachment: openpgp-digital-signature.asc
Description: PGP signature

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-devel

Reply via email to