2006-01-19 23:00:23 +00:00
|
|
|
|
2008-11-05 16:10:46 +00:00
|
|
|
policy_module(wine, 1.5.1)
|
2006-01-19 23:00:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type wine_t;
|
|
|
|
type wine_exec_t;
|
2008-07-23 21:38:39 +00:00
|
|
|
application_domain(wine_t, wine_exec_t)
|
2006-01-19 23:00:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_use_user_terminals(wine_t)
|
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
optional_policy(`
|
2006-08-29 02:41:00 +00:00
|
|
|
allow wine_t self:process { execstack execmem execheap };
|
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-06-07 17:43:10 +00:00
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
hal_dbus_chat(wine_t)
|
|
|
|
')
|
2006-01-19 23:00:23 +00:00
|
|
|
')
|