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 af385e232..71f439fa9 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -44,6 +44,8 @@ | |||
| 44 | #if ENABLE_SELINUX | 44 | #if ENABLE_SELINUX |
| 45 | #include <selinux/selinux.h> | 45 | #include <selinux/selinux.h> |
| 46 | #include <selinux/context.h> | 46 | #include <selinux/context.h> |
| 47 | #include <selinux/flask.h> | ||
| 48 | #include <selinux/av_permissions.h> | ||
| 47 | #endif | 49 | #endif |
| 48 | 50 | ||
| 49 | #if ENABLE_LOCALE_SUPPORT | 51 | #if ENABLE_LOCALE_SUPPORT |
| @@ -818,6 +820,9 @@ extern void set_current_security_context(security_context_t sid); | |||
| 818 | extern context_t set_security_context_component(security_context_t cur_context, | 820 | extern context_t set_security_context_component(security_context_t cur_context, |
| 819 | char *user, char *role, char *type, char *range); | 821 | char *user, char *role, char *type, char *range); |
| 820 | extern void setfscreatecon_or_die(security_context_t scontext); | 822 | extern void setfscreatecon_or_die(security_context_t scontext); |
| 823 | extern void selinux_preserve_fcontext(int fdesc); | ||
| 824 | #else | ||
| 825 | #define selinux_preserve_fcontext(fdesc) ((void)0) | ||
| 821 | #endif | 826 | #endif |
| 822 | extern void selinux_or_die(void); | 827 | extern void selinux_or_die(void); |
| 823 | extern int restricted_shell(const char *shell); | 828 | extern int restricted_shell(const char *shell); |
