2005-05-10 15:31:48 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/n?(raw)?[qr]ft[0-3] -c gen_context(system_u:object_r:tape_device_t,s0)
|
|
|
|
/dev/n?[hs]t[0-9].* -c gen_context(system_u:object_r:tape_device_t,s0)
|
|
|
|
/dev/n?z?qft[0-3] -c gen_context(system_u:object_r:tape_device_t,s0)
|
|
|
|
/dev/n?osst[0-3].* -c gen_context(system_u:object_r:tape_device_t,s0)
|
|
|
|
/dev/n?pt[0-9]+ -c gen_context(system_u:object_r:tape_device_t,s0)
|
|
|
|
/dev/n?tpqic[12].* -c gen_context(system_u:object_r:tape_device_t,s0)
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/[shmx]d[^/]* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/aztcd -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/bpcd -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/cdu.* -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/cm20.* -b gen_context(system_u:object_r:removable_device_t,s0)
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/dasd[^/]* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
|
|
|
/dev/dm-[0-9]+ -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/fd[^/]+ -b gen_context(system_u:object_r:removable_device_t,s0)
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/flash[^/]* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/gscd -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/hitcd -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/ht[0-1] -b gen_context(system_u:object_r:tape_device_t,s0)
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/initrd -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
|
|
|
/dev/jsfd -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
|
|
|
/dev/jsflash -c gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
|
|
|
/dev/loop.* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2006-07-28 15:13:58 +00:00
|
|
|
/dev/lvm -c gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/mcdx? -b gen_context(system_u:object_r:removable_device_t,s0)
|
2006-07-28 15:13:58 +00:00
|
|
|
/dev/mmcblk.* -b gen_context(system_u:object_r:removable_device_t,s0)
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/nb[^/]+ -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/optcd -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/p[fg][0-3] -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/pcd[0-3] -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/pd[a-d][^/]* -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/pg[0-3] -c gen_context(system_u:object_r:removable_device_t,s0)
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/ram.* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
|
|
|
/dev/rawctl -c gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
|
|
|
/dev/rd.* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-05-10 15:31:48 +00:00
|
|
|
ifdef(`distro_redhat', `
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/root -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-05-10 15:31:48 +00:00
|
|
|
')
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/s(cd|r)[^/]* -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/sbpcd.* -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/sg[0-9]+ -c gen_context(system_u:object_r:scsi_generic_device_t,s0)
|
|
|
|
/dev/sjcd -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/sonycd -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
/dev/tape.* -c gen_context(system_u:object_r:tape_device_t,s0)
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/ub[a-z] -b gen_context(system_u:object_r:removable_device_t,s15:c0.c255)
|
|
|
|
/dev/ubd[^/]* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2006-01-27 20:13:08 +00:00
|
|
|
/dev/xvd[^/]* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/ataraid/.* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/cciss/[^/]* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2006-02-01 16:34:54 +00:00
|
|
|
/dev/floppy/[^/]* -b gen_context(system_u:object_r:removable_device_t,s0)
|
|
|
|
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/i2o/hd[^/]* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
|
|
|
|
|
|
|
/dev/ida/[^/]* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2005-10-13 20:59:36 +00:00
|
|
|
/dev/md/.* -b gen_context(system_u:object_r:fixed_disk_device_t,s0)
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/mapper/.* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-05-13 15:03:19 +00:00
|
|
|
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/raw/raw[0-9]+ -c gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2006-01-06 22:51:40 +00:00
|
|
|
/dev/scramdisk/.* -b gen_context(system_u:object_r:fixed_disk_device_t,s15:c0.c255)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/usb/rio500 -c gen_context(system_u:object_r:removable_device_t,s0)
|