aboutsummaryrefslogtreecommitdiff
path: root/libbb/find_pid_by_name.c
AgeCommit message (Collapse)Author
2005-05-03A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-08-06Joe.C writes:Eric Andersen
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.
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-03Patch from Russell Coker:Eric Andersen
I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
2003-05-26Remove cruftEric Andersen
2002-12-05Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch. I'm notEric Andersen
maintaining it anymore, and it is now terribly out of date. -Erik
2002-10-22Patch last_pach62 from vodz. This patch moves all the /proc parsingEric Andersen
code into libbb so it can be shared by ps, top, etc, saving over 1.5k.
2001-12-06If find_pid_by_name() had an error, it was returning -1, but storingEric Andersen
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
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-07-05Fix a stupid thinko, and fix killall to cope with the updatedEric Andersen
find_pid_by_name() interface -Erik
2001-07-05Implement suggestion from Adam Slattery, (don't default to killing closing ↵Eric Andersen
bug #1190.
2001-06-26Make it so we don't segfault when /proc isn't mounted -- guess pid 1...Eric Andersen
-Erik
2001-03-17Patch from Pierre PEIFFER <pierre.peiffer@sxb.bsf.alcatel.fr>Eric Andersen
that copes with the fact that processes may have been swapped out.
2001-03-16Convert utility.c into libbb.a. It is now a whole pile of .cEric Andersen
files. Clean up the resulting damage and fix up the makefile. -Erik