aboutsummaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
AgeCommit message (Collapse)Author
2008-03-28Remove rc_service_start/stop from librc as they block and unmask signals. ↵Roy Marples
The application may not wish this behaviour and should fork/exec the service itself.
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-21Fix some crashers in a prefix with few services.Roy Marples
2008-03-21euid 0 should always be able to find pids too.Roy Marples
2008-03-21Only test crashed services if we can see pid 1.Roy Marples
2008-03-19SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.Roy Marples
2008-03-19Fix errors when reporting who we are scheduled by.Roy Marples
2008-03-17Fix some tests on FreeBSD.Roy Marples
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-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-06Test access instead of euid.Roy Marples
2008-03-04When stopping localmount, set LC_ALL=C so bash doesn't lock /usr.Roy Marples
2008-03-02Don't check for root in prefix.Roy Marples
2008-02-28close fd doesn't seem good enough - whereas fcntl does the job.Roy Marples
2008-02-22Welcome to 2008.Roy Marples
2008-02-19Fix an off-by-one error.Roy Marples
2008-02-19keywords -> keywordRoy Marples
2008-02-03RC_DEP_START/STOP should only be used for ordering services, and not the ↵Roy Marples
actual dependencies ofthe services themselves. This allows coldplugged services to satisfy the net dependency for rc ordering them correctly but not for services that require net and strict is on.
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-01-31Fix up deps for new scripts.Roy Marples
2008-01-22Quiet some more lint warnings.Roy Marples
2008-01-21Prefer for (;;) over while (1)Roy Marples
2008-01-18Don't enforce a C99 compiler.Roy Marples
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-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.