aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-daemon.c
AgeCommit message (Collapse)Author
2008-03-17init some vars.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-17rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array.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-03Sanitise the BSD defines a little.Roy Marples
2008-03-03Ensure that normal users can use s-s-d on NetBSD.Roy Marples
2008-02-23Now that s-s-d accepts >1 argument for stopping a daemon on match we need to ↵Roy Marples
store all arguments used incase a service started the same daemon more than once with different paramters.
2008-02-22Welcome to 2008.Roy Marples
2008-02-18Fix compile on FreeBSD.Roy Marples
2008-02-18We need to check for contents of argv too.Roy Marples
2008-02-18Fix a signed error.Roy Marples
2008-02-17We need to be able to locate pids by argv, instead of just argv0.Roy Marples
2008-02-13Use _PATH_DEVNULL on FreeBSD when using kvm_openfiles so we work in a jail, ↵Roy Marples
bug #21.
2008-01-30Add xzalloc function to reduce size.Roy Marples
2008-01-28Fix service_started_daemon, bug #11Roy Marples
2008-01-22Quiet some lint warnings.Roy Marples
2008-01-14strip trailing newlinesMike Frysinger
2008-01-11Re-indent to a standard tw of 8.Roy 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-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.