diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-11 22:16:02 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-11 22:16:02 +0000 |
commit | 1203c9bf2f63938f7766a3022a9659b25712824f (patch) | |
tree | 162a5019d61ce2403466754ab0ee727e04f1563b /include | |
parent | baca1759129945fcd03d96ccc840892401b5a1af (diff) | |
download | busybox-w32-1203c9bf2f63938f7766a3022a9659b25712824f.tar.gz busybox-w32-1203c9bf2f63938f7766a3022a9659b25712824f.tar.bz2 busybox-w32-1203c9bf2f63938f7766a3022a9659b25712824f.zip |
next portion of selinux updates: chcon, runcon. From
Yuichi Nakamura <himainu-ynakam@miomio.jp>
KaiGai Kohei <busybox@kaigai.gr.jp>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index e07fa7587..69652b666 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -41,6 +41,7 @@ | |||
41 | 41 | ||
42 | #if ENABLE_SELINUX | 42 | #if ENABLE_SELINUX |
43 | #include <selinux/selinux.h> | 43 | #include <selinux/selinux.h> |
44 | #include <selinux/context.h> | ||
44 | #endif | 45 | #endif |
45 | 46 | ||
46 | #if ENABLE_LOCALE_SUPPORT | 47 | #if ENABLE_LOCALE_SUPPORT |
@@ -598,6 +599,8 @@ extern void run_shell(const char *shell, int loginshell, const char *command, co | |||
598 | #if ENABLE_SELINUX | 599 | #if ENABLE_SELINUX |
599 | extern void renew_current_security_context(void); | 600 | extern void renew_current_security_context(void); |
600 | extern void set_current_security_context(security_context_t sid); | 601 | extern void set_current_security_context(security_context_t sid); |
602 | extern context_t set_security_context_component(security_context_t cur_context, | ||
603 | char *user, char *role, char *type, char *range); | ||
601 | #endif | 604 | #endif |
602 | extern void selinux_or_die(void); | 605 | extern void selinux_or_die(void); |
603 | extern int restricted_shell(const char *shell); | 606 | extern int restricted_shell(const char *shell); |