26 lines
423 B
Plaintext
26 lines
423 B
Plaintext
|
|
policy_module(wine,1.0.0)
|
|
|
|
########################################
|
|
#
|
|
# 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 };
|
|
unconfined_domain_template(wine_t)
|
|
role system_r types wine_t;
|
|
allow wine_t file_type:file execmod;
|
|
')
|