summaryrefslogtreecommitdiff
path: root/libbb/find_pid_by_name.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-4/+4
|
* Joe.C writes:Eric Andersen2003-08-061-1/+5
| | | | | | | | | | | | | | | I've reported this bug in April and it still exists in 1.00-pre2. So I made patches for both 0.60.x and 1.00-pre2. The patch is very simple, just use strncmp instead of strcmp. Please apply if it is OK. Here's the procedure to test this problem: Create a executable with very long name, say 'test_1234567890123456' and execute it. Try using 'killall' or 'pidof' to find/kill this program. Without this patch, you can't find the program.
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-1/+1
|
* Patch from Russell Coker:Eric Andersen2003-07-031-0/+4
| | | | | I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
* Remove cruftEric Andersen2003-05-261-2/+0
|
* Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch. I'm notEric Andersen2002-12-051-83/+0
| | | | | maintaining it anymore, and it is now terribly out of date. -Erik
* Patch last_pach62 from vodz. This patch moves all the /proc parsingEric Andersen2002-10-221-44/+10
| | | | code into libbb so it can be shared by ps, top, etc, saving over 1.5k.
* If find_pid_by_name() had an error, it was returning -1, but storingEric Andersen2001-12-061-21/+9
| | | | | | | | that into a pid_t, which is unsigned on a number archs. Furthermore, find_pid_by_name() would _never_ return an error if the intended proces was "init", but instead would return 1, meaning we would fail to work on 2.4.x kernels running an initrd... -Erik
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-10/+4
| | | | -Erik
* Fix a stupid thinko, and fix killall to cope with the updatedEric Andersen2001-07-051-0/+2
| | | | | find_pid_by_name() interface -Erik
* Implement suggestion from Adam Slattery, (don't default to killing closing ↵Eric Andersen2001-07-051-3/+16
| | | | bug #1190.
* Make it so we don't segfault when /proc isn't mounted -- guess pid 1...Eric Andersen2001-06-261-0/+9
| | | | -Erik
* Patch from Pierre PEIFFER <pierre.peiffer@sxb.bsf.alcatel.fr>Eric Andersen2001-03-171-7/+14
| | | | | that copes with the fact that processes may have been swapped out.
* Convert utility.c into libbb.a. It is now a whole pile of .cEric Andersen2001-03-161-0/+168
files. Clean up the resulting damage and fix up the makefile. -Erik