summaryrefslogtreecommitdiff
path: root/src/librc/rc.map
Commit message (Collapse)AuthorAge
* Rename proc_getent to rc_proc_getent and make it globalChristian Ruppert2012-01-15
|
* Add a new function, bool rc_getfile(const char *, char **, size_t *)Mike Frysinger2011-07-13
| | | | | | | | | | | | | | <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
* Bug #351570: Hidden function fixes: rc_conf_value.Robin H. Johnson2011-01-17
| | | | | | | | | | | 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>
* Factor out new function rc_deptree_load_file to aid in debugging deptree ↵Robin H. Johnson2011-01-17
| | | | files from users. Loads from a given filename instead of the hardcoded RC_DEPTREE_CACHE define.
* Implement explicit selection of subsystem types.Robin H. Johnson2011-01-05
| | | | | | | | | | | - 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>
* Use rc_getline instead of assuming a fixed kernel cmdline length.Roy Marples2009-06-21
| | | | | | This is now requires as COMMAND_LINE_SIZE isn't exposed by kernel headers anymore. Fixes #177.
* Add runlevel stacking, #88Roy Marples2009-05-02
| | | | | This implementation has the limitation that you cannot have a stacked runlevel and service of the same name in a runlevel.
* Add new functions, rc_stringlist_find and rc_stringlist_split.Roy Marples2008-09-18
|
* Add older_than function to complement newer_than function. Also make the ↵Roy Marples2008-07-03
| | | | userland instance reversed to be compatable with current baselayout, which truely does suck.
* 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.
* Make rc_getline private and save it's buffer so it's sort of like getline ↵Roy Marples2008-03-17
| | | | from glibc.
* Punt the rc_strcatpaths function and use snprintf instead to save on ↵Roy Marples2008-03-17
| | | | expensive malloc calls.
* 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.
* Add the nojail keyword which excludes services marked as such from the ↵Roy Marples2008-02-19
| | | | dependency tree when in a jail, #bug 22
* Add support for is_newer_than and is_older_than. is_older_than currently ↵Roy Marples2008-01-14
| | | | doesn't work as expected, but is_newer_than works fine.
* Remove rc_service_plugable function and make it private as it needs to read ↵Roy Marples2008-01-13
| | | | from our config file.
* 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.
* Add our version maps backRoy Marples2008-01-06