Chris PeBenito 17de1b
Chris PeBenito 12e9ea
policy_module(wine,1.4.1)
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
type wine_exec_t;
Chris PeBenito d46cfe
application_domain(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 350b6a
optional_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
')