2006-01-19 23:00:23 +00:00
|
|
|
|
2006-06-06 17:51:24 +00:00
|
|
|
policy_module(wine,1.1.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',`
|
|
|
|
allow wine_t self:process { execstack execmem };
|
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-01-19 23:00:23 +00:00
|
|
|
')
|