aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-misc.c
AgeCommit message (Collapse)Author
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-23Improve style for KNFRoy Marples
2009-04-18Don't leak the lock fd.Roy Marples
2009-04-17Using fifos for locking can be error prone.Roy Marples
flocks are safer, as we only use tmpfs for our lock files. I don't know how this works for inactive just yet though ...
2009-01-13Don't allow SYSVINIT parameters through anymore.Roy Marples
RC_REBOOT is now yes when rebooting. Document the special reboot runlevel.
2008-10-10sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples
mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version.
2008-10-06#ifdef atexit cleanups calling free as the OS should do this for us, but ↵Roy Marples
valgrind debuggers need it.
2008-10-03Fix a segfault when profile.env does not exist.Roy Marples
2008-09-18Add missing profile bits to env, #72.Roy Marples
2008-09-18Use the new rc_stringlist_find function.Roy Marples
2008-08-20Add -k,--umask option, Gentoo #232455.Roy Marples
2008-04-21Add RC_TMPDIR so that there's a writeable location during boot.Roy Marples
2008-04-17Cast to unsigned char for ctype calls.Roy Marples
2008-03-28Put some dir locations in rc.h so that 3rd party apps can become awware of them.Roy Marples
2008-03-28Remove rc_service_start/stop from librc as they block and unmask signals. ↵Roy Marples
The application may not wish this behaviour and should fork/exec the service itself.
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-26Fix a segfault if rc.conf does not exist, Gentoo #214887Roy Marples
2008-03-19Add rc-service and update all softlevel refs to runlevel.Roy Marples
2008-03-16Use correct TAILQ_CONCAT macro when not defined.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-05Add tunable SYSCONFDIRRoy Marples
2008-02-22Welcome to 2008.Roy Marples
2008-02-20Simply our code - only set env vars when needed.Roy Marples
2008-02-19Fix compile on Linux.Roy 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-09Fix an off by one error when parsing PATHRoy Marples
2008-02-02Block signals to avoid fork /signal races.Roy Marples
2008-02-01Use sigaction over signal.Roy Marples
2008-01-22Quiet some more lint warnings.Roy Marples
2008-01-18We should never change the list passed to rc_config_value.Roy Marples
2008-01-18Style.Roy Marples
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-09Compile without warnings on NetBSDRoy 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-06Set include paths in Makefile instead of .c filesRoy Marples
2008-01-05Move the env whitelists to an rc var and build in the system whitelist.Roy Marples
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.