Fix security hole bug for KILL/KILL9 function.
Under specific condition, kill(2) would be called with its first
arguement (pid) 0 or 1. It would cause killing parent process,
inetd(8).
The bug was fixed as bellow.
* Avoid using atoi(3).
* More strict error checking with sscanf(3).