Parent Directory | Revision Log
Wait for plugins to finish before moving on.
malloc over fatty buffers
Wups, should be xstrdup
Punt rc_ from xstrdup, xalloc, xrealloc and exists as they're not in librc anymore
Revert last patch
We no longer use bool in our public headers, using int instead.
plugin hook function is now rc_plugin_hook instead of a name based on the name of the plugin.
API change! rc_ls_dir, rc_get_config and rc_get_list no longer take a starting list as a first argument. Instead, use rc_strlist_join to append or prepend the new list to an existing list.
Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to 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.
Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution.
Don't trust the plugin
Flush the ebuffer before and after running a plugin.
As we're running each plugin in a fork, we need to call our cleanup code so we don't leak memory. To this extent, we now have the global boolean rc_in_plugin and the cleanup code can act accordingly.
Implement FreeBSD's dlfunc function to avoid ISO warnings on dlsym - thanks to drizztbsd for find public domain code :)
Use correct function casts. Use dlfunc where available to remove ISO warnings :)
Don't pass $CONSOLE to sulogin and split rc_environ_fd on NULLs
Plugins now run in a forked process for extra resliance.
strdup -> rc_xstrdup
Use RTLD_NOW instead of RTLD_LAZY
Cuddle up to LKML C style
Misc fixes, plugged a memory leak in runscript.c and use va_copy to avoid nasty segfaults
Rewrite the core parts in C. We now provide librc so other programs can 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="184.108.40.206/24 220.127.116.11/16" or like so config_eth0="'18.104.22.168 netmask 255.255.255.0' '22.214.171.124 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.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|Powered by ViewVC 1.1.20|