All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] File contexts for zram
@ 2014-06-23 18:46 Jason Zaman
  2014-06-23 18:46 ` [refpolicy] [PATCH] File Context for tumbler Jason Zaman
  2014-06-25 16:01 ` [refpolicy] [PATCH] File contexts for zram Christopher J. PeBenito
  0 siblings, 2 replies; 6+ messages in thread
From: Jason Zaman @ 2014-06-23 18:46 UTC (permalink / raw)
  To: refpolicy

zram is a compressed block device in ram

Signed-off-by: Jason Zaman <jason@perfinion.com>
---
 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)
 
-- 
1.8.5.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-30 19:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-23 18:46 [refpolicy] [PATCH] File contexts for zram Jason Zaman
2014-06-23 18:46 ` [refpolicy] [PATCH] File Context for tumbler Jason Zaman
2014-06-25 14:33   ` Christopher J. PeBenito
2014-06-28 21:32     ` Jason Zaman
2014-06-30 19:30       ` Christopher J. PeBenito
2014-06-25 16:01 ` [refpolicy] [PATCH] File contexts for zram Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.