1 |
commit: 6875eb43810a516b4451a830602237d59f331acc |
2 |
Author: Jason Zaman <jason <AT> perfinion <DOT> com> |
3 |
AuthorDate: Mon Jun 23 18:46:53 2014 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 25 18:59:21 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=6875eb43 |
7 |
|
8 |
File contexts for zram |
9 |
|
10 |
zram is a compressed block device in ram |
11 |
|
12 |
Signed-off-by: Jason Zaman <jason <AT> perfinion.com> |
13 |
|
14 |
--- |
15 |
policy/modules/kernel/storage.fc | 1 + |
16 |
1 file changed, 1 insertion(+) |
17 |
|
18 |
diff --git a/policy/modules/kernel/storage.fc b/policy/modules/kernel/storage.fc |
19 |
index 4dd865b..73599f3 100644 |
20 |
--- a/policy/modules/kernel/storage.fc |
21 |
+++ b/policy/modules/kernel/storage.fc |
22 |
@@ -59,6 +59,7 @@ ifdef(`distro_redhat', ` |
23 |
/dev/zd.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) |
24 |
/dev/zfs -c gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) |
25 |
/dev/zpios -c gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) |
26 |
+/dev/zram[0-9]+ -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) |
27 |
|
28 |
/dev/ataraid/.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) |