ó m‰ÌVc@s@dZdZdZdZdZdZdZdZdZd Z d S( sA type TEMPLATETYPE_var_lib_t; files_type(TEMPLATETYPE_var_lib_t) sZ manage_dirs_pattern(TEMPLATETYPE_t, TEMPLATETYPE_var_lib_t, TEMPLATETYPE_var_lib_t) manage_files_pattern(TEMPLATETYPE_t, TEMPLATETYPE_var_lib_t, TEMPLATETYPE_var_lib_t) manage_lnk_files_pattern(TEMPLATETYPE_t, TEMPLATETYPE_var_lib_t, TEMPLATETYPE_var_lib_t) files_var_lib_filetrans(TEMPLATETYPE_t, TEMPLATETYPE_var_lib_t, { dir file lnk_file }) s¥manage_sock_files_pattern(TEMPLATETYPE_t, TEMPLATETYPE_var_lib_t, TEMPLATETYPE_var_lib_t) files_var_lib_filetrans(TEMPLATETYPE_t, TEMPLATETYPE_var_lib_t, sock_file) s ######################################## ## ## Search TEMPLATETYPE lib directories. ## ## ## ## Domain allowed access. ## ## # interface(`TEMPLATETYPE_search_lib',` gen_require(` type TEMPLATETYPE_var_lib_t; ') allow $1 TEMPLATETYPE_var_lib_t:dir search_dir_perms; files_search_var_lib($1) ') ######################################## ## ## Read TEMPLATETYPE lib files. ## ## ## ## Domain allowed access. ## ## # interface(`TEMPLATETYPE_read_lib_files',` gen_require(` type TEMPLATETYPE_var_lib_t; ') files_search_var_lib($1) read_files_pattern($1, TEMPLATETYPE_var_lib_t, TEMPLATETYPE_var_lib_t) ') ######################################## ## ## Manage TEMPLATETYPE lib files. ## ## ## ## Domain allowed access. ## ## # interface(`TEMPLATETYPE_manage_lib_files',` gen_require(` type TEMPLATETYPE_var_lib_t; ') files_search_var_lib($1) manage_files_pattern($1, TEMPLATETYPE_var_lib_t, TEMPLATETYPE_var_lib_t) ') ######################################## ## ## Manage TEMPLATETYPE lib directories. ## ## ## ## Domain allowed access. ## ## # interface(`TEMPLATETYPE_manage_lib_dirs',` gen_require(` type TEMPLATETYPE_var_lib_t; ') files_search_var_lib($1) manage_dirs_pattern($1, TEMPLATETYPE_var_lib_t, TEMPLATETYPE_var_lib_t) ') s“ ######################################## ## ## Connect to TEMPLATETYPE over a unix stream socket. ## ## ## ## Domain allowed access. ## ## # interface(`TEMPLATETYPE_stream_connect',` gen_require(` type TEMPLATETYPE_t, TEMPLATETYPE_var_lib_t; ') stream_connect_pattern($1, TEMPLATETYPE_var_lib_t, TEMPLATETYPE_var_lib_t) ') s type TEMPLATETYPE_var_lib_t;sF files_search_var_lib($1) admin_pattern($1, TEMPLATETYPE_var_lib_t) sFFILENAME -- gen_context(system_u:object_r:TEMPLATETYPE_var_lib_t,s0) sFFILENAME -s gen_context(system_u:object_r:TEMPLATETYPE_var_lib_t,s0) sIFILENAME(/.*)? gen_context(system_u:object_r:TEMPLATETYPE_var_lib_t,s0) N( tte_typestte_rulestte_stream_rulestif_rulestif_stream_rulestif_admin_typestif_admin_rulestfc_filet fc_sock_filetfc_dir(((s@/usr/lib64/python2.7/site-packages/sepolicy/templates/var_lib.pytsQ