summaryrefslogtreecommitdiff
path: root/init (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Patch from David McCullough <davidm@snapgear.com>Eric Andersen2002-09-171-5/+72
|
* Let people run SHUTDOWN actions prior to killing everythingEric Andersen2002-09-161-3/+5
| | | | -Erik
* mesg applet by Manuel Novoa IIIGlenn L McGrath2002-09-163-0/+60
|
* 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.
* Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen2002-07-031-1/+1
| | | | | silly games. -Erik
* 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()
* plug fd leak noticed by Russ DillEric Andersen2002-06-051-0/+1
| | | | -Erik
* Fix for broken handling off BusyBox's own pwd/grp implementationsRobert Griebl2002-06-041-1/+1
| | | | [Parts of this patch may overlap with my other two patches]
* Doh! Remember to close /etc/inittabEric Andersen2002-05-151-0/+1
|
* Update some missing copyright noticesEric Andersen2002-04-134-4/+4
|
* Completely rework the config system so that it no longer annoys me to work onEric Andersen2002-04-122-19/+46
| | | | | | | the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik
* 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
* Patch from Russ Dill <Russ.Dill@asu.edu>. From theEric Andersen2002-01-261-1/+10
| | | | | | | | | | | | | | | | start-stop-daemon man page: -b|--background Typically used with programs that don't detach on their own. This option will force start-stop-daemon to fork before starting the process, and force it into the background. WARNING: start-stop-daemon cannot check the exit status if the process fails to execute for any reason. This is a last resort, and is only meant for programs that either make no sense forking on their own, or where it's not feasible to add the code for it to do this itself. This is usefull for applets like watchdog
* 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
|
* Vodz' last_patch31Eric Andersen2001-12-181-66/+23
| | | | | | | | | | | | | Very minimal last corrections: 1) busybox.c: fix warining 2) docs/: add applets for list from pwd_grp 3) usage.h: add -n option for route 4) run_parts.c: many todo fix for busybox style 5) addgroup.c: add #ifdef CONFIG_FEATURE_SHADOWPASSWDS, reduce one perror_msg 6) adduser.c: fix bug "variable i not initialize" and add #ifdef CONFIG_FEATURE_SHADOWPASSWDS
* Add in a new restart init target, triggered by SIGHUP. Patch fromEric Andersen2001-12-171-1/+32
| | | | | Russ Dill, with adjustments by me. -Erik
* If find_pid_by_name() had an error, it was returning -1, but storingEric Andersen2001-12-063-3/+3
| | | | | | | | that into a pid_t, which is unsigned on a number archs. Furthermore, find_pid_by_name() would _never_ return an error if the intended proces was "init", but instead would return 1, meaning we would fail to work on 2.4.x kernels running an initrd... -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
|
* Cleanup some config problems. Add a sane default config that basicallyEric Andersen2001-11-101-2/+2
| | | | matches the default old Config.h
* Add the run-parts applet submitted by Emanuele AinaEric Andersen2001-10-311-0/+294
| | | | <emanuele.aina@tiscali.it>
* Run parts applet by Emanuele Aina <faina.mail@tiscalinet.it>Eric Andersen2001-10-312-0/+3
|
* patch from vodz:Eric Andersen2001-10-311-36/+26
| | | | | I reduce 148 bytes from start_stop_daemon.c code. Also reduced memory allocated.
* 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
|
* Fixup the location of pwd.h and grp.hEric Andersen2001-10-241-1/+1
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-246-19/+83
| | | | -Erik
* Commit the start-stop-daemon applet. This was contributed by DavidEric Andersen2001-10-181-0/+271
| | | | | | Kimdon <dwhedon@gordian.com> on october 7th -- the day I was fired from Lineo. So it seems I totally forgot about this patch until now. Sorry about that David!
* Scrub up some function prototypes.Eric Andersen2001-10-181-4/+4
| | | | -Erik
* Fix a nasty bug with variable name shadowingEric Andersen2001-10-183-3/+3
|
* Look for either "init" or "linuxrc" processesEric Andersen2001-10-033-6/+15
|
* 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
|
* Be extra extra careful about what we dereference.Eric Andersen2001-07-053-3/+12
|