]> granicus.if.org Git - procps-ng/commit
kill: split out from skill/snice
authorCraig Small <csmall@enc.com.au>
Fri, 25 Sep 2015 23:13:13 +0000 (09:13 +1000)
committerCraig Small <csmall@enc.com.au>
Fri, 25 Sep 2015 23:13:13 +0000 (09:13 +1000)
commitf65121ef74f2792b4ed0e4e457e85d55eb5a80ef
tree126e8a0c83b0902abe771f82b4def7172565795c
parentf37e5eec961417c107fa4beb5546e703023d3826
kill: split out from skill/snice

The first part of fixing skill/snice to use the library instead
of directly readdir()ing /proc which is what it does now.

Remove the kill code from the skill/snice code and put common
elements into lib/signals.c Not 100% sure that is the right
destination instead of a new lib file, but ok for now.

kill shares some parsing logic with skill/snice but mainly
around signal specifications. The "do it" code is very different.

Signed-off-by: Craig Small <csmall@enc.com.au>
Makefile.am
include/signals.h
kill.c [new file with mode: 0644]
lib/signals.c
skill.c