NetBSD-Bugs archive

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

bin/59921: kdump(1) doesn't decode sigprocmask



>Number:         59921
>Category:       bin
>Synopsis:       kdump(1) doesn't decode sigprocmask
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 15 02:05:00 +0000 2026
>Originator:     Taylor R Campbell
>Release:        current, 11, 10, 9, ...
>Organization:
The NetBSDump 0xffff01nd4t10n
>Environment:
>Description:
ktrace/kdump doesn't show what operation is being done to a signal set in sigprocmask (i.e., __sigprocmask14, or any of the older compat syscalls), and what the signal set is.  For example:

 12720  12720 python3.12 CALL  __sigprocmask14(1,0x7f7fff114c10,0x7f7fff114c50)
 12720  12720 python3.12 RET   __sigprocmask14 0
 12720  12720 python3.12 CALL  __sigprocmask14(3,0x7f7fff114c50,0)
 12720  12720 python3.12 RET   __sigprocmask14 0

It would be nice if it showed a meaningful name like SIG_BLOCK and the set of signals being blocked.  (Likewise for pthread_sigmask.  Would also be nice if sigaction, i.e., __sigaction_sigtramp, decomposed the struct sigaction.)
>How-To-Repeat:
ktrace/kdump a program that uses sigprocmask
>Fix:
Yes, please!



Home | Main Index | Thread Index | Old Index