2006-01-19 23:00:23 +00:00
|
|
|
|
2007-12-14 14:23:18 +00:00
|
|
|
policy_module(wine,1.5.0)
|
2006-01-19 23:00:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type wine_t;
|
|
|
|
type wine_exec_t;
|
2007-07-19 18:57:48 +00:00
|
|
|
application_domain(wine_t,wine_exec_t)
|
2006-01-19 23:00:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
optional_policy(`
|
2006-08-29 02:41:00 +00:00
|
|
|
allow wine_t self:process { execstack execmem execheap };
|
2006-02-06 22:47:46 +00:00
|
|
|
unconfined_domain_noaudit(wine_t)
|
2006-06-06 17:51:24 +00:00
|
|
|
files_execmod_all_files(wine_t)
|
2006-06-07 17:43:10 +00:00
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
hal_dbus_chat(wine_t)
|
|
|
|
')
|
2006-01-19 23:00:23 +00:00
|
|
|
')
|