aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.src.h3
-rw-r--r--include/bb_archive.h3
-rw-r--r--include/libbb.h6
3 files changed, 4 insertions, 8 deletions
diff --git a/include/applets.src.h b/include/applets.src.h
index 5b597202e..6e1b02fc3 100644
--- a/include/applets.src.h
+++ b/include/applets.src.h
@@ -192,8 +192,6 @@ IF_KILLALL5(APPLET_ODDNAME(killall5, kill, BB_DIR_USR_SBIN, BB_SUID_DROP, killal
192IF_LAST(APPLET(last, BB_DIR_USR_BIN, BB_SUID_DROP)) 192IF_LAST(APPLET(last, BB_DIR_USR_BIN, BB_SUID_DROP))
193//IF_LENGTH(APPLET_NOFORK(length, length, BB_DIR_USR_BIN, BB_SUID_DROP, length)) 193//IF_LENGTH(APPLET_NOFORK(length, length, BB_DIR_USR_BIN, BB_SUID_DROP, length))
194IF_LESS(APPLET(less, BB_DIR_USR_BIN, BB_SUID_DROP)) 194IF_LESS(APPLET(less, BB_DIR_USR_BIN, BB_SUID_DROP))
195IF_SETARCH(APPLET_ODDNAME(linux32, setarch, BB_DIR_BIN, BB_SUID_DROP, linux32))
196IF_SETARCH(APPLET_ODDNAME(linux64, setarch, BB_DIR_BIN, BB_SUID_DROP, linux64))
197IF_LN(APPLET_NOEXEC(ln, ln, BB_DIR_BIN, BB_SUID_DROP, ln)) 195IF_LN(APPLET_NOEXEC(ln, ln, BB_DIR_BIN, BB_SUID_DROP, ln))
198IF_LOAD_POLICY(APPLET(load_policy, BB_DIR_USR_SBIN, BB_SUID_DROP)) 196IF_LOAD_POLICY(APPLET(load_policy, BB_DIR_USR_SBIN, BB_SUID_DROP))
199IF_LOADFONT(APPLET(loadfont, BB_DIR_USR_SBIN, BB_SUID_DROP)) 197IF_LOADFONT(APPLET(loadfont, BB_DIR_USR_SBIN, BB_SUID_DROP))
@@ -274,7 +272,6 @@ IF_SELINUXENABLED(APPLET(selinuxenabled, BB_DIR_USR_SBIN, BB_SUID_DROP))
274IF_SENDMAIL(APPLET(sendmail, BB_DIR_USR_SBIN, BB_SUID_DROP)) 272IF_SENDMAIL(APPLET(sendmail, BB_DIR_USR_SBIN, BB_SUID_DROP))
275IF_SEQ(APPLET_NOFORK(seq, seq, BB_DIR_USR_BIN, BB_SUID_DROP, seq)) 273IF_SEQ(APPLET_NOFORK(seq, seq, BB_DIR_USR_BIN, BB_SUID_DROP, seq))
276IF_SESTATUS(APPLET(sestatus, BB_DIR_USR_SBIN, BB_SUID_DROP)) 274IF_SESTATUS(APPLET(sestatus, BB_DIR_USR_SBIN, BB_SUID_DROP))
277IF_SETARCH(APPLET(setarch, BB_DIR_BIN, BB_SUID_DROP))
278IF_SETCONSOLE(APPLET(setconsole, BB_DIR_SBIN, BB_SUID_DROP)) 275IF_SETCONSOLE(APPLET(setconsole, BB_DIR_SBIN, BB_SUID_DROP))
279IF_SETENFORCE(APPLET(setenforce, BB_DIR_USR_SBIN, BB_SUID_DROP)) 276IF_SETENFORCE(APPLET(setenforce, BB_DIR_USR_SBIN, BB_SUID_DROP))
280IF_SETFILES(APPLET(setfiles, BB_DIR_SBIN, BB_SUID_DROP)) 277IF_SETFILES(APPLET(setfiles, BB_DIR_SBIN, BB_SUID_DROP))
diff --git a/include/bb_archive.h b/include/bb_archive.h
index e2c8aede4..03f174839 100644
--- a/include/bb_archive.h
+++ b/include/bb_archive.h
@@ -87,6 +87,9 @@ typedef struct archive_handle_t {
87 off_t offset; 87 off_t offset;
88 88
89 /* Archiver specific. Can make it a union if it ever gets big */ 89 /* Archiver specific. Can make it a union if it ever gets big */
90#if ENABLE_FEATURE_TAR_LONG_OPTIONS
91 unsigned tar__strip_components;
92#endif
90#define PAX_NEXT_FILE 0 93#define PAX_NEXT_FILE 0
91#define PAX_GLOBAL 1 94#define PAX_GLOBAL 1
92#if ENABLE_TAR || ENABLE_DPKG || ENABLE_DPKG_DEB 95#if ENABLE_TAR || ENABLE_DPKG || ENABLE_DPKG_DEB
diff --git a/include/libbb.h b/include/libbb.h
index de00abe7f..7959884e3 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1347,11 +1347,6 @@ extern void selinux_preserve_fcontext(int fdesc) FAST_FUNC;
1347extern void selinux_or_die(void) FAST_FUNC; 1347extern void selinux_or_die(void) FAST_FUNC;
1348 1348
1349 1349
1350/* systemd support */
1351#define SD_LISTEN_FDS_START 3
1352int sd_listen_fds(void);
1353
1354
1355/* setup_environment: 1350/* setup_environment:
1356 * if chdir pw->pw_dir: ok: else if to_tmp == 1: goto /tmp else: goto / or die 1351 * if chdir pw->pw_dir: ok: else if to_tmp == 1: goto /tmp else: goto / or die
1357 * if clear_env = 1: cd(pw->pw_dir), clear environment, then set 1352 * if clear_env = 1: cd(pw->pw_dir), clear environment, then set
@@ -1418,6 +1413,7 @@ extern void print_login_prompt(void) FAST_FUNC;
1418char *xmalloc_ttyname(int fd) FAST_FUNC RETURNS_MALLOC; 1413char *xmalloc_ttyname(int fd) FAST_FUNC RETURNS_MALLOC;
1419/* NB: typically you want to pass fd 0, not 1. Think 'applet | grep something' */ 1414/* NB: typically you want to pass fd 0, not 1. Think 'applet | grep something' */
1420int get_terminal_width_height(int fd, unsigned *width, unsigned *height) FAST_FUNC; 1415int get_terminal_width_height(int fd, unsigned *width, unsigned *height) FAST_FUNC;
1416int get_terminal_width(int fd) FAST_FUNC;
1421 1417
1422int tcsetattr_stdin_TCSANOW(const struct termios *tp) FAST_FUNC; 1418int tcsetattr_stdin_TCSANOW(const struct termios *tp) FAST_FUNC;
1423 1419