selinux-policy/refpolicy/policy/modules/kernel/storage.fc
2005-05-18 21:02:15 +00:00

62 lines
3.7 KiB
Plaintext

# Copyright (C) 2005 Tresys Technology, LLC
/dev/n?(raw)?[qr]ft[0-3] -c context_template(system_u:object_r:tape_device_t,s0)
/dev/n?[hs]t[0-9].* -c context_template(system_u:object_r:tape_device_t,s0)
/dev/n?z?qft[0-3] -c context_template(system_u:object_r:tape_device_t,s0)
/dev/n?osst[0-3].* -c context_template(system_u:object_r:tape_device_t,s0)
/dev/n?pt[0-9]+ -c context_template(system_u:object_r:tape_device_t,s0)
/dev/n?tpqic[12].* -c context_template(system_u:object_r:tape_device_t,s0)
/dev/[shmx]d[^/]* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/aztcd -b context_template(system_u:object_r:removable_device_t,s0)
/dev/bpcd -b context_template(system_u:object_r:removable_device_t,s0)
/dev/cdu.* -b context_template(system_u:object_r:removable_device_t,s0)
/dev/cm20.* -b context_template(system_u:object_r:removable_device_t,s0)
/dev/dasd[^/]* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/dm-[0-9]+ -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/fd[^/]+ -b context_template(system_u:object_r:removable_device_t,s0)
/dev/flash[^/]* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/gscd -b context_template(system_u:object_r:removable_device_t,s0)
/dev/hitcd -b context_template(system_u:object_r:removable_device_t,s0)
/dev/ht[0-1] -b context_template(system_u:object_r:tape_device_t,s0)
/dev/initrd -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/jsfd -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/jsflash -c context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/loop.* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/lvm -c context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/mcdx? -b context_template(system_u:object_r:removable_device_t,s0)
/dev/nb[^/]+ -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/optcd -b context_template(system_u:object_r:removable_device_t,s0)
/dev/p[fg][0-3] -b context_template(system_u:object_r:removable_device_t,s0)
/dev/pcd[0-3] -b context_template(system_u:object_r:removable_device_t,s0)
/dev/pd[a-d][^/]* -b context_template(system_u:object_r:removable_device_t,s0)
/dev/pg[0-3] -c context_template(system_u:object_r:removable_device_t,s0)
/dev/ram.* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/rawctl -c context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/rd.* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
ifdef(`distro_redhat', `
/dev/root -b context_template(system_u:object_r:fixed_disk_device_t,s0)
')
/dev/s(cd|r)[^/]* -b context_template(system_u:object_r:removable_device_t,s0)
/dev/sbpcd.* -b context_template(system_u:object_r:removable_device_t,s0)
/dev/sg[0-9]+ -c context_template(system_u:object_r:scsi_generic_device_t,s0)
/dev/sjcd -b context_template(system_u:object_r:removable_device_t,s0)
/dev/sonycd -b context_template(system_u:object_r:removable_device_t,s0)
/dev/tape.* -c context_template(system_u:object_r:tape_device_t,s0)
/dev/ubd[^/]* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/ataraid/.* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/cciss/[^/]* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/i2o/hd[^/]* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/ida/[^/]* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/mapper/.* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/raw/raw[0-9]+ -c context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/scramdisk/.* -b context_template(system_u:object_r:fixed_disk_device_t,s0)
/dev/usb/rio500 -c context_template(system_u:object_r:removable_device_t,s0)