71 lines
1.1 KiB
Plaintext
71 lines
1.1 KiB
Plaintext
policy_module(miscfiles, 1.13.0)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
attribute cert_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)
|