Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-18 | rc: make get_systype similar to the old rc_sys function | William Hubbs | |
2016-01-13 | Add LANG, LC_MESSAGES and TERM to the environment whitelist | William Hubbs | |
2016-01-13 | fix seg fault | William Hubbs | |
2016-01-12 | Remove multicall binary structure from OpenRC | William Hubbs | |
This eliminates the need for the selinux-specific wrapper scrript we were installing in /lib*/rc/{bin,sbin}. | |||
2016-01-05 | rc: fix compiler warnings cleanup | William Hubbs | |
This reverts commit 981d2b3308edb0d0a68f7bdce4f2c99110de6940 and fixes the warnings that generated. | |||
2016-01-04 | Clean default env_whitelist | William Hubbs | |
The whitelist of environment variables we pass to service scripts included several unnecessary variables. The default whitelist now includes EERROR_QUIET, EINFO_QUIET, IN_BACKGROUND and IN_HOTPLUG. X-Gentoo-Bug: 569542 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=569542 | |||
2016-01-01 | rc: clean up compiler warnings | William Hubbs | |
The get_systype(), detect_container(), detect_prefix() and detect_vm() functions need to return "char *" instead of "const char *". | |||
2015-12-21 | Convert OpenRC to a centralized copyright/license structure | William Hubbs | |
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html | |||
2015-12-08 | Convert rc_sys() calls to detect_container() and detect_vm() | William Hubbs | |
2015-12-08 | Create detect_container() and detect_vm() functions | William Hubbs | |
These functions replace rc_sys so that we can detect containers and vms separately. Also, we copy file_regex() to rc-misc.c and open it to all operating systems. | |||
2015-07-23 | Add EERROR_QUIET and EINFO_QUIET to environment whitelist | William Hubbs | |
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>. | |||
2012-09-09 | add RC_PREFIX environment variable | William Hubbs | |
This will be used by init scripts which want to be able to run in a Gentoo Prefix installation. RC_PREFIX will contain the prefix offset. | |||
2012-01-26 | Add is_writable() function to check whether a path is writable or not | Christian Ruppert | |
2011-06-29 | drop useless "All rights reserved" notice | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-17 | Bug #351570: Hidden function fixes: rc_conf_value. | Robin H. Johnson | |
Refactor rc_conf_value into librc for use in library context. Also requires moving: - rc_conf internal static - Defines: PROFILE_ENV, SYS_WHITELIST, USR_WHITELIST, RC_PATH_PREFIX moved to rc.h with new RC_ prefix added. - Defines: RC_CONF, RC_CONF_OLD moved to rc.h. Signed-off-by: Robin H. Johnson <robbat2@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-23 | Move non compiled libraries from /lib/rc to /libexec/rc | Roy Marples | |
OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well. | |||
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-04-23 | Improve style for KNF | Roy Marples | |
2009-04-18 | Don't leak the lock fd. | Roy Marples | |
2009-04-17 | Using 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-13 | Don't allow SYSVINIT parameters through anymore. | Roy Marples | |
RC_REBOOT is now yes when rebooting. Document the special reboot runlevel. | |||
2008-10-10 | sysinit is now a real runlevel that handles things like udev, dmesg and | Roy 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-03 | Fix a segfault when profile.env does not exist. | Roy Marples | |
2008-09-18 | Add missing profile bits to env, #72. | Roy Marples | |
2008-09-18 | Use the new rc_stringlist_find function. | Roy Marples | |
2008-08-20 | Add -k,--umask option, Gentoo #232455. | Roy Marples | |
2008-04-21 | Add RC_TMPDIR so that there's a writeable location during boot. | Roy Marples | |
2008-04-17 | Cast to unsigned char for ctype calls. | Roy Marples | |
2008-03-28 | Put some dir locations in rc.h so that 3rd party apps can become awware of them. | Roy Marples | |
2008-03-28 | Remove 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-26 | Add license blurb to a few files and append my email to my name. | Roy Marples | |
2008-03-26 | Fix a segfault if rc.conf does not exist, Gentoo #214887 | Roy Marples | |
2008-03-19 | Add rc-service and update all softlevel refs to runlevel. | Roy Marples | |
2008-03-16 | Use correct TAILQ_CONCAT macro when not defined. | 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-05 | Add tunable SYSCONFDIR | Roy Marples | |
2008-02-22 | Welcome to 2008. | Roy Marples | |
2008-02-20 | Simply our code - only set env vars when needed. | Roy Marples | |
2008-02-19 | Fix compile on Linux. | Roy Marples | |
2008-02-19 | Add the nojail keyword which excludes services marked as such from the ↵ | Roy Marples | |
dependency tree when in a jail, #bug 22 | |||
2008-02-09 | Fix an off by one error when parsing PATH | Roy Marples | |
2008-02-02 | Block signals to avoid fork /signal races. | Roy Marples | |
2008-02-01 | Use sigaction over signal. | Roy Marples | |
2008-01-22 | Quiet some more lint warnings. | Roy Marples | |
2008-01-18 | We should never change the list passed to rc_config_value. | Roy Marples | |
2008-01-18 | Style. | Roy Marples | |