29 lines
448 B
Plaintext
29 lines
448 B
Plaintext
|
|
policy_module(wine,1.2.1)
|
|
|
|
########################################
|
|
#
|
|
# 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 execheap };
|
|
unconfined_domain_noaudit(wine_t)
|
|
files_execmod_all_files(wine_t)
|
|
|
|
optional_policy(`
|
|
hal_dbus_chat(wine_t)
|
|
')
|
|
')
|