Blame policy/modules/apps/wine.te
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
policy_module(wine,1.1.2)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type wine_t;
|
|
Chris PeBenito |
17de1b |
domain_type(wine_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type wine_exec_t;
|
|
Chris PeBenito |
17de1b |
domain_entry_file(wine_t,wine_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
17de1b |
allow wine_t self:process { execstack execmem };
|
|
Chris PeBenito |
17de1b |
unconfined_domain_noaudit(wine_t)
|
|
Chris PeBenito |
17de1b |
files_execmod_all_files(wine_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
hal_dbus_chat(wine_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
')
|