bin/40282: /bin/kill has bad error checking for command line parameters

rwatson at FreeBSD.org rwatson at FreeBSD.org
Fri Jan 25 17:28:06 UTC 2008


Synopsis: /bin/kill has bad error checking for command line parameters

State-Changed-From-To: open->analyzed
State-Changed-By: rwatson
State-Changed-When: Fri Jan 25 17:24:00 UTC 2008
State-Changed-Why: 
If we want to make a change along these lines, we should change from
warnx() to errx(EX_USAGE, ...) rather than changing the loop logic.
Does the csh/tcsh kill validate all arguments before starting the
killing (so to speak), or does it abort when it hits the first bad
one (as this patch suggests)?


http://www.freebsd.org/cgi/query-pr.cgi?pr=40282


More information about the freebsd-bugs mailing list