summaryrefslogtreecommitdiff
path: root/libbb/find_pid_by_name.c
AgeCommit message (Collapse)Author
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