diff options
author | Davide Cavalca | 2011-01-25 02:26:03 +0100 |
---|---|---|
committer | Denys Vlasenko | 2011-01-25 02:26:03 +0100 |
commit | 9b3b9790b32d440eb89af5edda70a66b1829e861 (patch) | |
tree | f0e6d7d088262813025df1f0393cbd2ded8c1c78 /include | |
parent | 444ff284c4097081108e0eded4711247aacda740 (diff) | |
download | busybox-9b3b9790b32d440eb89af5edda70a66b1829e861.zip busybox-9b3b9790b32d440eb89af5edda70a66b1829e861.tar.gz |
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 968bdcf..32e25a8 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -1217,6 +1217,12 @@ extern void selinux_preserve_fcontext(int fdesc) FAST_FUNC; #endif extern void selinux_or_die(void) FAST_FUNC; + +/* systemd support */ +#define SD_LISTEN_FDS_START 3 +int sd_listen_fds(void); + + /* setup_environment: * if chdir pw->pw_dir: ok: else if to_tmp == 1: goto /tmp else: goto / or die * if clear_env = 1: cd(pw->pw_dir), clear environment, then set |