aboutsummaryrefslogtreecommitdiff
path: root/init/init.c
AgeCommit message (Collapse)Author
2002-09-30Set the close-on-exec flag, just to be safEric Andersen
2002-09-25Ignoring SIGCHLD causes a race leading to the occasional hang of initEric 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-16Let people run SHUTDOWN actions prior to killing everythingEric Andersen
-Erik
2002-09-12Patch from Thomas Gleixner <tglx@linutronix.de> to doEric Andersen
automatic child reaping to avoid zombies
2002-08-26Eliminate use of obsolete sys_errlist[]Eric Andersen
-Erik
2002-08-22Run through indent, fix commentsGlenn L McGrath
2002-07-29Kill a silly warningEric Andersen
2002-07-29Patch from Tim Riker to allow tty* in inittab if the ttyEric Andersen
actually exists -- serial console is not the issue...
2002-07-03This is last_patch48 from vodz. More cleanups, kills a bitEric Andersen
of dead code, fixes one blatent bug.
2002-07-03Apply last_patch47 from vodz to fix several problems, such as the ash "jobEric 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-03Fix from vodz so that complex init commands actually workEric Andersen
2002-07-03Patch from till busch <buti@gmx.at> -- unblock all signalsEric Andersen
in exec_signal() before calling exec()
2002-05-15Doh! Remember to close /etc/inittabEric Andersen
2002-04-13Update some missing copyright noticesEric Andersen
2002-03-29Provide a controlling tty to askfirst processes as wellEric Andersen
-Erik
2002-03-20Rewind messages to avoid weird formatting, and fix a bug withEric Andersen
CONFIG_FEATURE_EXTRA_QUIET, which was broken
2002-03-05Update init.c per my changes in the stable branchEric Andersen
-Erik
2002-01-25Teach 'init -q' that init's pid may not equal 1Eric Andersen
2002-01-06Oops.Eric Andersen
2002-01-06Do not depend on PATH or getopt arg reorderingEric Andersen
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-12-17Add in a new restart init target, triggered by SIGHUP. Patch fromEric Andersen
Russ Dill, with adjustments by me. -Erik
2001-11-30Patch from Dan Langlois <dan@somanetworks.com> Support SIGSTOP/SIGCONTEric Andersen
for wierd situations when people want init to actualy stop doing anything for a while...
2001-11-21Fix dangling commaEric Andersen
2001-11-20S390 wierdnessEric Andersen
2001-11-17Hide some ifdefs to make it more readibleEric Andersen
2001-10-28As Aaron Lehmann just pointed out, I forgot a line...Eric Andersen
2001-10-28Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-18Scrub up some function prototypes.Eric Andersen
-Erik
2001-09-05Two 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-23Add support for devfs device names.Matt Kraai
2001-07-22Some patches to make dietlibc work...Eric Andersen
2001-06-12Only use a login shell when it will run on a console.Matt Kraai
2001-06-03Loop forever instead of exiting.Matt Kraai
2001-05-23Patch from larry to fix some grammar errors.Eric Andersen
2001-05-18Changed snprintf copies to use strncpy at the suggestion of Aaron Lehmann.Matt Kraai
2001-04-25Move 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
2001-04-23A patch from Marc Karasek and Kanoj (kernel serial.c maintainer)Eric Andersen
so init will work on serial consoles with 2.4.3+ kernels, thanks to Fabrice Gautier <gautier@email.enst.fr> for finding this one. -Erik
2001-04-12Fix comment.Matt Kraai
2001-04-09"I will always compile before I commit" x 100Eric Andersen
2001-04-09Update how we detect if libc5 is in use.Eric Andersen
-Erik
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-04-03A patch from Matt Kraai that adds a new 'shutdown' action to busybox init. NowEric Andersen
you can specify an arbitrary behavior for 'ctrlaltdel' without that behavior needing to be a reboot.
2001-03-21A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen
cleans up most of the now-revealed problems.
2001-03-20Fix up command line munging in init. Postpone the askfirst thing tillEric Andersen
a bit later in run().
2001-03-16A patch from Andreas Neuhaus to be especially careful to not dupEric Andersen
any env variables when spawning child processes.
2001-03-15A better fix. Read nextPtr before mem gets freed.Eric Andersen
-Erik
2001-03-15Prevent init from potentially using already freed memory whenEric Andersen
deleting an initAction, fixing a bug pointed out by Andreas Neuhaus -Erik
2001-03-14Fix init so that checking for terminal devices is delayed until theEric Andersen
devices are actually used, thereby allowing devfsd based systems to work. This should fix bug #1133 -Erik