Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-11 | Standardize macro tests for gnu hurd | Benda Xu | |
This also fixes breakage of GNU/hurd builds introduced by commit 3f82edbeb92. | |||
2015-04-27 | convert all references from runscript to openrc-run | William Hubbs | |
2015-03-24 | Fix some compiler warnings | Doug Freed | |
librc: Fix C90 warning (mixed declaration and code) rc: Fix warning about discarding const qualifier Fixes #45. | |||
2015-01-12 | fix double free of pidfile | Doug Freed | |
This fixes a double free of the pidfile variable. For discussion of this issue, see the bug. X-Gentoo-Bug: 531600 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=531600 | |||
2014-11-01 | Fix incorrect handling of chroot option. | Alexander Vershilov | |
Fixes #28. X-Gentoo-Bug: #527370 X-Gentoo-Bug-Url: https://bugs.gentoo.org/show_bug.cgi?id=527370 | |||
2014-10-23 | Bundle <sys/queue.h> from NetBSD | Anthony G. Basile | |
We are bundling this to allow building on musl-based systems since musl does not include <sys/queue.h>. | |||
2014-10-23 | Fix all tests for GNU/kFreeBSD | William Hubbs | |
It is necessary to check for both the kernel and c library because __FreeBSD_kernel is also defined on native FreeBSD [1]. [1] http://sourceforge.net/p/predef/wiki/OperatingSystems/ | |||
2014-10-22 | Fix GNU/kFreeBSD port | Svante Signell | |
Check for __FreeBSD_kernel instead of __GLIBC__ in source files. note from William Hubbs: I was told this is a better check for GNU/kFreeBSD than checking the C library the source is being compiled against. GNU/kFreeBSD than checking which library we are using. | |||
2014-10-20 | librc:look for the pid file in a chroot if defined | Alexander Vershilov | |
X-Gentoo-Bug: 524388 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388 | |||
2014-07-19 | src/librc/librc-daemon.c: style fix | William Hubbs | |
2014-06-20 | librc: filter out container processes on OpenVZ host | William Hubbs | |
Thanks to info and testing done by Daniel Robbins <drobbins@funtoo.org>, there is now a fix for this. Below is his description of the steps OpenRC needed to use. 1) See if /proc/<pid>/status exists 2) If it does, see if it has a "envID:" field 3) If it does, see if "envID:" is set to "0" 4) If so, then it's one of the host's processes and should be a candidate for the list. Otherwise, it is one of the container's processes and should be ignored. This should fix the bug and allow start-stop-daemon to work properly on OpenVZ hosts. X-Gentoo-Bug: 376817 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=376817 | |||
2013-10-30 | Begin port to GNU/kFreeBSD | Steven Chamberlain | |
This is just a minimal port to get Debian up and running; the rest will be done later. | |||
2013-07-25 | Add support for DragonFly BSD | Gary | |
2011-06-29 | drop useless "All rights reserved" notice | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-05-28 | librc: tweak style: foo () -> foo() | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-17 | Style fix: "char *foo" not "char* foo". | Robin H. Johnson | |
2011-01-17 | Clean up all trailing whitespace in src/. | Robin H. Johnson | |
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-04-25 | Use kill for the pid check as it's fast. | Roy Marples | |
2009-04-23 | Improve style for KNF | Roy Marples | |
2009-01-12 | Copyright | Roy Marples | |
2009-01-12 | Use snprintf instead of strlcpy to save on size if not available. | Roy Marples | |
2008-09-22 | We don't check exec when starting, so don't when testing for crashed. | Roy Marples | |
2008-09-19 | Fix stopping wpa_supplicant incorrectly, #107 | Roy Marples | |
2008-07-27 | Attempt to make s-s-d simpler by not enforcing the need for a full path and ↵ | Roy Marples | |
maybe working better with interpreted scripts. | |||
2008-04-30 | Wups, test compiles before commiting :) | Roy Marples | |
2008-04-30 | Remove redundant checking of /proc/pid/exe | Roy Marples | |
2008-04-30 | Save a few bytes and make it easier to read. | Roy Marples | |
2008-04-30 | No need to init this. | Roy Marples | |
2008-04-30 | Make the function a little smaller. | Roy Marples | |
2008-04-30 | Style | Roy Marples | |
2008-04-21 | If we don't have permission to inspect the pidfile, don't report crashed. ↵ | Roy Marples | |
Gentoo #218028. | |||
2008-03-26 | Add license blurb to a few files and append my email to my name. | Roy Marples | |
2008-03-21 | We should only free the buffer when done reading the dir. | Roy Marples | |
2008-03-17 | Make rc_getline private and save it's buffer so it's sort of like getline ↵ | Roy Marples | |
from glibc. | |||
2008-03-17 | init some vars. | Roy Marples | |
2008-03-17 | We should check for NULL here. | Roy Marples | |
2008-03-17 | Punt the rc_strcatpaths function and use snprintf instead to save on ↵ | Roy Marples | |
expensive malloc calls. | |||
2008-03-17 | rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array. | Roy Marples | |
2008-03-16 | Remove 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-03 | Sanitise the BSD defines a little. | Roy Marples | |
2008-03-03 | Ensure that normal users can use s-s-d on NetBSD. | Roy Marples | |
2008-02-23 | Now 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-22 | Welcome to 2008. | Roy Marples | |
2008-02-18 | Fix compile on FreeBSD. | Roy Marples | |
2008-02-18 | We need to check for contents of argv too. | Roy Marples | |
2008-02-18 | Fix a signed error. | Roy Marples | |
2008-02-17 | We need to be able to locate pids by argv, instead of just argv0. | Roy Marples | |
2008-02-13 | Use _PATH_DEVNULL on FreeBSD when using kvm_openfiles so we work in a jail, ↵ | Roy Marples | |
bug #21. | |||
2008-01-30 | Add xzalloc function to reduce size. | Roy Marples | |