From: debian@mikapflueger.de (=?UTF-8?q?Mika=20Pfl=C3=BCger?=) Date: Fri, 23 Jul 2010 15:40:39 +0200 Subject: [refpolicy] [PATCH 1/1] Take virtio disks into account. In-Reply-To: <1279892439-4692-1-git-send-email-debian@mikapflueger.de> References: <1279892439-4692-1-git-send-email-debian@mikapflueger.de> Message-ID: <1279892439-4692-2-git-send-email-debian@mikapflueger.de> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Signed-off-by: Mika Pfl?ger --- policy/modules/kernel/storage.fc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/policy/modules/kernel/storage.fc b/policy/modules/kernel/storage.fc index d819311..a9b8982 100644 --- a/policy/modules/kernel/storage.fc +++ b/policy/modules/kernel/storage.fc @@ -5,7 +5,7 @@ /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) -/dev/[shmx]d[^/]* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) +/dev/[shmxv]d[^/]* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) /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/bsg/.+ -c gen_context(system_u:object_r:scsi_generic_device_t,s0) -- 1.7.1