diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 777a4a884..6b33ffad6 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1481,6 +1481,11 @@ extern void selinux_or_die(void) FAST_FUNC; | |||
1481 | #define SETUP_ENV_NO_CHDIR (1 << 4) | 1481 | #define SETUP_ENV_NO_CHDIR (1 << 4) |
1482 | void setup_environment(const char *shell, int flags, const struct passwd *pw) FAST_FUNC; | 1482 | void setup_environment(const char *shell, int flags, const struct passwd *pw) FAST_FUNC; |
1483 | void nuke_str(char *str) FAST_FUNC; | 1483 | void nuke_str(char *str) FAST_FUNC; |
1484 | #if ENABLE_FEATURE_SECURETTY && !ENABLE_PAM | ||
1485 | int check_securetty(const char *short_tty) FAST_FUNC; | ||
1486 | #else | ||
1487 | static ALWAYS_INLINE int check_securetty(const char *short_tty UNUSED_PARAM) { return 1; } | ||
1488 | #endif | ||
1484 | int check_password(const struct passwd *pw, const char *plaintext) FAST_FUNC; | 1489 | int check_password(const struct passwd *pw, const char *plaintext) FAST_FUNC; |
1485 | int ask_and_check_password_extended(const struct passwd *pw, int timeout, const char *prompt) FAST_FUNC; | 1490 | int ask_and_check_password_extended(const struct passwd *pw, int timeout, const char *prompt) FAST_FUNC; |
1486 | int ask_and_check_password(const struct passwd *pw) FAST_FUNC; | 1491 | int ask_and_check_password(const struct passwd *pw) FAST_FUNC; |