aboutsummaryrefslogtreecommitdiff
path: root/src/rc-plugin.c
AgeCommit message (Collapse)Author
2007-10-22Wait for plugins to finish before moving on.Roy Marples
2007-10-12malloc over fatty buffersRoy Marples
2007-10-08Wups, should be xstrdupRoy Marples
2007-10-08Punt rc_ from xstrdup, xalloc, xrealloc and exists as they're not in librc ↵Roy Marples
anymore
2007-10-05Punt rc_ls_dirRoy Marples
2007-09-25Revert last patchRoy Marples
2007-09-25We no longer use bool in our public headers, using int instead.Roy Marples
2007-09-19plugin hook function is now rc_plugin_hook instead of a name basedRoy Marples
on the name of the plugin.
2007-09-18API change! rc_ls_dir, rc_get_config and rc_get_list no longer takeRoy Marples
a starting list as a first argument. Instead, use rc_strlist_join to append or prepend the new list to an existing list.
2007-08-09Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to ↵Roy Marples
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.
2007-07-11Punt the dodgy ebuffer code. We now force prefixing for parallel starts ↵Roy Marples
which also reduces our variable pollution.
2007-07-05Don't trust the pluginRoy Marples
2007-07-04Flush the ebuffer before and after running a plugin.Roy Marples
2007-07-04As we're running each plugin in a fork, we need to call our cleanup code so ↵Roy Marples
we don't leak memory. To this extent, we now have the global boolean rc_in_plugin and the cleanup code can act accordingly.
2007-05-14Implement FreeBSD's dlfunc function to avoid ISO warnings on dlsym - thanks ↵Roy Marples
to drizztbsd for find public domain code :)
2007-05-14Use correct function casts. Use dlfunc where available to remove ISO warnings :)Roy Marples
2007-04-25Don't pass $CONSOLE to sulogin and split rc_environ_fd on NULLsRoy Marples
2007-04-20Plugins now run in a forked process for extra resliance.Roy Marples
2007-04-19strdup -> rc_xstrdupRoy Marples
2007-04-19Use RTLD_NOW instead of RTLD_LAZYRoy Marples
2007-04-11Cuddle up to LKML C styleRoy Marples
2007-04-10Fix indentationRoy Marples
2007-04-06Misc fixes, plugged a memory leak in runscript.c and use va_copy to avoid ↵Roy Marples
nasty segfaults
2007-04-05Rewrite the core parts in C. We now provide librc so other programs canRoy Marples
query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="1.2.3.4/24 5.6.7.8/16" or like so config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.