aboutsummaryrefslogtreecommitdiff
path: root/init (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* move var decls around a little to help gcc make smaller codeMike Frysinger2005-07-061-8/+8
|
* 2005-07-04 Shaun Jackman <sjackman@gmail.com>Mike Frysinger2005-07-061-3/+2
| | | | | | * init/init.c: Do not include sys/mount.h. (message): Use O_NONBLOCK instead of O_NDELAY. (console_init): Ditto.
* 2005-07-05 Shaun Jackman <sjackman@gmail.com>Mike Frysinger2005-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.
* rename log var to log_console so we dont override internal gcc/glibc log funcMike Frysinger2005-07-051-5/+5
|
* jfb2 writes in Bug 119:Mike Frysinger2005-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).
* Hiroshi Ito writes:Eric 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.
* Hiroshi Ito writes:Eric 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.
* egor duda writes:Eric 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
* Quiet a few warningsEric Andersen2004-08-271-1/+1
|
* Do not use vfork, as init is not vfork safe. Do not allowEric Andersen2004-08-161-4/+2
| | | | askfirst when mmuless.
* Patch from Bastian Blank:Eric 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
* As discussed, drop minit, which was not being supported in busybox.Eric Andersen2004-05-265-1017/+0
| | | | | People wishing to use minit can obtain it and obtain support from http://www.fefe.de/minit/
* Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath2004-04-253-3/+3
|
* Silly meEric Andersen2004-04-121-1/+1
|
* As reported by Quy Tonthat, init has problems with inittab's thatEric Andersen2004-04-121-8/+1
| | | | | contain only actions sysinit/wait/once. It does not clean up zombies in that case.
* Jamie Guinan writes:Eric 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
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-157-22/+22
|
* Thomas Geulig, remove duplicate headerGlenn L McGrath2004-02-221-2/+0
|
* Andreas Mohr writes:Eric 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
* Patch by Guillaume MorinGlenn L McGrath2003-09-261-5/+13
| | | | | Fix two race conditions, as described at. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=212764
* comparison was always false due to limited range of data types.Eric Andersen2003-09-151-1/+1
| | | | | Carefully cast to unsigned long long prior to multiply to get the expected result.
* Update definition of struct serial_struct, per linux-2.6.0-test5,Eric 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.
* more crond+crontab integrating with loginutil libbb functions and deletedGlenn L McGrath2003-09-031-8/+0
| | | | | patch from Thomas Gleixner to init. Viodz last_patch_108
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGlenn L McGrath2003-09-021-10/+8
| | | | | constant. Vodz last_patch_107
* Fix overflow for machines greater than 4GB, return unsigned int to avoidGlenn L McGrath2003-08-261-5/+6
| | | | a cast and for greater accuracy.
* Yang Xiaopeng writes:Eric Andersen2003-07-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | >I'm sure that no user process use old root now, but when run "umount >/old_root", it says: > umount: /old_root: Device or resource busy > >I have tried to remount /proc within the new root *after* chroot, but >get the same result. > > I found the problem, I said that no user process use old root when run my scripts, but I'm wrong, actually there is a '3' fd open the file "/old_root/dev/console". By adding debug message in init/init.c, I found the problem: when init restart(in exec_signal()), before open the new terminal device, there is still a file opened(I don't know which file it is), so the terminal device(stdin) get fd '1', and the first dup(0)(stdout) return '2', the second(stderr) return '3'. I attach a simple patch to solve this problem.
* Move start_stop_daemon to debianutils.Eric Andersen2003-07-263-263/+0
| | | | Cleanup run_parts a bit and add long opts
* cleanup and add long optionsEric Andersen2003-07-261-59/+41
|
* Patch from Thomas Gleixner to reap any zombie processes that areEric Andersen2003-07-261-0/+8
| | | | reparented to init...
* Several simplifications and indenting changes, perEric Andersen2003-07-221-26/+25
| | | | last_patch97 from vodz
* As vodz noticed, I screwed up rebootEric Andersen2003-07-221-2/+2
|
* Patch from Andrew Flegg:Eric Andersen2003-07-221-2/+19
| | | | | | | | | | | | | | | | | | | | | Here's a pretty crude patch to reload /etc/inittab when init receives a SIGHUP. The mailing list archives weren't entirely clear on whether or not it should already happen, but didn't appear to be. The patch: * Adds a new function, reload_signal() which just calls parse_inittab() and run_actions(RESPAWN) * Before entering the while (1) loop set up SIGHUP to call reload_signal() * Modify new_init_action to skip the action if the same command already exists on the same terminal This last bit means that changing already running entries is a bit hairy as you can end up with, for example, two shells running on the same virtual console. However, for solely adding/removing entries this patch seems to work quite well.
* Support reboot, halt, and poweroff independent of busybox init.Eric Andersen2003-07-226-45/+136
| | | | | Simplify and fixup some logic. -Erik
* Remove remaining libc5 support codeEric Andersen2003-07-222-17/+4
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-146-6/+6
|
* Patch from Thomas Cameron:Eric Andersen2003-07-141-1/+1
| | | | | | | | | | | Hello all, This patch adds more "Help" text to the config system. Almost all applets now have a help entry. Also, I cleaned up the spacing of the existing text so that things are consistent. This patch is against this morning's CVS. Thomas Cameron CEI Systems, Inc.