Fix domain_mmap_low() to be a proper tunable.

This commit is contained in:
Chris PeBenito 2015-02-09 16:02:36 -05:00
parent 5f0e495887
commit f963d6dafa
1 changed files with 2 additions and 3 deletions

View File

@ -1434,14 +1434,13 @@ interface(`domain_entry_file_spec_domtrans',`
interface(`domain_mmap_low',`
gen_require(`
attribute mmap_low_domain_type;
bool mmap_low_allowed;
')
typeattribute $1 mmap_low_domain_type;
if ( mmap_low_allowed ) {
tunable_policy(`mmap_low_allowed',`
allow $1 self:memprotect mmap_zero;
}
')
')
########################################