[Toybox] [PATCH] Improve signal name<->number conversions.
enh
enh at google.com
Fri Jun 7 23:16:43 PDT 2019
Include all the signals, not just the POSIX ones.
In particular, improve support for real-time signals. My attempt to
switch AOSP builds over to toybox timeout got reverted when I broke the
ART build bots which use SIGRTMIN+2.
Also fix `kill -l 3` to show "QUIT" and `kill -l QUIT` to show "3".
Also make the `kill -l` output include numbers and names, and format it
to look better on a 80x24 tty, because it's always August 1978 somewhere.
---
lib/lib.c | 81 +++++++++++++++++++++++++++++++++++++---------
lib/lib.h | 2 ++
toys/lsb/killall.c | 2 +-
toys/posix/kill.c | 5 +--
4 files changed, 71 insertions(+), 19 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Improve-signal-name-number-conversions.patch
Type: text/x-patch
Size: 6101 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190607/cd40ab55/attachment-0002.bin>
More information about the Toybox
mailing list