summaryrefslogtreecommitdiff
path: root/src/librc.c
Commit message (Collapse)AuthorAge
* relicense as 2-clause BSD, with the kind permission of GentooRoy Marples2007-11-14
|
* Stop using asprintfRoy Marples2007-10-23
|
* malloc over fatty buffersRoy Marples2007-10-12
|
* Fix failed services a little, and make timeout more saneRoy Marples2007-10-09
|
* Don't stop reading dir contents on errorsRoy Marples2007-10-08
|
* Wups, should be xstrdupRoy Marples2007-10-08
|
* Punt rc_ from xstrdup, xalloc, xrealloc and exists as they're not in librc ↵Roy Marples2007-10-08
| | | | anymore
* Punt rc_waitpidRoy Marples2007-10-05
|
* Punt rc_rm_dirRoy Marples2007-10-05
|
* Punt rc_ls_dirRoy Marples2007-10-05
|
* rc_service_schedule_clear returns a bool on error nowRoy Marples2007-10-04
|
* LS_DIRS -> LS_DIRRoy Marples2007-10-04
|
* Punt rc_is_dirRoy Marples2007-10-04
|
* punt rc_is_execRoy Marples2007-10-04
|
* punt rc_is_linkRoy Marples2007-10-04
|
* Punt rc_is_fileRoy Marples2007-10-04
|
* rc_service_option_set -> rc_service_value_set, rc_service_option_get -> ↵Roy Marples2007-10-03
| | | | rc_service_value_get
* rc_schedule_clear -> rc_service_schedule_clear, rc_schedule_start_service -> ↵Roy Marples2007-10-03
| | | | rc_service_schedule_start
* rc_get_runlevels -> rc_runlevel_listRoy Marples2007-10-03
|
* rc_allow_plug -> rc_service_plugableRoy Marples2007-10-02
|
* rc_set_service_option -> rc_service_option_set, rc_get_service_option -> ↵Roy Marples2007-10-02
| | | | rc_service_option_get
* rc_wait_service -> rc_service_waitRoy Marples2007-09-29
|
* Rationalise more functions into rc_service_Roy Marples2007-09-29
|
* librc no longer uses libeinfo. deptree function names are now all under ↵Roy Marples2007-09-29
| | | | rc_deptree_
* Crashed is not a baselayout state as suchRoy Marples2007-09-28
|
* rc_service_state now returns the state as a mask, which means that we can do ↵Roy Marples2007-09-28
| | | | things with just the one call making is more efficient.
* enums are now fixed to specific values and are in UPPER CASE.Roy Marples2007-09-28
|
* add hidden definition for rc_waitpid()Mike Frysinger2007-09-26
|
* Revert last patchRoy Marples2007-09-25
|
* We no longer use bool in our public headers, using int instead.Roy Marples2007-09-25
|
* Initial doxygen documentation for rc.h and einfo.h. Plus some header clean ups.Roy Marples2007-09-25
|
* Use a pty for prefixed output instead of pipes for stdout/stderr. ThisRoy Marples2007-09-21
| | | | | | | | | | | | is so that programs can get information about the controlling terminal. This change was triggered by bug #188506 where it's possible that stdin, stdout and stderr didn't point to a terminal but ended up on one via our pipes. Using a pty means that stdout and stderr always point to a terminal, but we lose the ability to tell them apart. If there is not a pty available then we use un-prefixed output as normal. This change has also introduced the need for a signal pipe so that SIGCHLD can exit the loop cleanly.
* API change! rc_ls_dir, rc_get_config and rc_get_list no longer takeRoy Marples2007-09-18
| | | | | | a starting list as a first argument. Instead, use rc_strlist_join to append or prepend the new list to an existing list.
* API change! rc_strlist_add and friends now take char *** instead ofRoy Marples2007-09-18
| | | | | | | | | | | char ** and return a pointer to the item added instead of the new list head. This is so we can easily tell if the item was successfully added or not instead of iterating through the list looking for it. list = rc_strlist_add (list, item); becomes rc_strlist_add (&list, item);
* strdup -> rc_xstrdupRoy Marples2007-09-06
|
* Move more stuff to #definesRoy Marples2007-08-28
|
* Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to ↵Roy Marples2007-08-09
| | | | achieve the same goal (a loop + timeout). No longer put / at the end of directories, instead prefix like so RC_LIBDIR "/foo" to ensure more robust code.
* Add help to rc-update #188170 and tidy up the code a fair bit.Roy Marples2007-08-08
|
* Rename variableRoy Marples2007-07-10
|
* init scripts and their extra options can now have descriptions, #184327.Roy Marples2007-07-10
|
* Fix error and only let root run init commands except for status and helpRoy Marples2007-07-02
|
* Use clock MONOTONIC to timeout, not localtime, #177514Roy Marples2007-05-11
|
* Don't timeout waiting for checkfs and checkroot. Do a better fix later.Roy Marples2007-05-02
|
* Don't abort select when on signalsRoy Marples2007-04-25
|
* error then unlinkRoy Marples2007-04-21
|
* Don't free in vforkRoy Marples2007-04-21
|
* Re-work the starting and stopping of services so we always know the pid so ↵Roy Marples2007-04-20
| | | | we can kill our children without the need for process groups which we cannot use as keyboard will not work in init.
* Added the rc-abort command, #175106 thanks to Daniel Drake.Roy Marples2007-04-20
|
* Plugins now run in a forked process for extra resliance.Roy Marples2007-04-20
|
* strdup -> rc_xstrdupRoy Marples2007-04-19
|