aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc.c
AgeCommit message (Collapse)Author
2008-03-22add support for automatic gdb launching when RC_DEBUG is defined to 1 to ↵Mike Frysinger
ease bug reporting / information gathering
2008-03-21Fix some crashers in a prefix with few services.Roy Marples
2008-03-21ksoftlevel -> krunlevelRoy Marples
2008-03-19Add rc-service and update all softlevel refs to runlevel.Roy Marples
2008-03-18Get going_down and parallel the right away round.Roy Marples
2008-03-17Make rc_getline private and save it's buffer so it's sort of like getline ↵Roy Marples
from glibc.
2008-03-17We should check for NULL here.Roy Marples
2008-03-17Punt the rc_strcatpaths function and use snprintf instead to save on ↵Roy Marples
expensive malloc calls.
2008-03-17rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array.Roy Marples
2008-03-16Use correct TAILQ_CONCAT macro when not defined.Roy Marples
2008-03-16Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples
from queue(3). Refactor code style around the BSD KNF.
2008-03-11RC_SERVICE now points to the service file, so daemons can recall us directly.Roy Marples
2008-03-11Coldplug net devices on the BSD's as found by getifaddrs.Roy Marples
2008-03-06Test access instead of euid.Roy Marples
2008-03-05Show version similar to gcc.Roy Marples
2008-03-05Style.Roy Marples
2008-03-04Inform plugins when we exit if on signal.Roy Marples
2008-03-03Fix compile on Linux.Roy Marples
2008-03-03Split VPS into VSERVER and OPENVZRoy Marples
2008-03-03rc single and rc sysinit don't check sysvinit env vars in prefix.Roy Marples
2008-03-02Don't check for root in prefix.Roy Marples
2008-03-01We should use shutdown to goto single user mode.Roy Marples
2008-02-04exiting to shell should block signals first, to avoid the child getting ↵Roy Marples
them. Also, sulogin seems to work without specifying the terminal now.
2008-02-02Block signals to avoid fork /signal races.Roy Marples
2008-02-01Constantise as much as possible so that it reduces COW usage.Roy Marples
2008-02-01Use sigaction over signal.Roy Marples
2008-02-01Fix compile on BSDRoy Marples
2008-01-30Use the variable instead of type for sizeof.Roy Marples
2008-01-29Fix branding.Roy Marples
2008-01-29Do our coldplug at the end of sysinit as there's no guarantee that the boot ↵Roy Marples
runlevel will be called before the default runlevel.
2008-01-29If we don't have any branding, then add some uname info at startup.Roy Marples
2008-01-22Quiet some more lint warnings.Roy Marples
2008-01-21Checking first char for null is more efficient than strlen.Roy Marples
2008-01-18rc_coldplug=no really stops all coldplug eventsRoy Marples
2008-01-14Fix rc changing runlevels after splitting out the applets.Roy Marples
2008-01-14Put the applets into rc-applet.c so that rc.c is easier to manage.Roy Marples
2008-01-14Add support for is_newer_than and is_older_than. is_older_than currently ↵Roy Marples
doesn't work as expected, but is_newer_than works fine.
2008-01-14strip trailing newlinesMike Frysinger
2008-01-13Remove rc_service_plugable function and make it private as it needs to read ↵Roy Marples
from our config file.
2008-01-11Re-indent to a standard tw of 8.Roy Marples
2008-01-09Compile without warnings on NetBSDRoy Marples
2008-01-07rc_getline keeps expanding it's malloced buffer until it has read a whole ↵Roy Marples
line or EOF. All functions which read into static buffers have been changed to use fhis function to avoid any potential overflows and to ensure we really do read a long long config line.
2008-01-06Fix userland einfo when passed with no argumentsRoy Marples
2008-01-06Fix brandingRoy Marples
2008-01-06Set include paths in Makefile instead of .c filesRoy Marples
2008-01-05Add the missing changes from the recent Makefile updatesRoy Marples
2008-01-05Add some .mk stubs to impersonate bsk .mk files to make writing our ↵Roy Marples
Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though.