summaryrefslogtreecommitdiff
path: root/src/librc/librc.c
Commit message (Collapse)AuthorAge
* Remove coldplug and just have hotplug which is a list of allowed/disallowed ↵Roy Marples2008-10-10
| | | | services. Makes things much easier.
* sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples2008-10-10
| | | | | | | | | | | 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.
* Add new OpenVZ detection codeRoy Marples2008-08-19
|
* No need to include this.Roy Marples2008-06-05
|
* Give an error when running zap as a generic user.Roy Marples2008-04-08
|
* Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrcRoy Marples2008-03-28
|
* Support XEN on NetBSDRoy Marples2008-03-28
|
* Remove rc_service_start/stop from librc as they block and unmask signals. ↵Roy Marples2008-03-28
| | | | The application may not wish this behaviour and should fork/exec the service itself.
* Add license blurb to a few files and append my email to my name.Roy Marples2008-03-26
|
* Fix adding services to the boot runlevel, #43Roy Marples2008-03-24
|
* add missing rc_stringlist_new/rc_sys hidden defsMike Frysinger2008-03-24
|
* Fix returning a service descriptions.Roy Marples2008-03-23
|
* Add rc-service and update all softlevel refs to runlevel.Roy Marples2008-03-19
|
* Fix define nameRoy Marples2008-03-19
|
* Return scheduled services correctly.Roy Marples2008-03-19
|
* 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
|
* This should be a fixed buffer.Roy Marples2008-03-17
|
* Punt the rc_strcatpaths function and use snprintf instead to save on ↵Roy Marples2008-03-17
| | | | expensive malloc calls.
* Use correct TAILQ_CONCAT macro when not defined.Roy Marples2008-03-16
|
* 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.
* d_type is not portable across filesystems.Roy Marples2008-03-08
|
* Split VPS into VSERVER and OPENVZRoy Marples2008-03-03
|
* rc single and rc sysinit don't check sysvinit env vars in prefix.Roy Marples2008-03-03
|
* Introduce LOCAL_PREFIX for a user maintained script location.Roy Marples2008-03-03
|
* Fix prefix test.Roy Marples2008-03-03
|
* If build in a prefix, define the system as prefix.Roy Marples2008-03-02
|
* Fix unused var.Roy Marples2008-03-01
|
* Support the use of PREFIX and PKG_PREFIX.Roy Marples2008-02-28
|
* Fix compile on Linux.Roy Marples2008-02-19
|
* Add the nojail keyword which excludes services marked as such from the ↵Roy Marples2008-02-19
| | | | dependency tree when in a jail, #bug 22
* Remove unsed varsRoy Marples2008-02-10
|
* Just restore the old set.Roy Marples2008-02-04
|
* Fix fork error message.Roy Marples2008-02-02
|
* OK, we have to use fork with sigprocmask as not all systems provide a ↵Roy Marples2008-02-02
| | | | working and sane kernel call to bypass libc.
* Fix compile on systems that do not expose SYS_sigaction.Roy Marples2008-02-02
|
* Using syscall in a vfork is safe for sigaction and sigprogmask.Roy Marples2008-02-02
|
* Block signals to avoid fork /signal races.Roy Marples2008-02-02
|
* Fix adding net scripts to the boot runlevel.Roy Marples2008-01-30
|
* Quiet some lint warnings.Roy Marples2008-01-22
|
* If adding to the boot runlevel, ensure that the realpath of the resolved ↵Roy Marples2008-01-15
| | | | service points to /etc/init.d/$service
* strip trailing newlinesMike Frysinger2008-01-14
|
* Remove rc_service_plugable function and make it private as it needs to read ↵Roy Marples2008-01-13
| | | | from our config file.
* 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.
* We should check we resolved a service before stating it's existance.Roy Marples2008-01-06
|
* 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.