Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-27 | Apply last_patch93 from vodz: | Eric Andersen | |
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 | |||
2003-06-27 | Remove bdflush garbage, which is only relevant to unsupported | Eric Andersen | |
kernel versions | |||
2003-04-24 | There have been many reports of init failing to reboot and/or failing to halt | Eric Andersen | |
over the years. Well I finally took the time to track this down. It turns out that inside linux/kernel/sys.c the kernel will call machine_halt(); do_exit(0); when halting, or will call machine_power_off(); do_exit(0); during a reboot. Unlike sysv init, we call reboot from within the init process, so if the call to machine_halt() or machine_power_off() returns, the call to do_exit(0) will cause the kernel to panic. Which is a very bad thing to happen. So I just added this little patch to fork and call the reboot syscall from within the forked child process, thereby neatly avoiding the problem. But IMHO, both calls to do_exit(0) within linux/kernel/sys.c are bugs and should be fixed. -Erik | |||
2003-03-19 | Major coreutils update. | Manuel Novoa III | |
2003-01-23 | Fix a silly compile error, thanks to a patch from Wen-chien Jesse Sung | Eric Andersen | |
2003-01-13 | Correct some init issues, update email address, last_patch78 by Vladimir | Glenn L McGrath | |
N. Oleynik | |||
2002-12-17 | Odd. I never brought this forward from bb.stable. Should handle | Eric Andersen | |
reaping child processes better. -Erik | |||
2002-11-28 | Use error_msg instead of fprintf(stderr | Glenn L McGrath | |
2002-10-22 | I committed the fflush in the wrong spot. I should go to bed | Eric Andersen | |
earlier so I don't screw up such easy stuff. -Erik | |||
2002-10-22 | Be absurdly careful about flushing stdout. | Eric Andersen | |
2002-10-12 | After thinking about it, I think this patch from Matt Kraai is probably the | Eric Andersen | |
best way to go. Sysvinit does not provide a controlling tty since it doesn't even try to open ttys for apps. We do. So we should _try_ to provide a controlling tty if possible, but we needn't freak out if it doesn't work. This way we won't need to use openvt or similar, we'll just have init do the Right Thing(tm). | |||
2002-10-10 | last_patch61 from vodz: | Eric Andersen | |
New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in. | |||
2002-09-30 | Set the close-on-exec flag, just to be saf | Eric Andersen | |
2002-09-25 | Ignoring SIGCHLD causes a race leading to the occasional hang of init | Eric Andersen | |
when init will wait() on itself in waitfor() when the child exits before init is scheduled to run. Letting init hang is very seriously bad. -Erik | |||
2002-09-16 | Let people run SHUTDOWN actions prior to killing everything | Eric Andersen | |
-Erik | |||
2002-09-12 | Patch from Thomas Gleixner <tglx@linutronix.de> to do | Eric Andersen | |
automatic child reaping to avoid zombies | |||
2002-08-26 | Eliminate use of obsolete sys_errlist[] | Eric Andersen | |
-Erik | |||
2002-08-22 | Run through indent, fix comments | Glenn L McGrath | |
2002-07-29 | Kill a silly warning | Eric Andersen | |
2002-07-29 | Patch from Tim Riker to allow tty* in inittab if the tty | Eric Andersen | |
actually exists -- serial console is not the issue... | |||
2002-07-03 | This is last_patch48 from vodz. More cleanups, kills a bit | Eric Andersen | |
of dead code, fixes one blatent bug. | |||
2002-07-03 | Apply last_patch47 from vodz to fix several problems, such as the ash "job | Eric Andersen | |
control turned off" bug, console_setup() was called with a closed file descriptor, setsid() inconsistancy, and silly string handling bugs. I have modified his patch to allow the askfirst init actions to have a controlling terminal. | |||
2002-07-03 | Fix from vodz so that complex init commands actually work | Eric Andersen | |
2002-07-03 | Patch from till busch <buti@gmx.at> -- unblock all signals | Eric Andersen | |
in exec_signal() before calling exec() | |||
2002-05-15 | Doh! Remember to close /etc/inittab | Eric Andersen | |
2002-04-13 | Update some missing copyright notices | Eric Andersen | |
2002-03-29 | Provide a controlling tty to askfirst processes as well | Eric Andersen | |
-Erik | |||
2002-03-20 | Rewind messages to avoid weird formatting, and fix a bug with | Eric Andersen | |
CONFIG_FEATURE_EXTRA_QUIET, which was broken | |||
2002-03-05 | Update init.c per my changes in the stable branch | Eric Andersen | |
-Erik | |||
2002-01-25 | Teach 'init -q' that init's pid may not equal 1 | Eric Andersen | |
2002-01-06 | Oops. | Eric Andersen | |
2002-01-06 | Do not depend on PATH or getopt arg reordering | Eric Andersen | |
2001-12-20 | Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !. | Matt Kraai | |
2001-12-17 | Add in a new restart init target, triggered by SIGHUP. Patch from | Eric Andersen | |
Russ Dill, with adjustments by me. -Erik | |||
2001-11-30 | Patch from Dan Langlois <dan@somanetworks.com> Support SIGSTOP/SIGCONT | Eric Andersen | |
for wierd situations when people want init to actualy stop doing anything for a while... | |||
2001-11-21 | Fix dangling comma | Eric Andersen | |
2001-11-20 | S390 wierdness | Eric Andersen | |
2001-11-17 | Hide some ifdefs to make it more readible | Eric Andersen | |
2001-10-28 | As Aaron Lehmann just pointed out, I forgot a line... | Eric Andersen | |
2001-10-28 | Add in some (theoretical) uClinux support. Some init cleanups | Eric Andersen | |
2001-10-24 | Major rework of the directory structure and the entire build system. | Eric Andersen | |
-Erik | |||
2001-10-18 | Scrub up some function prototypes. | Eric Andersen | |
-Erik | |||
2001-09-05 | Two patches from Magick <magick@linux-fan.com>: | Eric Andersen | |
1st makes init smaller, and fixes a bug with AskFirst. Reading from /dev/null gives EOF. 2nd makes init run the command's in the order of inittab, as in FIFO instead of LIFO. | |||
2001-07-23 | Add support for devfs device names. | Matt Kraai | |
2001-07-22 | Some patches to make dietlibc work... | Eric Andersen | |
2001-06-12 | Only use a login shell when it will run on a console. | Matt Kraai | |
2001-06-03 | Loop forever instead of exiting. | Matt Kraai | |
2001-05-23 | Patch from larry to fix some grammar errors. | Eric Andersen | |
2001-05-18 | Changed snprintf copies to use strncpy at the suggestion of Aaron Lehmann. | Matt Kraai | |
2001-04-25 | Move messages.c to libbb. Make each string in messages.c be its own .o file. | Eric Andersen | |
This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik |