systemd: Drop systemd_detect_virt_t.

Signed-off-by: Chris PeBenito <Christopher.PeBenito@microsoft.com>
This commit is contained in:
Chris PeBenito 2022-03-09 16:40:19 +00:00 committed by Chris PeBenito
parent 78dde1e1ae
commit 28ca7991df
3 changed files with 1 additions and 5 deletions

View File

@ -14,6 +14,7 @@ attribute exec_type;
# bin_t is the type of files in the system bin/sbin directories.
#
type bin_t alias { ls_exec_t sbin_t };
typealias bin_t alias systemd_detect_virt_t;
corecmd_executable_file(bin_t)
dev_associate(bin_t) #For /dev/MAKEDEV

View File

@ -8,7 +8,6 @@
/usr/bin/systemd-analyze -- gen_context(system_u:object_r:systemd_analyze_exec_t,s0)
/usr/bin/systemd-cgtop -- gen_context(system_u:object_r:systemd_cgtop_exec_t,s0)
/usr/bin/systemd-coredump -- gen_context(system_u:object_r:systemd_coredump_exec_t,s0)
/usr/bin/systemd-detect-virt -- gen_context(system_u:object_r:systemd_detect_virt_exec_t,s0)
/usr/bin/systemd-hwdb -- gen_context(system_u:object_r:systemd_hw_exec_t,s0)
/usr/bin/systemd-nspawn -- gen_context(system_u:object_r:systemd_nspawn_exec_t,s0)
/usr/bin/systemd-run -- gen_context(system_u:object_r:systemd_run_exec_t,s0)

View File

@ -109,10 +109,6 @@ init_system_domain(systemd_coredump_t, systemd_coredump_exec_t)
type systemd_coredump_var_lib_t;
files_type(systemd_coredump_var_lib_t)
type systemd_detect_virt_t;
type systemd_detect_virt_exec_t;
init_daemon_domain(systemd_detect_virt_t, systemd_detect_virt_exec_t)
type systemd_factory_conf_t;
systemd_tmpfiles_conf_file(systemd_factory_conf_t)