aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/archive.h1
-rw-r--r--include/libbb.h9
2 files changed, 9 insertions, 1 deletions
diff --git a/include/archive.h b/include/archive.h
index 181c187f7..b139dc5be 100644
--- a/include/archive.h
+++ b/include/archive.h
@@ -84,6 +84,7 @@ typedef struct archive_handle_t {
84# endif 84# endif
85#if ENABLE_FEATURE_TAR_TO_COMMAND 85#if ENABLE_FEATURE_TAR_TO_COMMAND
86 char* tar__to_command; 86 char* tar__to_command;
87 const char* tar__to_command_shell;
87#endif 88#endif
88# if ENABLE_FEATURE_TAR_SELINUX 89# if ENABLE_FEATURE_TAR_SELINUX
89 char* tar__global_sctx; 90 char* tar__global_sctx;
diff --git a/include/libbb.h b/include/libbb.h
index c26012c5d..c371e35f2 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1198,10 +1198,17 @@ char *bb_simplify_path(const char *path) FAST_FUNC;
1198/* Returns ptr to NUL */ 1198/* Returns ptr to NUL */
1199char *bb_simplify_abs_path_inplace(char *path) FAST_FUNC; 1199char *bb_simplify_abs_path_inplace(char *path) FAST_FUNC;
1200 1200
1201#define FAIL_DELAY 3 1201#define LOGIN_FAIL_DELAY 3
1202extern void bb_do_delay(int seconds) FAST_FUNC; 1202extern void bb_do_delay(int seconds) FAST_FUNC;
1203extern void change_identity(const struct passwd *pw) FAST_FUNC; 1203extern void change_identity(const struct passwd *pw) FAST_FUNC;
1204extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args) NORETURN FAST_FUNC; 1204extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args) NORETURN FAST_FUNC;
1205
1206/* Returns $SHELL, getpwuid(getuid())->pw_shell, or DEFAULT_SHELL.
1207 * Note that getpwuid result might need xstrdup'ing
1208 * if there is a possibility of intervening getpwxxx() calls.
1209 */
1210const char *get_shell_name(void);
1211
1205#if ENABLE_SELINUX 1212#if ENABLE_SELINUX
1206extern void renew_current_security_context(void) FAST_FUNC; 1213extern void renew_current_security_context(void) FAST_FUNC;
1207extern void set_current_security_context(security_context_t sid) FAST_FUNC; 1214extern void set_current_security_context(security_context_t sid) FAST_FUNC;