Chris PeBenito 6f3dab
Chris PeBenito e02c61
/bin/rpm 			--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito bf080a
/usr/bin/smart 			--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito e02c61
/usr/bin/apt-get 		--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/usr/bin/apt-shell   	 	-- 	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/usr/bin/synaptic		--    	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/usr/bin/yum 			--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito e02c61
/usr/lib(64)?/rpm/rpmd		-- 	gen_context(system_u:object_r:bin_t,s0)
Chris PeBenito e02c61
/usr/lib(64)?/rpm/rpmq		-- 	gen_context(system_u:object_r:bin_t,s0)
Chris PeBenito e02c61
/usr/lib(64)?/rpm/rpmk		-- 	gen_context(system_u:object_r:bin_t,s0)
Chris PeBenito e02c61
/usr/lib(64)?/rpm/rpmv		-- 	gen_context(system_u:object_r:bin_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito 6f3dab
ifdef(`distro_redhat', `
Chris PeBenito a77e65
/usr/bin/fedora-rmdevelrpms	--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito 51a89c
/usr/sbin/pirut			--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito 51a89c
/usr/sbin/pup			--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/usr/sbin/rhn_check		--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito 51a89c
/usr/sbin/up2date		--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito 6f3dab
')
Chris PeBenito 6f3dab
Chris PeBenito e02c61
/var/lib/alternatives(/.*)?		gen_context(system_u:object_r:rpm_var_lib_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito e02c61
/var/lib/rpm(/.*)?			gen_context(system_u:object_r:rpm_var_lib_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito e02c61
/var/log/rpmpkgs.*		--	gen_context(system_u:object_r:rpm_log_t,s0)
Chris PeBenito e02c61
/var/log/yum\.log		--	gen_context(system_u:object_r:rpm_log_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito 6f3dab
# SuSE
Chris PeBenito 6f3dab
ifdef(`distro_suse', `
Chris PeBenito e02c61
/usr/bin/online_update		--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/sbin/yast2			--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/var/lib/YaST2(/.*)?			gen_context(system_u:object_r:rpm_var_lib_t,s0)
Chris PeBenito e02c61
/var/log/YaST2(/.*)?			gen_context(system_u:object_r:rpm_log_t,s0)
Chris PeBenito 6f3dab
')
Chris PeBenito d8636f
Chris PeBenito d8636f
ifdef(`enable_mls',`
Chris PeBenito d8636f
/sbin/cpio			--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito d8636f
')