ó m‰ÌVc@s.dZdZdZdZdZdZdZdS(s? type TEMPLATETYPE_log_t; logging_log_file(TEMPLATETYPE_log_t) s< manage_dirs_pattern(TEMPLATETYPE_t, TEMPLATETYPE_log_t, TEMPLATETYPE_log_t) manage_files_pattern(TEMPLATETYPE_t, TEMPLATETYPE_log_t, TEMPLATETYPE_log_t) manage_lnk_files_pattern(TEMPLATETYPE_t, TEMPLATETYPE_log_t, TEMPLATETYPE_log_t) logging_log_filetrans(TEMPLATETYPE_t, TEMPLATETYPE_log_t, { dir file lnk_file }) sô######################################## ## ## Read TEMPLATETYPE's log files. ## ## ## ## Domain allowed access. ## ## ## # interface(`TEMPLATETYPE_read_log',` gen_require(` type TEMPLATETYPE_log_t; ') logging_search_logs($1) read_files_pattern($1, TEMPLATETYPE_log_t, TEMPLATETYPE_log_t) ') ######################################## ## ## Append to TEMPLATETYPE log files. ## ## ## ## Domain allowed access. ## ## # interface(`TEMPLATETYPE_append_log',` gen_require(` type TEMPLATETYPE_log_t; ') logging_search_logs($1) append_files_pattern($1, TEMPLATETYPE_log_t, TEMPLATETYPE_log_t) ') ######################################## ## ## Manage TEMPLATETYPE log files ## ## ## ## Domain allowed access. ## ## # interface(`TEMPLATETYPE_manage_log',` gen_require(` type TEMPLATETYPE_log_t; ') logging_search_logs($1) manage_dirs_pattern($1, TEMPLATETYPE_log_t, TEMPLATETYPE_log_t) manage_files_pattern($1, TEMPLATETYPE_log_t, TEMPLATETYPE_log_t) manage_lnk_files_pattern($1, TEMPLATETYPE_log_t, TEMPLATETYPE_log_t) ') s type TEMPLATETYPE_log_t;sA logging_search_logs($1) admin_pattern($1, TEMPLATETYPE_log_t) sBFILENAME -- gen_context(system_u:object_r:TEMPLATETYPE_log_t,s0) sEFILENAME(/.*)? gen_context(system_u:object_r:TEMPLATETYPE_log_t,s0) N(tte_typestte_rulestif_rulestif_admin_typestif_admin_rulestfc_filetfc_dir(((s@/usr/lib64/python2.7/site-packages/sepolicy/templates/var_log.pyts ?