Chris PeBenito 17de1b
Chris PeBenito 0bfccd
policy_module(wine, 1.5.0)
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 0bfccd
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
')