Chris PeBenito 31b7c0
ifdef(`setfiles.te', `', `
Chris PeBenito 31b7c0
# setfiles
Chris PeBenito 31b7c0
/usr/sbin/setfiles.*	--	system_u:object_r:setfiles_exec_t
Chris PeBenito 31b7c0
')
Chris PeBenito 31b7c0
Chris PeBenito 31b7c0
ifdef(`mount.te', `', `
Chris PeBenito 31b7c0
# mount
Chris PeBenito 31b7c0
/bin/mount.*			--	system_u:object_r:mount_exec_t
Chris PeBenito 31b7c0
/bin/umount.*			--	system_u:object_r:mount_exec_t
Chris PeBenito 31b7c0
')
Chris PeBenito 31b7c0
ifdef(`loadkeys.te', `', `
Chris PeBenito 31b7c0
# loadkeys
Chris PeBenito 31b7c0
/bin/unikeys		--	system_u:object_r:loadkeys_exec_t
Chris PeBenito 31b7c0
/bin/loadkeys		--	system_u:object_r:loadkeys_exec_t
Chris PeBenito 31b7c0
')
Chris PeBenito 31b7c0
ifdef(`dmesg.te', `', `
Chris PeBenito 31b7c0
# dmesg
Chris PeBenito 31b7c0
/bin/dmesg	--	system_u:object_r:dmesg_exec_t
Chris PeBenito 31b7c0
')
Chris PeBenito 31b7c0
ifdef(`fsadm.te', `', `
Chris PeBenito 31b7c0
# fs admin utilities
Chris PeBenito 31b7c0
/sbin/fsck.*		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/mkfs.*		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/e2fsck		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/mkdosfs		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/dosfsck		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/reiserfs(ck|tune)	--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/mkreiserfs	--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/resize.*fs	--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/e2label		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/findfs		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/mkfs		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/mke2fs		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/mkswap		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/scsi_info		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/sfdisk		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/cfdisk		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/fdisk		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/parted		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/tune2fs		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/dumpe2fs		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/swapon.*		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/hdparm		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/raidstart		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/mkraid		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/dmraid		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/blockdev		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/losetup.*		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/jfs_.*		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/lsraid		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/usr/sbin/smartctl	--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/install-mbr	--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/usr/bin/scsi_unique_id	--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/usr/bin/raw		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/partx		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/usr/bin/partition_uuid	--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
/sbin/partprobe		--	system_u:object_r:fsadm_exec_t
Chris PeBenito 31b7c0
')
Chris PeBenito 31b7c0
ifdef(`lvm.te', `', `
Chris PeBenito 31b7c0
/sbin/lvm.static	--	system_u:object_r:lvm_exec_t
Chris PeBenito 31b7c0
')
Chris PeBenito 31b7c0
ifdef(`kudzu.te', `', `
Chris PeBenito 31b7c0
# kudzu
Chris PeBenito 31b7c0
/usr/sbin/kudzu	--	system_u:object_r:kudzu_exec_t
Chris PeBenito 31b7c0
/sbin/kmodule	--	system_u:object_r:kudzu_exec_t
Chris PeBenito 31b7c0
')