GNU/Linux |
CentOS 5.2 |
|
![]() |
selinux_media_context_path(3) |
![]() |
selinux_policy_root, 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 the active policy configuration directories and files.
#include <selinux/selinux.h>
extern const
char *selinux_policy_root(void);
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_securetty_types_path(void);
extern const char *selinux_contexts_path(void);
extern const char *selinux_booleans_path(void);
These functions return the paths to the active policy configuration directories and files based on the settings in /etc/selinux/config.
selinux_policy_root() - top-level policy directory
selinux_binary_policy_path() - binary policy file loaded into kernel
selinux_failsafe_context_path() - failsafe context for emergency logins
selinux_removable_context_path() - filesystem context for removable media
selinux_default_context_path() - system-wide default contexts for user sessions
selinux_user_contexts_path() - directory containing per-user default contexts
selinux_file_context_path() - file contexts configuration
selinux_media_context_path() - file contexts for media device nodes
selinux_contexts_path() - directory containing all of the context configuration files
selinux_securetty_types_path() - defines tty types for newrole securettys
selinux_booleans_path() - initial policy boolean settings
AUTHORThis manual page was written by Dan Walsh <dwalsh@redhat.com>.
|