ó
m‰ÌVc @ s@ d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d
S( s7
type TEMPLATETYPE_rw_t;
files_type(TEMPLATETYPE_rw_t)
så
manage_dirs_pattern(TEMPLATETYPE_t, TEMPLATETYPE_rw_t, TEMPLATETYPE_rw_t)
manage_files_pattern(TEMPLATETYPE_t, TEMPLATETYPE_rw_t, TEMPLATETYPE_rw_t)
manage_lnk_files_pattern(TEMPLATETYPE_t, TEMPLATETYPE_rw_t, TEMPLATETYPE_rw_t)
sÜ
########################################
##
## Search TEMPLATETYPE rw directories.
##
##
##
## Domain allowed access.
##
##
#
interface(`TEMPLATETYPE_search_rw_dir',`
gen_require(`
type TEMPLATETYPE_rw_t;
')
allow $1 TEMPLATETYPE_rw_t:dir search_dir_perms;
files_search_rw($1)
')
########################################
##
## Read TEMPLATETYPE rw files.
##
##
##
## Domain allowed access.
##
##
#
interface(`TEMPLATETYPE_read_rw_files',`
gen_require(`
type TEMPLATETYPE_rw_t;
')
read_files_pattern($1, TEMPLATETYPE_rw_t, TEMPLATETYPE_rw_t)
allow $1 TEMPLATETYPE_rw_t:dir list_dir_perms;
files_search_rw($1)
')
########################################
##
## Manage TEMPLATETYPE rw files.
##
##
##
## Domain allowed access.
##
##
#
interface(`TEMPLATETYPE_manage_rw_files',`
gen_require(`
type TEMPLATETYPE_rw_t;
')
manage_files_pattern($1, TEMPLATETYPE_rw_t, TEMPLATETYPE_rw_t)
')
########################################
##
## Create, read, write, and delete
## TEMPLATETYPE rw dirs.
##
##
##
## Domain allowed access.
##
##
#
interface(`TEMPLATETYPE_manage_rw_dirs',`
gen_require(`
type TEMPLATETYPE_rw_t;
')
manage_dirs_pattern($1, TEMPLATETYPE_rw_t, TEMPLATETYPE_rw_t)
')
sQ
manage_sock_files_pattern(TEMPLATETYPE_t, TEMPLATETYPE_rw_t, TEMPLATETYPE_rw_t)
s“ ########################################
##
## Connect to TEMPLATETYPE over a unix stream socket.
##
##
##
## Domain allowed access.
##
##
#
interface(`TEMPLATETYPE_stream_connect',`
gen_require(`
type TEMPLATETYPE_t, TEMPLATETYPE_rw_t;
')
stream_connect_pattern($1, TEMPLATETYPE_rw_t, TEMPLATETYPE_rw_t, TEMPLATETYPE_t)
')
s
type TEMPLATETYPE_rw_t;s=
files_search_etc($1)
admin_pattern($1, TEMPLATETYPE_rw_t)
sB
FILENAME -- gen_context(system_u:object_r:TEMPLATETYPE_rw_t,s0)
sL FILENAME -s gen_context(system_u:object_r:TEMPLATETYPE_etc_rw_t,s0)
sE
FILENAME(/.*)? gen_context(system_u:object_r:TEMPLATETYPE_rw_t,s0)
N(
t te_typest te_rulest if_rulest te_stream_rulest if_stream_rulest if_admin_typest if_admin_rulest fc_filet fc_sock_filet fc_dir( ( ( s; /usr/lib64/python2.7/site-packages/sepolicy/templates/rw.pyt s P