summaryrefslogtreecommitdiff
path: root/src/librc/librc-daemon.c
Commit message (Collapse)AuthorAge
* Begin port to GNU/kFreeBSDSteven Chamberlain2013-10-30
| | | | | This is just a minimal port to get Debian up and running; the rest will be done later.
* Add support for DragonFly BSDGary2013-07-25
|
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* librc: tweak style: foo () -> foo()Mike Frysinger2011-05-28
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Style fix: "char *foo" not "char* foo".Robin H. Johnson2011-01-17
|
* Clean up all trailing whitespace in src/.Robin H. Johnson2011-01-17
|
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Use kill for the pid check as it's fast.Roy Marples2009-04-25
|
* Improve style for KNFRoy Marples2009-04-23
|
* CopyrightRoy Marples2009-01-12
|
* Use snprintf instead of strlcpy to save on size if not available.Roy Marples2009-01-12
|
* We don't check exec when starting, so don't when testing for crashed.Roy Marples2008-09-22
|
* Fix stopping wpa_supplicant incorrectly, #107Roy Marples2008-09-19
|
* Attempt to make s-s-d simpler by not enforcing the need for a full path and ↵Roy Marples2008-07-27
| | | | maybe working better with interpreted scripts.
* Wups, test compiles before commiting :)Roy Marples2008-04-30
|
* Remove redundant checking of /proc/pid/exeRoy Marples2008-04-30
|
* Save a few bytes and make it easier to read.Roy Marples2008-04-30
|
* No need to init this.Roy Marples2008-04-30
|
* Make the function a little smaller.Roy Marples2008-04-30
|
* StyleRoy Marples2008-04-30
|
* If we don't have permission to inspect the pidfile, don't report crashed. ↵Roy Marples2008-04-21
| | | | Gentoo #218028.
* Add license blurb to a few files and append my email to my name.Roy Marples2008-03-26
|
* 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.