aboutsummaryrefslogtreecommitdiff
path: root/init (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Rogelio Serrano to defer checking whether the tty exists untillandley2006-03-221-4/+3
| | | | | | | we actually need to spawn something on it. git-svn-id: svn://busybox.net/trunk/busybox@14606 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert back to r14406aldot2006-03-131-7/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14531 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko turning static const int (which gets emitted intolandley2006-03-101-11/+14
| | | | | | | the busybox binary) into enums (which don't). git-svn-id: svn://busybox.net/trunk/busybox@14513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - backout using features which are not available with the previous stablealdot2006-03-091-2/+6
| | | | | | | version of make (3.71.1). git-svn-id: svn://busybox.net/trunk/busybox@14477 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-063-3/+3
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use absolute path for top_builddir and top_srcdir.aldot2006-03-021-0/+4
| | | | | | | Fixes make trying to include the very same file in an endless loop. git-svn-id: svn://busybox.net/trunk/busybox@14429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fixes parallel builds (make -j)aldot2006-03-011-13/+2
| | | | | | | - use less resources for the buildsystem itself git-svn-id: svn://busybox.net/trunk/busybox@14407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko to constify things and fix a few typos.landley2006-02-221-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14210 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't build directory libraries unless we're building an applet that needs it.landley2006-02-211-0/+2
| | | | | | | Cherry-picked from Devin Bayer's big MacOS X patch. git-svn-id: svn://busybox.net/trunk/busybox@14165 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Missed this in svn 13701.landley2006-02-101-12/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13905 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the build system puuuuuuuuuuurtyvapier2006-02-021-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed anoinig `unused' warningsvodz2006-02-011-8/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.landley2006-01-305-110/+56
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13701 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The whole "init is sometimes pid 3" thing is silly. Init is pid 1, anythinglandley2006-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.) git-svn-id: svn://busybox.net/trunk/busybox@13489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shared libbusybox.aldot2006-01-151-5/+10
| | | | | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something.. git-svn-id: svn://busybox.net/trunk/busybox@13346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* usage bb_dev_nullvodz2005-10-121-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11846 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change strange depend to libbb.h, but require busybox.hvodz2005-10-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11791 69ca8d6d-28ef-0310-b511-8ec308f3f277
* don't out \r to syslogvodz2005-09-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* re-order a little for alphabeticalvapier2005-09-241-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11633 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use the shorter license headervapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use brief license linevapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11618 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Why have a separate CONFIG_INIT_SWAPON when we already have CONFIG_SWAPONOFF?landley2005-08-302-72/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11291 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug system entry #1 says that when busybox doesn't have swapoff,landley2005-08-301-3/+1
| | | | | | | init shouldn't call swapoff. git-svn-id: svn://busybox.net/trunk/busybox@11290 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying patch from bug 24:pgf2005-08-012-0/+18
| | | | | | | | 0000024 03-16-05 patch: allow init to set controlling tty git-svn-id: svn://busybox.net/trunk/busybox@11007 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use toplevel ARFLAGS and update default ARFLAGS to be quietvapier2005-07-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10923 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move var decls around a little to help gcc make smaller codevapier2005-07-061-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10723 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 2005-07-04 Shaun Jackman <sjackman@gmail.com>vapier2005-07-061-3/+2
| | | | | | | | | * init/init.c: Do not include sys/mount.h. (message): Use O_NONBLOCK instead of O_NDELAY. (console_init): Ditto. git-svn-id: svn://busybox.net/trunk/busybox@10722 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 2005-07-05 Shaun Jackman <sjackman@gmail.com>vapier2005-07-062-0/+14
| | | | | | | | | * init/Config.in (CONFIG_FEATURE_INIT_SWAPON): New option. * init/init.c (check_memory): Disable the swapon feature unless CONFIG_FEATURE_INIT_SWAPON is defined. git-svn-id: svn://busybox.net/trunk/busybox@10721 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename log var to log_console so we dont override internal gcc/glibc log funcvapier2005-07-051-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10716 69ca8d6d-28ef-0310-b511-8ec308f3f277
* jfb2 writes in Bug 119:vapier2005-04-161-0/+4
| | | | | | | | | | | | | | | The init applet will restart (re-exec) itsself when it receives a SIGHUP. However, just before it enters its main loop, it resets SIGHUP to either re-load the inittab (or ignore it if no inittab is used). Thus preventing the re-exec option from being triggerable. This patch adds a signal handler for SIGQUIT for init that always causes init to re-exec itsself (along with killing anything else that might be still running). git-svn-id: svn://busybox.net/trunk/busybox@10120 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Hiroshi Ito writes:andersen2004-10-081-5/+31
| | | | | | | | | | | | | | | | | | | | | | | Hello, all. Busybox init does not handle removed inittab entry correctly. # I'm sorry about my poor english, but you can find # what I would like to say from patch, isn't it? even if you apply this path, when yoy try to change a command line option in inittab, you have to do following steps. 1. remove old line from initrd 2. send HUP signal to init 3. kill old proces which is invoked from init. 4. append new line to inittab 5. send HUP signal to init, again patch is against current CVS + last patch witch I send it last. git-svn-id: svn://busybox.net/trunk/busybox@9327 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Hiroshi Ito writes:andersen2004-10-081-4/+5
| | | | | | | | | | "kill -HUP 1" reloads inittab, and when I append one line to inittab and send HUP signal two times, It will starts 2 process. patch against current CVS is attached. git-svn-id: svn://busybox.net/trunk/busybox@9326 69ca8d6d-28ef-0310-b511-8ec308f3f277
* egor duda writes:andersen2004-10-082-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor git-svn-id: svn://busybox.net/trunk/busybox@9320 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Quiet a few warningsandersen2004-08-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9179 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not use vfork, as init is not vfork safe. Do not allowandersen2004-08-161-4/+2
| | | | | | | askfirst when mmuless. git-svn-id: svn://busybox.net/trunk/busybox@9102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Bastian Blank:andersen2004-06-221-1/+3
| | | | | | | | | | | | | | On Sat, Jun 19, 2004 at 10:57:37PM +0200, Bastian Blank wrote: > The following patch changes klogd to use openlog/syslog themself > instead of calling syslog_msg which always calls the triple > openlog/syslog/closelog. Updated patch: get rid of syslog_msg entirely. Request from Erik Andersen. Bastian git-svn-id: svn://busybox.net/trunk/busybox@8913 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As discussed, drop minit, which was not being supported in busybox.andersen2004-05-265-1017/+0
| | | | | | | | People wishing to use minit can obtain it and obtain support from http://www.fefe.de/minit/ git-svn-id: svn://busybox.net/trunk/busybox@8872 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update my email address, document some of my tasks in the AUTHORS filebug12004-04-253-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Silly meandersen2004-04-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8741 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As reported by Quy Tonthat, init has problems with inittab's thatandersen2004-04-121-8/+1
| | | | | | | | contain only actions sysinit/wait/once. It does not clean up zombies in that case. git-svn-id: svn://busybox.net/trunk/busybox@8740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jamie Guinan writes:andersen2004-04-121-3/+3
| | | | | | | | | | | | | | It looks like latest uClibc defines ARCH_HAS_MMU, but a few busybox files test UCLIBC_HAS_MMU, resulting in vfork() getting called instead of fork(), etc. Patch below. Only tested for lash. Cheers, -Jamie git-svn-id: svn://busybox.net/trunk/busybox@8738 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-157-22/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thomas Geulig, remove duplicate headerbug12004-02-221-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Andreas Mohr writes:andersen2003-10-221-3/+2
| | | | | | | | | | | | | | the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer git-svn-id: svn://busybox.net/trunk/busybox@7692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch by Guillaume Morinbug12003-09-261-5/+13
| | | | | | | | Fix two race conditions, as described at. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=212764 git-svn-id: svn://busybox.net/trunk/busybox@7567 69ca8d6d-28ef-0310-b511-8ec308f3f277
* comparison was always false due to limited range of data types.andersen2003-09-151-1/+1
| | | | | | | | Carefully cast to unsigned long long prior to multiply to get the expected result. git-svn-id: svn://busybox.net/trunk/busybox@7523 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update definition of struct serial_struct, per linux-2.6.0-test5,andersen2003-09-111-14/+19
| | | | | | | | | to avoid stack corruption problems on some 64bit architectures when sizeof(void*) != sizeof(int). Thanks to Atsushi Nemoto for finding this problem. git-svn-id: svn://busybox.net/trunk/busybox@7464 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more crond+crontab integrating with loginutil libbb functions and deletedbug12003-09-031-8/+0
| | | | | | | | patch from Thomas Gleixner to init. Viodz last_patch_108 git-svn-id: svn://busybox.net/trunk/busybox@7377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as onebug12003-09-021-10/+8
| | | | | | | | constant. Vodz last_patch_107 git-svn-id: svn://busybox.net/trunk/busybox@7365 69ca8d6d-28ef-0310-b511-8ec308f3f277