Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-02-25 | librc: make rc_proc_getent available for all operating systems | William Hubbs | |
This looks up an option on the kernel command line. For now, itworks on linux and returns NULL on the bsds, but we are definitely open to patches for that side. | |||
2012-02-25 | Fix rc_proc_getent() undeclared on BSD | Christian Ruppert | |
X-Gentoo-Bug: 405713 X-Gentoo-Bug-URL: https://bugs.gentoo.org/405713 Reported-by: Dmitri Bogomolov <4glitch@gmail.com> | |||
2012-01-15 | Rename proc_getent to rc_proc_getent and make it global | Christian Ruppert | |
2011-07-13 | Add a new function, bool rc_getfile(const char *, char **, size_t *) | Mike Frysinger | |
<snip> Read the entire @file into the buffer and set @len to the size of the buffer when finished. For C strings, this will be strlen(buffer) + 1. Don't forget to free the buffer afterwards! </snip> We also fix bug 374899 by adding this new function. X-Gentoo-Bug: 374899 X-Gentoo-Bug-URL: http://bugs.gentoo.org/374899 | |||
2011-06-29 | drop useless "All rights reserved" notice | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-17 | Bug #351570: Fix hidden functions visibility for rc_deptree_load_file. | Robin H. Johnson | |
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-05 | Implement explicit selection of subsystem types. | Robin H. Johnson | |
- Fixes bugs #347583, #349389, both of which were triggered by cgroups being detected as the LXC subsystem type. - Makes it much easier to select "prefix" type. - "rc -S" will now print a warning if you have not configured rc_sys in /etc/rc.conf - All other semantics of rc_sys are unchanged in this patch. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> | |||
2009-06-21 | Use rc_getline instead of assuming a fixed kernel cmdline length. | Roy Marples | |
This is now requires as COMMAND_LINE_SIZE isn't exposed by kernel headers anymore. Fixes #177. | |||
2009-05-05 | Fix compile on NetBSD | Roy Marples | |
2009-05-02 | Add runlevel stacking, #88 | Roy Marples | |
This implementation has the limitation that you cannot have a stacked runlevel and service of the same name in a runlevel. | |||
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2008-09-18 | Add new functions, rc_stringlist_find and rc_stringlist_split. | Roy Marples | |
2008-07-03 | Add older_than function to complement newer_than function. Also make the ↵ | Roy Marples | |
userland instance reversed to be compatable with current baselayout, which truely does suck. | |||
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-24 | add missing rc_stringlist_new/rc_sys hidden defs | Mike Frysinger | |
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 | Punt the rc_strcatpaths function and use snprintf instead to save on ↵ | Roy Marples | |
expensive malloc calls. | |||
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-02-22 | Welcome to 2008. | 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-13 | Use _PATH_DEVNULL on FreeBSD when using kvm_openfiles so we work in a jail, ↵ | Roy Marples | |
bug #21. | |||
2008-01-14 | Add 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-14 | strip trailing newlines | Mike Frysinger | |
2008-01-13 | Remove rc_service_plugable function and make it private as it needs to read ↵ | Roy Marples | |
from our config file. | |||
2008-01-07 | Allow depend creation again. This doesn't work on GNU make, but does on all ↵ | Roy Marples | |
others. | |||
2008-01-07 | rc_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-05 | Add the missing changes from the recent Makefile updates | Roy Marples | |
2008-01-05 | Add 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. |