]> granicus.if.org Git - procps-ng/commit
kill: use sigqueue to pass value with the signal.
authorArun Chandrasekaran <aruncxy@gmail.com>
Fri, 24 Apr 2020 09:22:47 +0000 (19:22 +1000)
committerCraig Small <csmall@dropbear.xyz>
Fri, 24 Apr 2020 09:22:47 +0000 (19:22 +1000)
commit2b804a532a90a98bccc5255a728da9076a5e4f4f
treeefd5de4e8a92512e07320d199d9f2865ce9cbe27
parent1f5e037d4f1767f3b57e2b0c43d2cd576ed616c1
kill: use sigqueue to pass value with the signal.

New -q/--queue option for kill so it will send an integer to the
signalled process. See sigqueue(3) for details.

References:
 https://pubs.opengroup.org/onlinepubs/009695399/functions/sigqueue.html
 procps-ng/procps!32

Signed-off-by: Craig Small <csmall@dropbear.xyz>
kill.1
skill.c
testsuite/kill.test/kill.exp