user/sysutils/kill.c: Data abort

Stefan Sperling stsp at stsp.in-berlin.de
Tue Oct 3 23:47:17 CEST 2006


On Tue, Oct 03, 2006 at 09:32:31PM +0200, Daniele Forsi wrote:
> If you don't give an argument to "kill" you get a data abort error.
> This happens if you run /etc/rc.d/network stop and udhcpc is not running
> 
> kill `pidof udhcpc` 2> /dev/null

AFAIK we've been using busybox' kill, not the one
from user/sysutils.

At least in a recent GBAMP build, I get a nice help message
when I run kill without any arguments, and it also says that
is it from busybox.

> How come that this source which is around since 1993 does not validate
> the arguments?

Because no one ever used it? :)

I will apply your patch anyway, thanks.

-- 
stefan
http://stsp.in-berlin.de                                 PGP Key: 0xF59D25F0



More information about the dslinux-devel mailing list