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