2010-12-13 14:12:22 +00:00
|
|
|
policy_module(tzdata, 1.4.0)
|
2007-02-16 23:01:42 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type tzdata_t;
|
|
|
|
type tzdata_exec_t;
|
|
|
|
init_daemon_domain(tzdata_t, tzdata_exec_t)
|
2007-07-19 18:57:48 +00:00
|
|
|
application_domain(tzdata_t, tzdata_exec_t)
|
2007-02-16 23:01:42 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# tzdata local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
files_read_etc_files(tzdata_t)
|
|
|
|
files_search_spool(tzdata_t)
|
|
|
|
|
2009-11-25 20:12:52 +00:00
|
|
|
fs_getattr_xattr_fs(tzdata_t)
|
|
|
|
|
2007-02-16 23:01:42 +00:00
|
|
|
term_dontaudit_list_ptys(tzdata_t)
|
|
|
|
|
|
|
|
locallogin_dontaudit_use_fds(tzdata_t)
|
|
|
|
|
|
|
|
miscfiles_read_localization(tzdata_t)
|
|
|
|
miscfiles_manage_localization(tzdata_t)
|
|
|
|
miscfiles_etc_filetrans_localization(tzdata_t)
|
|
|
|
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_use_user_terminals(tzdata_t)
|
|
|
|
|
2007-02-16 23:01:42 +00:00
|
|
|
# tzdata looks for /var/spool/postfix/etc/localtime.
|
|
|
|
optional_policy(`
|
|
|
|
postfix_search_spool(tzdata_t)
|
|
|
|
')
|