|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# Authors: Stephen Smalley <sds@epoch.ncsc.mil> and Timothy Fraser
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
############################################
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# Security types
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# security_t is the target type when checking
|
|
Chris PeBenito |
31b7c0 |
# the permissions in the security class. It is also
|
|
Chris PeBenito |
31b7c0 |
# applied to selinuxfs inodes.
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
type security_t, mount_point, fs_type, mlstrustedobject;
|
|
Chris PeBenito |
31b7c0 |
dontaudit domain security_t:dir search;
|
|
Chris PeBenito |
31b7c0 |
dontaudit domain security_t:file { getattr read };
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# policy_config_t is the type of /etc/security/selinux/*
|
|
Chris PeBenito |
31b7c0 |
# the security server policy configuration.
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
type policy_config_t, file_type, secadmfile;
|
|
Chris PeBenito |
31b7c0 |
# Since libselinux attempts to read these by default, most domains
|
|
Chris PeBenito |
31b7c0 |
# do not need it.
|
|
Chris PeBenito |
31b7c0 |
dontaudit domain selinux_config_t:dir search;
|
|
Chris PeBenito |
31b7c0 |
dontaudit domain selinux_config_t:file { getattr read };
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# policy_src_t is the type of the policy source
|
|
Chris PeBenito |
31b7c0 |
# files.
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
type policy_src_t, file_type, secadmfile;
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# default_context_t is the type applied to
|
|
Chris PeBenito |
31b7c0 |
# /etc/selinux/*/contexts/*
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
type default_context_t, file_type, login_contexts, secadmfile;
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# file_context_t is the type applied to
|
|
Chris PeBenito |
31b7c0 |
# /etc/selinux/*/contexts/files
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
type file_context_t, file_type, secadmfile;
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# no_access_t is the type for objects that should
|
|
Chris PeBenito |
31b7c0 |
# only be accessed administratively.
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
type no_access_t, file_type, sysadmfile;
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# selinux_config_t is the type applied to
|
|
Chris PeBenito |
31b7c0 |
# /etc/selinux/config
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
type selinux_config_t, file_type, secadmfile;
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
|