From 1203c9bf2f63938f7766a3022a9659b25712824f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 11 Mar 2007 22:16:02 +0000 Subject: next portion of selinux updates: chcon, runcon. From Yuichi Nakamura KaiGai Kohei --- include/libbb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libbb.h') 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 @@ #if ENABLE_SELINUX #include +#include #endif #if ENABLE_LOCALE_SUPPORT @@ -598,6 +599,8 @@ extern void run_shell(const char *shell, int loginshell, const char *command, co #if ENABLE_SELINUX extern void renew_current_security_context(void); extern void set_current_security_context(security_context_t sid); +extern context_t set_security_context_component(security_context_t cur_context, + char *user, char *role, char *type, char *range); #endif extern void selinux_or_die(void); extern int restricted_shell(const char *shell); -- cgit v1.2.3