selinux-policy/refpolicy/policy/modules/admin/rpm.fc

34 lines
1.1 KiB
Plaintext
Raw Normal View History

2005-05-24 21:32:34 +00:00
# Copyright (C) 2005 Tresys Technology, LLC
/bin/rpm -- system_u:object_r:rpm_exec_t
/usr/bin/apt-get -- system_u:object_r:rpm_exec_t
/usr/bin/apt-shell -- system_u:object_r:rpm_exec_t
/usr/bin/synaptic -- system_u:object_r:rpm_exec_t
/usr/bin/yum -- system_u:object_r:rpm_exec_t
/usr/lib(64)?/rpm/rpmd -- system_u:object_r:bin_t
/usr/lib(64)?/rpm/rpmq -- system_u:object_r:bin_t
/usr/lib(64)?/rpm/rpmk -- system_u:object_r:bin_t
/usr/lib(64)?/rpm/rpmv -- system_u:object_r:bin_t
ifdef(`distro_redhat', `
/usr/sbin/up2date -- system_u:object_r:rpm_exec_t
/usr/sbin/rhn_check -- system_u:object_r:rpm_exec_t
')
/var/lib/alternatives(/.*)? system_u:object_r:rpm_var_lib_t
/var/lib/rpm(/.*)? system_u:object_r:rpm_var_lib_t
/var/log/rpmpkgs.* -- system_u:object_r:rpm_log_t
/var/log/yum\.log -- system_u:object_r:rpm_log_t
# SuSE
ifdef(`distro_suse', `
/usr/bin/online_update -- system_u:object_r:rpm_exec_t
/sbin/yast2 -- system_u:object_r:rpm_exec_t
/var/lib/YaST2(/.*)? system_u:object_r:rpm_var_lib_t
/var/log/YaST2(/.*)? system_u:object_r:rpm_log_t
')