Chris PeBenito 6b19be
Chris PeBenito 6b19be
policy_module(tzdata,1.0.0)
Chris PeBenito 6b19be
Chris PeBenito 6b19be
########################################
Chris PeBenito 6b19be
#
Chris PeBenito 6b19be
# Declarations
Chris PeBenito 6b19be
#
Chris PeBenito 6b19be
Chris PeBenito 6b19be
type tzdata_t;
Chris PeBenito 6b19be
type tzdata_exec_t;
Chris PeBenito 6b19be
init_daemon_domain(tzdata_t, tzdata_exec_t)
Chris PeBenito 6b19be
Chris PeBenito 6b19be
########################################
Chris PeBenito 6b19be
#
Chris PeBenito 6b19be
# tzdata local policy
Chris PeBenito 6b19be
#
Chris PeBenito 6b19be
Chris PeBenito 6b19be
files_read_etc_files(tzdata_t)
Chris PeBenito 6b19be
files_search_spool(tzdata_t)
Chris PeBenito 6b19be
Chris PeBenito 6b19be
term_dontaudit_list_ptys(tzdata_t)
Chris PeBenito 6b19be
Chris PeBenito 6b19be
libs_use_ld_so(tzdata_t)
Chris PeBenito 6b19be
libs_use_shared_libs(tzdata_t)
Chris PeBenito 6b19be
Chris PeBenito 6b19be
locallogin_dontaudit_use_fds(tzdata_t)
Chris PeBenito 6b19be
Chris PeBenito 6b19be
miscfiles_read_localization(tzdata_t)
Chris PeBenito 6b19be
miscfiles_manage_localization(tzdata_t)
Chris PeBenito 6b19be
miscfiles_etc_filetrans_localization(tzdata_t)
Chris PeBenito 6b19be
Chris PeBenito 6b19be
ifdef(`targeted_policy',`
Chris PeBenito 6b19be
	term_dontaudit_use_unallocated_ttys(tzdata_t)
Chris PeBenito 6b19be
	term_dontaudit_use_generic_ptys(tzdata_t)
Chris PeBenito 6b19be
')
Chris PeBenito 6b19be
Chris PeBenito 6b19be
# tzdata looks for /var/spool/postfix/etc/localtime.
Chris PeBenito 6b19be
optional_policy(`
Chris PeBenito 6b19be
	postfix_search_spool(tzdata_t)
Chris PeBenito 6b19be
')