diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/include/libbb.h b/include/libbb.h index 6ae5c4d64..ac60dd6c2 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -423,11 +423,11 @@ void bb_xasprintf(char **string_ptr, const char *format, ...) __attribute__ ((fo | |||
423 | #define FAIL_DELAY 3 | 423 | #define FAIL_DELAY 3 |
424 | extern void change_identity ( const struct passwd *pw ); | 424 | extern void change_identity ( const struct passwd *pw ); |
425 | extern const char *change_identity_e2str ( const struct passwd *pw ); | 425 | extern const char *change_identity_e2str ( const struct passwd *pw ); |
426 | extern void run_shell ( const char *shell, int loginshell, const char *command, const char **additional_args | 426 | extern void run_shell ( const char *shell, int loginshell, const char *command, const char **additional_args); |
427 | #ifdef CONFIG_SELINUX | 427 | #ifdef CONFIG_SELINUX |
428 | , security_context_t sid | 428 | extern void renew_current_security_context(void); |
429 | #endif | 429 | extern void set_current_security_context(security_context_t sid); |
430 | ); | 430 | #endif |
431 | extern int run_parts(char **args, const unsigned char test_mode, char **env); | 431 | extern int run_parts(char **args, const unsigned char test_mode, char **env); |
432 | extern int restricted_shell ( const char *shell ); | 432 | extern int restricted_shell ( const char *shell ); |
433 | extern void setup_environment ( const char *shell, int loginshell, int changeenv, const struct passwd *pw ); | 433 | extern void setup_environment ( const char *shell, int loginshell, int changeenv, const struct passwd *pw ); |
@@ -458,11 +458,7 @@ typedef struct { | |||
458 | char short_cmd[16]; | 458 | char short_cmd[16]; |
459 | } procps_status_t; | 459 | } procps_status_t; |
460 | 460 | ||
461 | extern procps_status_t * procps_scan(int save_user_arg0 | 461 | extern procps_status_t * procps_scan(int save_user_arg0); |
462 | #ifdef CONFIG_SELINUX | ||
463 | , int use_selinux, security_context_t *sid | ||
464 | #endif | ||
465 | ); | ||
466 | extern unsigned short compare_string_array(const char *string_array[], const char *key); | 462 | extern unsigned short compare_string_array(const char *string_array[], const char *key); |
467 | 463 | ||
468 | extern int my_query_module(const char *name, int which, void **buf, size_t *bufsize, size_t *ret); | 464 | extern int my_query_module(const char *name, int which, void **buf, size_t *bufsize, size_t *ret); |