summaryrefslogtreecommitdiff
path: root/init (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-3/+3
| | | | xlseek and fdlength() for the new mkswap.
* Patch from Shaun Jackman to set environment variable RUNLEVEL equal toRob Landley2006-07-091-19/+3
| | | | | | | init's argv[1], so if you append "single" to your kernel command line and the kernel doesn't parse it, RUNLELEL=single. Plus a few unrelated header cleanups while I was in the area...
* More removal of "#if 0" content."Robert P. J. Day"2006-07-011-12/+0
|
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-024-20/+14
| | | | and eventual platform specific includes in early.
* - fix CONFIG_DEBUG_INIT compile failureBernhard Reutner-Fischer2006-06-021-8/+15
|
* make halt and poweroff messages more accurate (i.e., claim "we're about to",Paul Fox2006-06-011-24/+21
| | | | rather than "it's done", and combine with reboot handler to save space.
* - fix IMA compile error i introduced when adding this untested snippet.Bernhard Reutner-Fischer2006-05-312-1/+2
|
* - consolidate "Sending SIG%s to all processes"; untested..Bernhard Reutner-Fischer2006-05-303-6/+7
| | | | | | text data bss dec hex filename 5379 32 8 5419 152b init/init.o.oorig 5358 32 8 5398 1516 init/init.o
* - remove useless variable "status" from init_main.Bernhard Reutner-Fischer2006-05-301-3/+2
| | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/waitpid.html suggests that we need not specify a status if we don't want, and we don't. "If wait() or waitpid() return because the status of a child process is available, these functions shall return a value equal to the process ID of the child process. In this case, if the value of the argument stat_loc is not a null pointer, information shall be stored in the location pointed to by stat_loc. " text data bss dec hex filename 5391 32 8 5431 1537 init/init.o.06 5379 32 8 5419 152b init/init.o
* - use config_buffer for message()Bernhard Reutner-Fischer2006-05-301-25/+14
| | | | | | | | | | | | | | - add second argument to waitfor(*action,pid); if action==NULL then use pid tor wait for. If an action was given, we wait for the action to finish just as before. In run() remove second and third occurance of the same functionality the waitfor() call now provides. Adjust the former only caller of waitfor accordingly. PS: Not using waitfor but creating a second function used a few bytes more than simply extending and reusing waitfor. text data bss dec hex filename 5426 32 8 5466 155a init/init.o.orig 5391 32 8 5431 1537 init/init.o
* - DEBUG_INIT -> config CONFIG_DEBUG_INITBernhard Reutner-Fischer2006-05-292-13/+16
|
* - landley, remove this?Bernhard Reutner-Fischer2006-05-291-1/+1
|
* - set_term() doesn't need an argument. (Like r15220 this is just compile-tested)Bernhard Reutner-Fischer2006-05-291-6/+6
| | | | | | | text data bss dec hex filename 5432 32 8 5472 1560 init/init.o.r15220 5426 32 8 5466 155a init/init.o
* - move common code into new open_new_terminal() function;Bernhard Reutner-Fischer2006-05-291-23/+27
| | | | | | | | | | | | | text data bss dec hex filename 864434 10244 645892 1520570 1733ba busybox_old 864386 10244 645892 1520522 17338a busybox_unstripped add/remove: 1/0 grow/shrink: 0/2 up/down: 92/-143 (-51) function old new delta open_new_terminal - 92 +92 exec_signal 345 276 -69 run 1527 1453 -74 Again, 48 != 51 so let's trust the former..
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* - provide fallback defines for non-linuxBernhard Reutner-Fischer2006-05-261-1/+13
|
* - use portability wrapper define bb_setpgrp.Bernhard Reutner-Fischer2006-05-261-1/+2
|
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-8/+0
| | | | - use shorter boilerplate while at it
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* fix whitespaceMike Frysinger2006-05-131-1/+1
|
* just include fcntl.h not sys/fcntl.hMike Frysinger2006-04-291-1/+1
|
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley2006-04-131-5/+5
| | | | to do it in Config.in.
* remove some more config code rob missed in rev 13701 cleanup as reported by ↵Mike Frysinger2006-03-281-5/+0
| | | | Robert P. J. Day
* More from Jan Kiszka: this is a port of the latest sysv-init SELinux patch.Rob Landley2006-03-271-0/+21
| | | | | | It makes busybox invoke the libselinux library function to load the binary policy right at system start-up. It was successfully tested on a mini-SELinux system. Note: requires recent libselinux. I'm using 1.28.
* Patch from Rogelio Serrano to defer checking whether the tty exists untilRob Landley2006-03-221-4/+3
| | | | we actually need to spawn something on it.
* - revert back to r14406Bernhard Reutner-Fischer2006-03-131-7/+14
|
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-11/+14
| | | | the busybox binary) into enums (which don't).
* - backout using features which are not available with the previous stableBernhard Reutner-Fischer2006-03-091-2/+6
| | | | version of make (3.71.1).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-063-3/+3
| | | | definitions. (That should only be on prototypes.)
* - use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - fixes parallel builds (make -j)Bernhard Reutner-Fischer2006-03-011-13/+2
| | | | - use less resources for the buildsystem itself
* Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley2006-02-221-2/+4
|
* Don't build directory libraries unless we're building an applet that needs it.Rob Landley2006-02-211-0/+2
| | | | Cherry-picked from Devin Bayer's big MacOS X patch.
* Missed this in svn 13701.Rob Landley2006-02-101-12/+0
|
* make the build system puuuuuuuuuuurtyMike Frysinger2006-02-021-3/+2
|
* removed anoinig `unused' warnings"Vladimir N. Oleynik"2006-02-011-8/+9
|
* Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.Rob Landley2006-01-305-110/+56
|
* just whitespaceTim Riker2006-01-251-1/+1
|
* The whole "init is sometimes pid 3" thing is silly. Init is pid 1, anythingRob Landley2006-01-225-127/+9
| | | | | | 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.)
* - shared libbusybox.Bernhard Reutner-Fischer2006-01-151-5/+10
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* usage bb_dev_null"Vladimir N. Oleynik"2005-10-121-2/+2
|
* change strange depend to libbb.h, but require busybox.h"Vladimir N. Oleynik"2005-10-061-1/+1
|
* don't out \r to syslog"Vladimir N. Oleynik"2005-09-291-1/+1
|
* re-order a little for alphabeticalMike Frysinger2005-09-241-7/+7
|
* use the shorter license headerMike Frysinger2005-09-241-15/+2
|
* use brief license lineMike Frysinger2005-09-241-15/+2
|
* Why have a separate CONFIG_INIT_SWAPON when we already have CONFIG_SWAPONOFF?Rob Landley2005-08-302-72/+14
|
* Bug system entry #1 says that when busybox doesn't have swapoff,Rob Landley2005-08-301-3/+1
| | | | init shouldn't call swapoff.
* applying patch from bug 24:Paul Fox2005-08-012-0/+18
| | | | | 0000024 03-16-05 patch: allow init to set controlling tty
* use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger2005-07-271-1/+1
|