From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Wed, 25 Jun 2014 12:01:14 -0400 Subject: [refpolicy] [PATCH] File contexts for zram In-Reply-To: <1403549214-26532-1-git-send-email-jason@perfinion.com> References: <1403549214-26532-1-git-send-email-jason@perfinion.com> Message-ID: <53AAF24A.7070302@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 6/23/2014 2:46 PM, Jason Zaman wrote: > zram is a compressed block device in ram > > Signed-off-by: Jason Zaman > --- > policy/modules/kernel/storage.fc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/policy/modules/kernel/storage.fc b/policy/modules/kernel/storage.fc > index 4dd865b..73599f3 100644 > --- a/policy/modules/kernel/storage.fc > +++ b/policy/modules/kernel/storage.fc > @@ -59,6 +59,7 @@ ifdef(`distro_redhat', ` > /dev/zd.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) > /dev/zfs -c gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) > /dev/zpios -c gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) > +/dev/zram[0-9]+ -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) > > /dev/ataraid/.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) Merged. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com