[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sigdescr_np for SIGEMT is useless

From: Samuel Thibault
Subject: Re: sigdescr_np for SIGEMT is useless
Date: Sat, 3 Sep 2022 10:39:56 +0200
User-agent: NeoMutt/20170609 (1.8.3)


It is nice to see precise bug reports (though here the foo.c testcase is
missing as attachment), but please check whether this is a hurd-specific
issue or a generic glibc issue, as we have really much less manpower
than the glibc team in general. Here it is a bug in glibc in general,
and in Linux too (even if not on x86, sparc/mips/alpha have it), so
please report it to the libc-alpha list.


Bruno Haible, le sam. 03 sept. 2022 08:48:22 +0200, a ecrit:
> The function sigdescr_np is supposed to "return the message describing the
> signal signum" [1].
> However, for the value SIGEMT, it returns a string without real information.
> If a user did not know what SIGEMT means before, he won't know it afterwards.
> How to reproduce:
> $ gcc -Wall foo.c
> $ ./a.out
> SIGEMT -> EMT trap
> Suggestion: Use the description string "Instruction emulation needed" instead.
> That's what is understandable from the FreeBSD man page [2].
> Seen on Debian GNU/Hurd, with glibc 2.34.
> [1] https://www.gnu.org/software/libc/manual/html_node/Signal-Messages.html
> [2] https://www.freebsd.org/cgi/man.cgi?sektion=3&query=signal

reply via email to

[Prev in Thread] Current Thread [Next in Thread]