apt, bootloader: Move lines.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
Chris PeBenito 2021-02-02 13:32:42 -05:00
parent 8b4f1e3384
commit eae12d8418
2 changed files with 7 additions and 6 deletions

View File

@ -4,10 +4,12 @@
/usr/bin/apt-get -- gen_context(system_u:object_r:apt_exec_t,s0)
/usr/bin/apt-shell -- gen_context(system_u:object_r:apt_exec_t,s0)
/usr/bin/aptitude -- gen_context(system_u:object_r:apt_exec_t,s0)
/usr/sbin/update-apt-xapian-index -- gen_context(system_u:object_r:apt_exec_t,s0)
/usr/share/unattended-upgrades/unattended-upgrade-shutdown -- gen_context(system_u:object_r:apt_exec_t,s0)
/usr/bin/unattended-upgrade -- gen_context(system_u:object_r:apt_exec_t,s0)
/usr/sbin/update-apt-xapian-index -- gen_context(system_u:object_r:apt_exec_t,s0)
/usr/share/unattended-upgrades/unattended-upgrade-shutdown -- gen_context(system_u:object_r:apt_exec_t,s0)
ifndef(`distro_redhat',`
/usr/sbin/synaptic -- gen_context(system_u:object_r:apt_exec_t,s0)
/usr/lib/packagekit/packagekitd -- gen_context(system_u:object_r:apt_exec_t,s0)
@ -25,5 +27,5 @@ ifndef(`distro_redhat',`
/var/lock/aptitude gen_context(system_u:object_r:apt_lock_t,s0)
/var/log/aptitude.* gen_context(system_u:object_r:apt_var_log_t,s0)
/var/log/unattended-upgrades(/.*) gen_context(system_u:object_r:apt_var_log_t,s0)
/var/log/apt(/.*)? gen_context(system_u:object_r:apt_var_log_t,s0)
/var/log/unattended-upgrades(/.*) gen_context(system_u:object_r:apt_var_log_t,s0)

View File

@ -180,15 +180,14 @@ ifdef(`distro_debian',`
libs_relabelto_lib_files(bootloader_t)
apt_use_fds(bootloader_t)
apt_use_ptys(bootloader_t)
# for apt-cache
apt_read_db(bootloader_t)
apt_manage_cache(bootloader_t)
dpkg_read_db(bootloader_t)
dpkg_rw_pipes(bootloader_t)
apt_use_fds(bootloader_t)
apt_use_ptys(bootloader_t)
')
ifdef(`distro_redhat',`