selinux-refpolicy/policy/modules/admin/tzdata.te

37 lines
709 B
Plaintext

policy_module(tzdata,1.1.0)
########################################
#
# Declarations
#
type tzdata_t;
type tzdata_exec_t;
init_daemon_domain(tzdata_t, tzdata_exec_t)
application_domain(tzdata_t, tzdata_exec_t)
########################################
#
# tzdata local policy
#
files_read_etc_files(tzdata_t)
files_search_spool(tzdata_t)
term_dontaudit_list_ptys(tzdata_t)
libs_use_ld_so(tzdata_t)
libs_use_shared_libs(tzdata_t)
locallogin_dontaudit_use_fds(tzdata_t)
miscfiles_read_localization(tzdata_t)
miscfiles_manage_localization(tzdata_t)
miscfiles_etc_filetrans_localization(tzdata_t)
# tzdata looks for /var/spool/postfix/etc/localtime.
optional_policy(`
postfix_search_spool(tzdata_t)
')