[BusyBox] Bug in find_pid_by_name

Joe.C joe at numa.com.tw
Sat Apr 12 07:31:39 UTC 2003


   This happen in both stable & development branch.
   If the program name to find is longer than 16 characters,
this function will failed. It won't return any pids.
   After checking source codes, I found the program name
in /proc/<pid>/stat only contain 16 characters. 'killall'
in linux distribution will only match first 16 characters.
   We should change busybox to do the same. I can build
a patch to fix this bug if it will help.

Joe.C




More information about the busybox mailing list