GNU/Linux |
CentOS 4.8 |
i386 |
selinux_failsafe_context_path(3) |
selinux_binary_policy_path,selinux_failsafe_context_path,selinux_removable_context_path,selinux_default_context_path, selinux_user_contexts_path, selinux_file_context_path, selinux_media_context_path, selinux_contexts_path, selinux_booleans_path
These functions
return the paths to specific files under the
policy root directory.
#include <selinux/selinux.h>
extern const
char *selinux_binary_policy_path(void);
extern const char *selinux_failsafe_context_path(void);
extern const char *selinux_removable_context_path(void);
extern const char *selinux_default_context_path(void);
extern const char *selinux_user_contexts_path(void);
extern const char *selinux_file_context_path(void);
extern const char *selinux_media_context_path(void);
extern const char *selinux_contexts_path(void);
extern const char *selinux_booleans_path(void);
These functions
return the paths to specific files under the
policy root directory.
selinux_binary_policy_path
Default Binary Policy
selinux_failsafe_context_path
Default failsafe context file
selinux_removable_context_path
Default removeable context file
selinux_default_context_path
Default context used by login programs and daemons that
assume user roles.
selinux_user_contexts_path
Default user context file; used by login programs for
default login context
selinux_file_context_path
Default file context file used restorecon
selinux_media_context_path
Default media context file use to set contexts on media
devices (cdrom, floppies)
selinux_contexts_path
Parent directory of context files
selinux_booleans_path
Boolean file path, used by boolean manipulation tools
AUTHORThis manual page was written by Dan Walsh <dwalsh@redhat.com>.
|