summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-05-03 03:28:55 +0000
committerRob Landley <rob@landley.net>2005-05-03 03:28:55 +0000
commite3752e56a43a823f4aaaa9a4374ccc367417b942 (patch)
treeb954cd7801fd3a30f8a5231ee0106c8db11da568 /include
parent8445a9ff99f04cad8845a1aed6ab17737f2d985a (diff)
Revert Tito's patch to zcip. My bad, David Brownell had objected and I missed
it...
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h
index f2401374b..6ae5c4d64 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -43,7 +43,7 @@
#include "config.h"
#ifdef CONFIG_SELINUX
-#include <proc_secure.h>
+#include <selinux/selinux.h>
#endif
#include "pwd_.h"
@@ -425,12 +425,11 @@ extern void change_identity ( const struct passwd *pw );
extern const char *change_identity_e2str ( const struct passwd *pw );
extern void run_shell ( const char *shell, int loginshell, const char *command, const char **additional_args
#ifdef CONFIG_SELINUX
- , security_id_t sid
+ , security_context_t sid
#endif
);
extern int run_parts(char **args, const unsigned char test_mode, char **env);
extern int restricted_shell ( const char *shell );
-extern void xsetenv ( const char *key, const char *value );
extern void setup_environment ( const char *shell, int loginshell, int changeenv, const struct passwd *pw );
extern int correct_password ( const struct passwd *pw );
extern char *pw_encrypt(const char *clear, const char *salt);
@@ -461,7 +460,7 @@ typedef struct {
extern procps_status_t * procps_scan(int save_user_arg0
#ifdef CONFIG_SELINUX
- , int use_selinux, security_id_t *sid
+ , int use_selinux, security_context_t *sid
#endif
);
extern unsigned short compare_string_array(const char *string_array[], const char *key);