aboutsummaryrefslogtreecommitdiff
path: root/init
AgeCommit message (Collapse)Author
2006-07-09Patch from Shaun Jackman to set environment variable RUNLEVEL equal toRob Landley
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...
2006-07-01More removal of "#if 0" content."Robert P. J. Day"
2006-06-02- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early.
2006-06-02- fix CONFIG_DEBUG_INIT compile failureBernhard Reutner-Fischer
2006-06-01make halt and poweroff messages more accurate (i.e., claim "we're about to",Paul Fox
rather than "it's done", and combine with reboot handler to save space.
2006-05-31- fix IMA compile error i introduced when adding this untested snippet.Bernhard Reutner-Fischer
2006-05-30- consolidate "Sending SIG%s to all processes"; untested..Bernhard Reutner-Fischer
text data bss dec hex filename 5379 32 8 5419 152b init/init.o.oorig 5358 32 8 5398 1516 init/init.o
2006-05-30- remove useless variable "status" from init_main.Bernhard Reutner-Fischer
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
2006-05-30- use config_buffer for message()Bernhard Reutner-Fischer
- 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
2006-05-29- DEBUG_INIT -> config CONFIG_DEBUG_INITBernhard Reutner-Fischer
2006-05-29- landley, remove this?Bernhard Reutner-Fischer
2006-05-29- set_term() doesn't need an argument. (Like r15220 this is just compile-tested)Bernhard Reutner-Fischer
text data bss dec hex filename 5432 32 8 5472 1560 init/init.o.r15220 5426 32 8 5466 155a init/init.o
2006-05-29- move common code into new open_new_terminal() function;Bernhard Reutner-Fischer
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..
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-26- provide fallback defines for non-linuxBernhard Reutner-Fischer
2006-05-26- use portability wrapper define bb_setpgrp.Bernhard Reutner-Fischer
2006-05-19- remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer
- use shorter boilerplate while at it
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-05-13fix whitespaceMike Frysinger
2006-04-29just include fcntl.h not sys/fcntl.hMike Frysinger
2006-04-13Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley
to do it in Config.in.
2006-03-28remove some more config code rob missed in rev 13701 cleanup as reported by ↵Mike Frysinger
Robert P. J. Day
2006-03-27More from Jan Kiszka: this is a port of the latest sysv-init SELinux patch.Rob Landley
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.
2006-03-22Patch from Rogelio Serrano to defer checking whether the tty exists untilRob Landley
we actually need to spawn something on it.
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-10Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley
the busybox binary) into enums (which don't).
2006-03-09- backout using features which are not available with the previous stableBernhard Reutner-Fischer
version of make (3.71.1).
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-03-02- use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer
Fixes make trying to include the very same file in an endless loop.
2006-03-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
2006-02-22Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley
2006-02-21Don't build directory libraries unless we're building an applet that needs it.Rob Landley
Cherry-picked from Devin Bayer's big MacOS X patch.
2006-02-10Missed this in svn 13701.Rob Landley
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-02-01removed anoinig `unused' warnings"Vladimir N. Oleynik"
2006-01-30Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.Rob Landley
2006-01-25just whitespaceTim Riker
2006-01-22The whole "init is sometimes pid 3" thing is silly. Init is pid 1, anythingRob Landley
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.)
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2005-10-12usage bb_dev_null"Vladimir N. Oleynik"
2005-10-06change strange depend to libbb.h, but require busybox.h"Vladimir N. Oleynik"
2005-09-29don't out \r to syslog"Vladimir N. Oleynik"
2005-09-24re-order a little for alphabeticalMike Frysinger
2005-09-24use the shorter license headerMike Frysinger
2005-09-24use brief license lineMike Frysinger
2005-08-30Why have a separate CONFIG_INIT_SWAPON when we already have CONFIG_SWAPONOFF?Rob Landley
2005-08-30Bug system entry #1 says that when busybox doesn't have swapoff,Rob Landley
init shouldn't call swapoff.
2005-08-01applying patch from bug 24:Paul Fox
0000024 03-16-05 patch: allow init to set controlling tty
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2005-07-06move var decls around a little to help gcc make smaller codeMike Frysinger