file_patterns.spt: Add a mmap_manage_files_pattern().

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
Chris PeBenito 2021-01-28 10:51:39 -05:00
parent 55c3c1dcaa
commit c4150cd0a5
1 changed files with 5 additions and 0 deletions

View File

@ -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;