summaryrefslogtreecommitdiff
path: root/init/halt.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* PID should be stored in pid_t, not int or long.Denis Vlasenko2006-11-011-11/+16
| | | | | find_pid_by_name() was returning 0 or -1 in last array element, but -1 was never checked. We can use just 0 intead.
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-1/+1
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Change license statements (and clean up headers) on some of the files thatRob Landley2006-09-221-3/+1
| | | | Erik or I are primary copyright holders on.
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-021-3/+2
| | | | and eventual platform specific includes in early.
* - provide fallback defines for non-linuxBernhard Reutner-Fischer2006-05-261-1/+13
|
* Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley2006-02-221-2/+4
|
* Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.Rob Landley2006-01-301-12/+26
|
* The whole "init is sometimes pid 3" thing is silly. Init is pid 1, anythingRob Landley2006-01-221-22/+2
| | | | | | else is a kernel bug. Both 2.4 and 2.6 should get this right now. This should fix the bug IraquiGeek is seeing (although killall still needs to be fixed.)
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* Support reboot, halt, and poweroff independent of busybox init.Eric Andersen2003-07-221-2/+18
| | | | | Simplify and fixup some logic. -Erik
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-1/+1
|
* Apply last_patch93 from vodz:Eric Andersen2003-06-271-12/+3
| | | | | | | | | | | | | andersen@busybox.net wrote: >Message: 4 >Modified Files: > init.c >Log Message: >Remove code for unsupported kernel versions Hmm. Current init.c have check >= 2.2.0 kernel one time too. Ok. Last patch removed this point and move common init code to new file for /init dir
* Major coreutils update.Manuel Novoa III2003-03-191-1/+1
|
* Update some missing copyright noticesEric Andersen2002-04-131-1/+1
|
* If find_pid_by_name() had an error, it was returning -1, but storingEric Andersen2001-12-061-1/+1
| | | | | | | | 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-1/+1
| | | | -Erik
* Fix a nasty bug with variable name shadowingEric Andersen2001-10-181-1/+1
|
* Look for either "init" or "linuxrc" processesEric Andersen2001-10-031-2/+5
|
* Be extra extra careful about what we dereference.Eric Andersen2001-07-051-1/+4
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-1/+1
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Centralize handling of --help.Matt Kraai2000-07-191-3/+0
|
* Add usage messages for applets without them.Matt Kraai2000-07-191-0/+3
|
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-2/+2
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Patch to make killall actually kill all PIDs with the specified name,Erik Andersen2000-04-071-1/+1
| | | | | | | rather then busylooping trying to kill the first one until it dies. Should be more efficient now, and will only send one signal to each specified process. -Erik
* Fix bugs related to finding PIDs.Erik Andersen2000-03-071-0/+4
| | | | -Erik
* Wrote killall.Erik Andersen2000-03-071-1/+1
| | | | | | Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-5/+4
| | | | -Erik
* Adjustments for Johns init stuff,Eric Andersen1999-12-091-1/+2
| | | | -Erik
* Fixed up copyright notices and suchEric Andersen1999-10-201-0/+22
|
* More stuffEric Andersen1999-10-181-6/+3
|
* Initial revision0_29alpha2Eric Andersen1999-10-051-0/+12