summaryrefslogtreecommitdiff
path: root/src/librc/librc.h
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-01-05 22:03:43 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2011-01-05 22:09:34 -0800
commit09f990a7c835d75f67cfe696a35e8c46e67c612f (patch)
treeda69536cd225bad4028b01e88a0629bdca472dc1 /src/librc/librc.h
parent6df531d33d0f3c3cad8edcafdcd62525ca30fc1f (diff)
downloadopenrc-09f990a7c835d75f67cfe696a35e8c46e67c612f.tar.gz
openrc-09f990a7c835d75f67cfe696a35e8c46e67c612f.tar.bz2
openrc-09f990a7c835d75f67cfe696a35e8c46e67c612f.tar.xz
Implement explicit selection of subsystem types.
- 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>
Diffstat (limited to 'src/librc/librc.h')
-rw-r--r--src/librc/librc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librc/librc.h b/src/librc/librc.h
index fc87bb1..dc97f1d 100644
--- a/src/librc/librc.h
+++ b/src/librc/librc.h
@@ -125,6 +125,8 @@ librc_hidden_proto(rc_stringlist_new)
librc_hidden_proto(rc_stringlist_split)
librc_hidden_proto(rc_stringlist_sort)
librc_hidden_proto(rc_sys)
+librc_hidden_proto(rc_sys_v1)
+librc_hidden_proto(rc_sys_v2)
librc_hidden_proto(rc_yesno)
#endif