[BusyBox 0004054]: busybox 1.9.1 killall command doesn't work
bugs at busybox.net
bugs at busybox.net
Thu Jul 10 15:41:02 PDT 2008
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=4054
======================================================================
Reported By: bwondu
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 4054
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 07-10-2008 15:41 PDT
Last Modified: 07-10-2008 15:41 PDT
======================================================================
Summary: busybox 1.9.1 killall command doesn't work
Description:
executing killall <processname> retrun killall: <processname>: no process
killed
I tried to do the same thing as in busybox 1.1.0 which is in
libbb/procps.c (read_to_buf() function) replace any character < ' ' in the
string read from /proc/%d/cmdline. In libbb/find_pid_by_name.c
(find_pid_by_name() function), I removed the call to bb_basename and did a
strstr instead of strcmp and it worked. But since there are other
dependencies to these functions, I want to make sure that this doesn't
break anything. If you have a better fix for it please let me know as
killall in Busybox 1.1.0 works perfectly fine. Thanks
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
07-10-08 15:41 bwondu New Issue
07-10-08 15:41 bwondu Status new => assigned
07-10-08 15:41 bwondu Assigned To => BusyBox
======================================================================
More information about the busybox-cvs
mailing list