selinux-refpolicy/policy/modules/system/miscfiles.te
2018-01-14 14:08:09 -05:00

78 lines
1.2 KiB
Plaintext

policy_module(miscfiles, 1.14.0)
########################################
#
# Declarations
#
attribute cert_type;
attribute tls_privkey_type;
#
# cert_t is the type of files in the system certs directories.
#
type cert_t;
miscfiles_cert_type(cert_t)
#
# fonts_t is the type of various font
# files in /usr
#
type fonts_t;
files_type(fonts_t)
type fonts_cache_t;
files_type(fonts_cache_t)
#
# type for /usr/share/hwdata
#
type hwdata_t;
files_type(hwdata_t)
#
# locale_t is the type for system localization
#
type locale_t;
files_type(locale_t)
#
# man_t is the type for the man directories.
#
type man_t alias catman_t;
files_type(man_t)
optional_policy(`
systemd_tmpfilesd_managed(man_t, dir)
')
type man_cache_t;
files_type(man_cache_t)
#
# Types for public content
#
type public_content_t; #, customizable;
files_type(public_content_t)
type public_content_rw_t; #, customizable;
files_type(public_content_rw_t)
#
# Base type for the tests directory.
#
type test_file_t;
files_type(test_file_t)
#
# for /var/{spool,lib}/texmf index files
#
type tetex_data_t;
files_tmp_file(tetex_data_t)
#
# tls_privkey_t is the type of files for the SSL/TLS private keys.
#
type tls_privkey_t;
miscfiles_tls_privkey_type(tls_privkey_t)