selinux-refpolicy/refpolicy/policy/modules/apps/wine.if
2006-01-19 23:00:23 +00:00

24 lines
535 B
Plaintext

## <summary>Wine Is Not an Emulator. Run Windows programs in Linux.</summary>
########################################
## <summary>
## Execute the wine program in the wine domain.
## </summary>
## <param name="domain">
## Domain allowed access.
## </param>
#
interface(`wine_domtrans',`
gen_require(`
type wine_t, wine_exec_t;
')
corecmd_search_bin($1)
domain_auto_trans($1, wine_exec_t, wine_t)
allow $1 wine_t:fd use;
allow wine_t $1:fd use;
allow wine_t $1:fifo_file rw_file_perms;
allow wine_t $1:process sigchld;
')