## Patch to gnome module ## ##

## This will allow tp_mission-control_t to create files ## with type tp_mission-control_home_t in ~/.cache. ##

##
######################################## ## ## Create objects in a Gnome home directory ## with an automatic type transition to ## a specified private type. ## ## ## ## Domain allowed access. ## ## ## ## ## The type of the object to create. ## ## ## ## ## The class of the object to be created. ## ## # interface(`gnome_config_filetrans', ` gen_require(` type config_home_t; ') filetrans_pattern($1, config_home_t, $2, $3) userdom_search_user_home_dirs($1) ') ######################################## ## ## Create objects in a Gnome home directory ## with an automatic type transition to ## a specified private type. ## ## ## ## Domain allowed access. ## ## ## ## ## The type of the object to create. ## ## ## ## ## The class of the object to be created. ## ## # interface(`gnome_data_filetrans', ` gen_require(` type data_home_t; ') filetrans_pattern($1, data_home_t, $2, $3) gnome_search_gconf($1) ') ######################################## ## ## search gconf homedir (.local) ## ## ## ## The type of the domain. ## ## # interface(`gnome_search_gconf',` gen_require(` type gconf_home_t; ') allow $1 gconf_home_t:dir search_dir_perms; userdom_search_user_home_dirs($1) ') ######################################## ## ## manage generic cache home files (.cache) ## ## ## ## The type of the domain. ## ## # interface(`gnome_rw_generic_cache',` gen_require(` type cache_home_t; ') rw_files_pattern($1, cache_home_t, cache_home_t) userdom_search_user_home_dirs($1) ')