2017-06-07 23:26:06 +00:00
|
|
|
policy_module(miscfiles, 1.12.4)
|
2005-04-26 17:00:25 +00:00
|
|
|
|
2005-06-30 18:54:08 +00:00
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
2010-09-09 16:14:48 +00:00
|
|
|
attribute cert_type;
|
|
|
|
|
2005-04-14 20:18:17 +00:00
|
|
|
#
|
|
|
|
# cert_t is the type of files in the system certs directories.
|
|
|
|
#
|
|
|
|
type cert_t;
|
2010-09-09 16:14:48 +00:00
|
|
|
miscfiles_cert_type(cert_t)
|
2010-11-11 20:11:38 +00:00
|
|
|
|
2005-04-14 20:18:17 +00:00
|
|
|
#
|
|
|
|
# fonts_t is the type of various font
|
|
|
|
# files in /usr
|
|
|
|
#
|
|
|
|
type fonts_t;
|
2006-06-14 20:52:45 +00:00
|
|
|
files_type(fonts_t)
|
2005-04-14 20:18:17 +00:00
|
|
|
|
2010-03-09 15:44:55 +00:00
|
|
|
type fonts_cache_t;
|
|
|
|
files_type(fonts_cache_t)
|
|
|
|
|
2005-09-13 13:06:07 +00:00
|
|
|
#
|
2005-10-13 20:59:36 +00:00
|
|
|
# type for /usr/share/hwdata
|
2005-09-13 13:06:07 +00:00
|
|
|
#
|
2005-10-13 20:59:36 +00:00
|
|
|
type hwdata_t;
|
|
|
|
files_type(hwdata_t)
|
2005-09-16 19:36:10 +00:00
|
|
|
|
2005-04-14 20:18:17 +00:00
|
|
|
#
|
|
|
|
# locale_t is the type for system localization
|
|
|
|
#
|
|
|
|
type locale_t;
|
2005-06-29 14:26:41 +00:00
|
|
|
files_type(locale_t)
|
2005-04-14 20:18:17 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# man_t is the type for the man directories.
|
|
|
|
#
|
2005-09-13 13:06:07 +00:00
|
|
|
type man_t alias catman_t;
|
2005-06-29 14:26:41 +00:00
|
|
|
files_type(man_t)
|
2005-04-14 20:18:17 +00:00
|
|
|
|
2017-02-24 01:03:23 +00:00
|
|
|
optional_policy(`
|
|
|
|
systemd_tmpfilesd_managed(man_t, dir)
|
|
|
|
')
|
|
|
|
|
2012-10-31 18:02:16 +00:00
|
|
|
type man_cache_t;
|
|
|
|
files_type(man_cache_t)
|
|
|
|
|
2005-10-13 20:59:36 +00:00
|
|
|
#
|
|
|
|
# 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)
|
|
|
|
|
2005-04-14 20:18:17 +00:00
|
|
|
#
|
|
|
|
# Base type for the tests directory.
|
|
|
|
#
|
2005-04-21 21:34:08 +00:00
|
|
|
type test_file_t;
|
2005-06-29 14:26:41 +00:00
|
|
|
files_type(test_file_t)
|
2005-04-14 20:18:17 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# for /var/{spool,lib}/texmf index files
|
|
|
|
#
|
2005-07-18 18:31:49 +00:00
|
|
|
type tetex_data_t;
|
|
|
|
files_tmp_file(tetex_data_t)
|