2006-01-19 23:00:23 +00:00
|
|
|
|
2007-02-28 16:23:06 +00:00
|
|
|
policy_module(wine,1.2.1)
|
2006-01-19 23:00:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type wine_t;
|
|
|
|
domain_type(wine_t)
|
|
|
|
|
|
|
|
type wine_exec_t;
|
|
|
|
domain_entry_file(wine_t,wine_exec_t)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
ifdef(`targeted_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
|
|
|
')
|