summaryrefslogtreecommitdiff
path: root/src/librc/librc-daemon.c
Commit message (Collapse)AuthorAge
* We should only free the buffer when done reading the dir.Roy Marples2008-03-21
|
* Make rc_getline private and save it's buffer so it's sort of like getline ↵Roy Marples2008-03-17
| | | | from glibc.
* init some vars.Roy Marples2008-03-17
|
* We should check for NULL here.Roy Marples2008-03-17
|
* Punt the rc_strcatpaths function and use snprintf instead to save on ↵Roy Marples2008-03-17
| | | | expensive malloc calls.
* rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array.Roy Marples2008-03-17
|
* Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples2008-03-16
| | | | from queue(3). Refactor code style around the BSD KNF.
* Sanitise the BSD defines a little.Roy Marples2008-03-03
|
* Ensure that normal users can use s-s-d on NetBSD.Roy Marples2008-03-03
|
* Now that s-s-d accepts >1 argument for stopping a daemon on match we need to ↵Roy Marples2008-02-23
| | | | store all arguments used incase a service started the same daemon more than once with different paramters.
* Welcome to 2008.Roy Marples2008-02-22
|
* Fix compile on FreeBSD.Roy Marples2008-02-18
|
* We need to check for contents of argv too.Roy Marples2008-02-18
|
* Fix a signed error.Roy Marples2008-02-18
|
* We need to be able to locate pids by argv, instead of just argv0.Roy Marples2008-02-17
|
* Use _PATH_DEVNULL on FreeBSD when using kvm_openfiles so we work in a jail, ↵Roy Marples2008-02-13
| | | | bug #21.
* Add xzalloc function to reduce size.Roy Marples2008-01-30
|
* Fix service_started_daemon, bug #11Roy Marples2008-01-28
|
* Quiet some lint warnings.Roy Marples2008-01-22
|
* strip trailing newlinesMike Frysinger2008-01-14
|
* Re-indent to a standard tw of 8.Roy Marples2008-01-11
|
* rc_getline keeps expanding it's malloced buffer until it has read a whole ↵Roy Marples2008-01-07
| | | | 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.
* Add some .mk stubs to impersonate bsk .mk files to make writing our ↵Roy Marples2008-01-05
Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though.