ó
m‰ÌVc @ s. d Z d Z d Z d Z d Z d Z d Z d S( 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)
sB FILENAME -- gen_context(system_u:object_r:TEMPLATETYPE_log_t,s0)
sE FILENAME(/.*)? gen_context(system_u:object_r:TEMPLATETYPE_log_t,s0)
N( t te_typest te_rulest if_rulest if_admin_typest if_admin_rulest fc_filet fc_dir( ( ( s@ /usr/lib64/python2.7/site-packages/sepolicy/templates/var_log.pyt s ?