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