virt: Move lines.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
Chris PeBenito 2021-07-16 09:41:24 -04:00
parent 21cbe732e4
commit b4a9fe913a

View File

@ -499,6 +499,11 @@ manage_dirs_pattern(virtd_t, virt_cache_t, virt_cache_t)
manage_files_pattern(virtd_t, virt_cache_t, virt_cache_t)
files_var_filetrans(virtd_t, virt_cache_t, { file dir })
allow virtd_t virt_common_runtime_t:file append_file_perms;
manage_dirs_pattern(virtd_t, virt_common_runtime_t, virt_common_runtime_t)
manage_files_pattern(virtd_t, virt_common_runtime_t, virt_common_runtime_t)
filetrans_pattern(virtd_t, virt_runtime_t, virt_common_runtime_t, dir, "common")
manage_dirs_pattern(virtd_t, virt_content_t, virt_content_t)
manage_files_pattern(virtd_t, virt_content_t, virt_content_t)
filetrans_pattern(virtd_t, virt_home_t, virt_content_t, dir, "isos")
@ -580,11 +585,6 @@ manage_files_pattern(virtd_t, virt_runtime_t, virt_runtime_t)
manage_sock_files_pattern(virtd_t, virt_runtime_t, virt_runtime_t)
files_runtime_filetrans(virtd_t, virt_runtime_t, { file dir })
allow virtd_t virt_common_runtime_t:file append_file_perms;
manage_dirs_pattern(virtd_t, virt_common_runtime_t, virt_common_runtime_t)
manage_files_pattern(virtd_t, virt_common_runtime_t, virt_common_runtime_t)
filetrans_pattern(virtd_t, virt_runtime_t, virt_common_runtime_t, dir, "common")
manage_dirs_pattern(virtd_t, virtd_lxc_runtime_t, virtd_lxc_runtime_t)
manage_files_pattern(virtd_t, virtd_lxc_runtime_t, virtd_lxc_runtime_t)
filetrans_pattern(virtd_t, virt_runtime_t, virtd_lxc_runtime_t, dir, "lxc")