aboutsummaryrefslogtreecommitdiff
path: root/src/librc
AgeCommit message (Collapse)Author
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-19Don't warn about removed services through use of the nosys keyword.Roy Marples
2008-02-19Fix compile warning, and free removed depinfo'sRoy Marples
2008-02-19Default to using C99 standard.Roy Marples
2008-02-19Fix some warnings.Roy Marples
2008-02-19Fix compile on Linux.Roy Marples
2008-02-19keywords -> keywordRoy Marples
2008-02-19Add the nojail keyword which excludes services marked as such from the ↵Roy Marples
dependency tree when in a jail, #bug 22
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-02-10Remove unsed varsRoy Marples
2008-02-04Just restore the old set.Roy 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-02Fix fork error message.Roy Marples
2008-02-02OK, we have to use fork with sigprocmask as not all systems provide a ↵Roy Marples
working and sane kernel call to bypass libc.
2008-02-02Fix compile on systems that do not expose SYS_sigaction.Roy Marples
2008-02-02Using syscall in a vfork is safe for sigaction and sigprogmask.Roy Marples
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-01-30Use the variable instead of type for sizeof.Roy Marples
2008-01-30Add xzalloc function to reduce size.Roy Marples
2008-01-30Allow !net to remove the net provision from dependencies.Roy Marples
2008-01-30Fix adding net scripts to the boot runlevel.Roy Marples
2008-01-28Fix service_started_daemon, bug #11Roy Marples
2008-01-22Quiet some lint warnings.Roy Marples
2008-01-21Checking first char for null is more efficient than strlen.Roy Marples
2008-01-18We should never change the list passed to rc_config_value.Roy Marples
2008-01-15If adding to the boot runlevel, ensure that the realpath of the resolved ↵Roy Marples
service points to /etc/init.d/$service
2008-01-15rc_newer_than no longer tests if souce has data, making it a more logical ↵Roy Marples
function. As such, we add the existss function to check for existance and size when checking to see if the deptree needs an update.
2008-01-14Add support for is_newer_than and is_older_than. is_older_than currently ↵Roy Marples
doesn't work as expected, but is_newer_than works fine.
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-10Loads of NetBSD tweaks here.Roy Marples
2008-01-10Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst ↵Roy Marples
keeping BSD for all BSD's.
2008-01-09Style updates.Roy Marples
2008-01-07Avoid valgrind errors with getline.Roy Marples
2008-01-07Really fix off by one error.Roy Marples
2008-01-07Fix an off by one error.Roy Marples
2008-01-07Allow depend creation again. This doesn't work on GNU make, but does on all ↵Roy Marples
others.
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-07Stop using CPPFLAGSRoy Marples
2008-01-06We should check we resolved a service before stating it's existance.Roy Marples
2008-01-06Use a dynamically expanding buffer for reading config files.Roy Marples
2008-01-06Add our version maps backRoy Marples
2008-01-06librc needs kvm on bsd.Roy Marples