can you point to the specific lines in the code that led you to this conclusion
On Mon, 17 Jun 2013 14:59:38 +0200 Cedric Blancher wrote: > I found a bug in ksh93's kill(1) implementation: It doesn't check for > errors when kill(3p) and killpg(3p) are used. > However posix says for kill(3p) and killpg(3p): > RETURN VALUE > Upon successful completion, 0 shall be returned. Otherwise, -1 > shall be returned and errno set to indicate the error. > ERRORS > The kill() function shall fail if: > EINVAL The value of the sig argument is an invalid or > unsupported signal number. > EPERM The process does not have permission to send the signal > to any receiving process. > ESRCH No process or process group can be found corresponding > to that specified by pid. > So the two syscalls can fail, and ksh93 kill(1) should check this. > Ced > -- > Cedric Blancher <[email protected]> > Institute Pasteur _______________________________________________ ast-users mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-users
