Chris PeBenito a225f9
Chris PeBenito 522b59
policy_module(wine,1.1.2)
Chris PeBenito a225f9
Chris PeBenito a225f9
########################################
Chris PeBenito a225f9
#
Chris PeBenito a225f9
# Declarations
Chris PeBenito a225f9
#
Chris PeBenito a225f9
Chris PeBenito a225f9
type wine_t;
Chris PeBenito a225f9
domain_type(wine_t)
Chris PeBenito a225f9
Chris PeBenito a225f9
type wine_exec_t;
Chris PeBenito a225f9
domain_entry_file(wine_t,wine_exec_t)
Chris PeBenito a225f9
Chris PeBenito a225f9
########################################
Chris PeBenito a225f9
#
Chris PeBenito a225f9
# Local policy
Chris PeBenito a225f9
#
Chris PeBenito a225f9
Chris PeBenito a225f9
ifdef(`targeted_policy',`
Chris PeBenito a225f9
	allow wine_t self:process { execstack execmem };
Chris PeBenito 955019
	unconfined_domain_noaudit(wine_t)
Chris PeBenito e51048
	files_execmod_all_files(wine_t)
Chris PeBenito 522b59
Chris PeBenito 522b59
 	optional_policy(`
Chris PeBenito 522b59
 		hal_dbus_chat(wine_t)
Chris PeBenito 522b59
 	')
Chris PeBenito a225f9
')