diff options
author | Davide Cavalca <davide@geexbox.org> | 2011-01-25 02:26:03 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-25 02:26:03 +0100 |
commit | 9b3b9790b32d440eb89af5edda70a66b1829e861 (patch) | |
tree | f0e6d7d088262813025df1f0393cbd2ded8c1c78 /include | |
parent | 444ff284c4097081108e0eded4711247aacda740 (diff) | |
download | busybox-w32-9b3b9790b32d440eb89af5edda70a66b1829e861.tar.gz busybox-w32-9b3b9790b32d440eb89af5edda70a66b1829e861.tar.bz2 busybox-w32-9b3b9790b32d440eb89af5edda70a66b1829e861.zip |
add ENABLE_FEATURE_SYSTEMD and use it in syslogd
Signed-off-by: Davide Cavalca <davide@geexbox.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 968bdcf5a..32e25a8d4 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1217,6 +1217,12 @@ extern void selinux_preserve_fcontext(int fdesc) FAST_FUNC; | |||
1217 | #endif | 1217 | #endif |
1218 | extern void selinux_or_die(void) FAST_FUNC; | 1218 | extern void selinux_or_die(void) FAST_FUNC; |
1219 | 1219 | ||
1220 | |||
1221 | /* systemd support */ | ||
1222 | #define SD_LISTEN_FDS_START 3 | ||
1223 | int sd_listen_fds(void); | ||
1224 | |||
1225 | |||
1220 | /* setup_environment: | 1226 | /* setup_environment: |
1221 | * if chdir pw->pw_dir: ok: else if to_tmp == 1: goto /tmp else: goto / or die | 1227 | * if chdir pw->pw_dir: ok: else if to_tmp == 1: goto /tmp else: goto / or die |
1222 | * if clear_env = 1: cd(pw->pw_dir), clear environment, then set | 1228 | * if clear_env = 1: cd(pw->pw_dir), clear environment, then set |