2006-01-19 23:00:23 +00:00
|
|
|
|
2006-03-07 14:12:39 +00:00
|
|
|
policy_module(wine,1.1.0)
|
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-01-19 23:00:23 +00:00
|
|
|
role system_r types wine_t;
|
|
|
|
allow wine_t file_type:file execmod;
|
|
|
|
')
|