[selinux-policy: 213/3172] initial commit
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 19:23:21 UTC 2010
commit 6f3dab294e7ec2c5ad3b53bea52ce86a845a1b3f
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Tue May 24 21:32:34 2005 +0000
initial commit
refpolicy/policy/modules/admin/rpm.fc | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/refpolicy/policy/modules/admin/rpm.fc b/refpolicy/policy/modules/admin/rpm.fc
new file mode 100644
index 0000000..f340762
--- /dev/null
+++ b/refpolicy/policy/modules/admin/rpm.fc
@@ -0,0 +1,33 @@
+# 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
+')
More information about the scm-commits
mailing list