ok

Mini Shell

Direktori : /proc/thread-self/root/usr/lib64/python2.7/site-packages/sepolicy/templates/
Upload File :
Current File : //proc/thread-self/root/usr/lib64/python2.7/site-packages/sepolicy/templates/var_log.pyo

�
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�########################################
## <summary>
##	Read TEMPLATETYPE's log files.
## </summary>
## <param name="domain">
##	<summary>
##	Domain allowed access.
##	</summary>
## </param>
## <rolecap/>
#
interface(`TEMPLATETYPE_read_log',`
	gen_require(`
		type TEMPLATETYPE_log_t;
	')

	logging_search_logs($1)
	read_files_pattern($1, TEMPLATETYPE_log_t, TEMPLATETYPE_log_t)
')

########################################
## <summary>
##	Append to TEMPLATETYPE log files.
## </summary>
## <param name="domain">
##	<summary>
##	Domain allowed access.
##	</summary>
## </param>
#
interface(`TEMPLATETYPE_append_log',`
	gen_require(`
		type TEMPLATETYPE_log_t;
	')

	logging_search_logs($1)
	append_files_pattern($1, TEMPLATETYPE_log_t, TEMPLATETYPE_log_t)
')

########################################
## <summary>
##	Manage TEMPLATETYPE log files
## </summary>
## <param name="domain">
##	<summary>
##	Domain allowed access.
##	</summary>
## </param>
#
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.pyt<module>s?

Zerion Mini Shell 1.0