diff --git a/policy/support/file_patterns.spt b/policy/support/file_patterns.spt index 6ce53fa94..19fcf2755 100644 --- a/policy/support/file_patterns.spt +++ b/policy/support/file_patterns.spt @@ -154,6 +154,11 @@ define(`manage_files_pattern',` allow $1 $3:file manage_file_perms; ') +define(`mmap_manage_files_pattern',` + allow $1 $2:dir rw_dir_perms; + allow $1 $3:file { manage_file_perms map }; +') + define(`relabelfrom_files_pattern',` allow $1 $2:dir search_dir_perms; allow $1 $3:file relabelfrom_file_perms;