aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-12 18:22:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-12 18:22:55 +0000
commit39c651e9097e0e55a52c897982d6e84d281f7396 (patch)
treead535283af2299825f65b6b44c889dc7e7bfc842 /include
parentb3f09f4a5092aacbdc3da80d4fefeaf06445a4f8 (diff)
downloadbusybox-w32-39c651e9097e0e55a52c897982d6e84d281f7396.tar.gz
busybox-w32-39c651e9097e0e55a52c897982d6e84d281f7396.tar.bz2
busybox-w32-39c651e9097e0e55a52c897982d6e84d281f7396.zip
introduce and use setfscreatecon_or_die
(patch by Yuichi Nakamura <ynakam@hitachisoft.jp>) runcon: *yet another* fix for vda's brainfart :(
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 69652b666..401fce4cf 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -601,6 +601,7 @@ extern void renew_current_security_context(void);
601extern void set_current_security_context(security_context_t sid); 601extern void set_current_security_context(security_context_t sid);
602extern context_t set_security_context_component(security_context_t cur_context, 602extern context_t set_security_context_component(security_context_t cur_context,
603 char *user, char *role, char *type, char *range); 603 char *user, char *role, char *type, char *range);
604extern void setfscreatecon_or_die(security_context_t scontext);
604#endif 605#endif
605extern void selinux_or_die(void); 606extern void selinux_or_die(void);
606extern int restricted_shell(const char *shell); 607extern int restricted_shell(const char *shell);