signal.c: Change printsignal to properly handle xlat styles

Dmitry V. Levin ldv at altlinux.org
Sat Dec 22 17:49:10 UTC 2018


On Fri, Dec 21, 2018 at 08:05:53PM -0800, shankarapailoor wrote:
> >btw, have you tried to invoke k_sigaction with an invalid signal number,
> e.g. -1?  Does the output look good in verbose mode?
> 
> Ah good point. I didn't consider that. With my change verbose mode
> prints -1 /* -1 */ which is wrong. Here is a patch which addresses
> that along with your above comments.

Would the output still be OK in verbose mode in case of other
invalid signal numbers, e.g. 256?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20181222/c55edc7f/attachment.bin>


More information about the Strace-devel mailing list