selinux_binary_policy_path - Man Page
These functions return the paths to the active SELinux policy configuration directories and files
Synopsis
#include <selinux/selinux.h>
const char *selinux_path(void);
const char *selinux_policy_root(void);
const char *selinux_binary_policy_path(void);
const char *selinux_current_policy_path(void);
const char *selinux_failsafe_context_path(void);
const char *selinux_removable_context_path(void);
const char *selinux_default_context_path(void);
const char *selinux_user_contexts_path(void);
const char *selinux_usersconf_path(void);
const char *selinux_x_context_path(void);
const char *selinux_sepgsql_context_path(void);
const char *selinux_file_context_path(void);
const char *selinux_media_context_path(void);
const char *selinux_securetty_types_path(void);
const char *selinux_contexts_path(void);
Description
These functions return the paths to the active policy configuration directories and files based on the settings in /etc/selinux/config.
selinux_path() returns the top-level SELinux configuration directory.
selinux_policy_root() returns the top-level policy directory.
selinux_binary_policy_path() returns the binary policy file loaded into kernel.
selinux_current_policy_path() returns the currently loaded policy file from the kernel.
selinux_default_type_path() returns the context file mapping roles to default types.
selinux_failsafe_context_path() returns the failsafe context for emergency logins.
selinux_removable_context_path() returns the filesystem context for removable media.
selinux_default_context_path() returns the system-wide default contexts for user sessions.
selinux_user_contexts_path() returns the directory containing per-user default contexts.
selinux_usersconf_path() returns the file containing mapping between Linux Users and SELinux users.
selinux_x_context_path() returns the file containing configuration for XSELinux extension.
selinux_sepgsql_context_path() returns the file containing configuration for SE-PostgreSQL.
selinux_netfilter_context_path() returns the default netfilter context.
selinux_file_context_path() returns the default system file contexts configuration.
selinux_file_context_local_path() returns the local customization file contexts configuration.
selinux_file_context_homedir_path() returns the home directory file contexts configuration.
selinux_media_context_path() returns the file contexts for media device nodes.
selinux_contexts_path() returns the directory containing all of the context configuration files.
selinux_securetty_types_path() returns the defines tty types for newrole securettys.
Author
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
See Also
Referenced By
default_contexts(5), default_type(5), failsafe_context(5), matchpathcon(3), removable_context(5), securetty_types(5), selabel_db(5), selabel_file(5), selabel_media(5), selabel_x(5), selinux_config(5), seusers(5), user_contexts(5).
The man pages selinux_contexts_path(3), selinux_current_policy_path(3), selinux_default_context_path(3), selinux_default_type_path(3), selinux_failsafe_context_path(3), selinux_file_context_homedir_path(3), selinux_file_context_local_path(3), selinux_file_context_path(3), selinux_homedir_context_path(3), selinux_media_context_path(3), selinux_netfilter_context_path(3), selinux_path(3), selinux_removable_context_path(3), selinux_securetty_types_path(3), selinux_sepgsql_context_path(3), selinux_user_contexts_path(3), selinux_usersconf_path(3) and selinux_x_context_path(3) are aliases of selinux_binary_policy_path(3).