Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src
On 09.05.2017 13:14, Robert Elz wrote:
> Module Name: src
> Committed By: kre
> Date: Tue May 9 11:14:16 UTC 2017
>
> Modified Files:
> src/distrib/sets/lists/base: shl.mi
> src/distrib/sets/lists/comp: mi
> src/distrib/sets/lists/debug: shl.mi
> src/include: signal.h
> src/lib/libc: shlib_version
> src/lib/libc/gen: Makefile.inc
> Added Files:
> src/lib/libc/gen: signalname.3 signalname.c signalnext.c signalnumber.c
>
> Log Message:
> Add the new signalname/signalnext/signalnumber interface to libc.
>
> This as discussed on current-users in the thread
> entitled:
> Proposal: new libc/libutil functions to map SIGXXXX <-> "XXXX"
> that can be found (starting at):
> http://mail-index.netbsd.org/current-users/2017/04/28/msg031600.html
>
> These functions provide the mechanism to enable applications
> to divorce themselves from internal details of the signal
> implementation.
>
> Libc minor bumped, prototypes in <signal.h>, sets lists updated (and sorted).
>
> One and all: feel free to improve the sources & man page (etc), but
> please do not change the function signatures without discussion.
>
I have got a strange behavior of kill(1):
$ kill -l
HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG
STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH INFO USR1
USR2 PWR ERR
$ ktruss -i -o /tmp/1.x kill -l
HUP INT QUIT ILL TRAP ABRT EMT FPE KILL
BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP
CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF
WINCH INFO USR1 USR2 PWR RT0 RT1 RT2 RT3
RT4 RT5 RT6 RT7 RT8 RT9 RT10 RT11 RT12
RT13 RT14 RT15 RT16 RT17 RT18 RT19 RT20 RT21
RT22 RT23 RT24 RT25 RT26 RT27 RT28 RT29 RT30
(gdb) r
Starting program: /bin/kill -l
HUP INT QUIT ILL TRAP ABRT EMT FPE KILL
BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP
CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF
WINCH INFO USR1 USR2 PWR RT0 RT1 RT2 RT3
RT4 RT5 RT6 RT7 RT8 RT9 RT10 RT11 RT12
RT13 RT14 RT15 RT16 RT17 RT18 RT19 RT20 RT21
RT22 RT23 RT24 RT25 RT26 RT27 RT28 RT29 RT30
[Inferior 1 (process 6257) exited normally]
(gdb)
What happened to RT signal names?
I'm not sure what's wrong as this code works under a debugger.
Sanitizers don't catch anything (at least when sanitizing kill.c).
Home |
Main Index |
Thread Index |
Old Index