Fix mmap_zero patch
This commit is contained in:
parent
a668127367
commit
b631f26416
@ -1,13 +1,5 @@
|
|||||||
policy_module(wine, 1.7.2)
|
policy_module(wine, 1.7.2)
|
||||||
|
|
||||||
## <desc>
|
|
||||||
## <p>
|
|
||||||
## Ignore wine mmap_zero errors
|
|
||||||
## </p>
|
|
||||||
## </desc>
|
|
||||||
#
|
|
||||||
gen_tunable(wine_mmap_zero_ignore, false)
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
# Declarations
|
# Declarations
|
||||||
@ -45,9 +37,6 @@ manage_files_pattern(wine_t, wine_tmp_t, wine_tmp_t)
|
|||||||
files_tmp_filetrans(wine_t, wine_tmp_t, { file dir })
|
files_tmp_filetrans(wine_t, wine_tmp_t, { file dir })
|
||||||
|
|
||||||
domain_mmap_low(wine_t)
|
domain_mmap_low(wine_t)
|
||||||
tunable_policy(`wine_mmap_zero_ignore',`
|
|
||||||
dontaudit wine_t self:memprotect mmap_zero;
|
|
||||||
')
|
|
||||||
|
|
||||||
files_execmod_all_files(wine_t)
|
files_execmod_all_files(wine_t)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user