pgrep: use sigqueue to pass value with the signal.

Based on the command line option, use 'sigqueue'
instead of 'kill' to pass the integer value with
the signal.

References:
 procps-ng/procps!32

Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
Arun Chandrasekaran
2020-04-25 13:15:06 +10:00
committed by Craig Small
parent 5335851452
commit 7d55409b82
3 changed files with 33 additions and 3 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
procps-ng NEXT
--------------
* kill: Pass int to signalled process merge #32
* pgrep: Pass int to signalled process merge #32
* pgrep: Check sanity of SG_ARG_MAX issue #152
* pidof: show worker threads Redhat #1803640
* ps.1: Mention stime alias issue #164