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