Chris PeBenito 17de1b
Chris PeBenito a5e213
policy_module(wine,1.1.3)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type wine_t;
Chris PeBenito 17de1b
domain_type(wine_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type wine_exec_t;
Chris PeBenito 17de1b
domain_entry_file(wine_t,wine_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Local policy
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
ifdef(`targeted_policy',`
Chris PeBenito a5e213
	allow wine_t self:process { execstack execmem execheap };
Chris PeBenito 17de1b
	unconfined_domain_noaudit(wine_t)
Chris PeBenito 17de1b
	files_execmod_all_files(wine_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
 	optional_policy(`
Chris PeBenito 17de1b
 		hal_dbus_chat(wine_t)
Chris PeBenito 17de1b
 	')
Chris PeBenito 17de1b
')