summaryrefslogtreecommitdiff
path: root/src/dev/stordev/zramstordev.cil
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/stordev/zramstordev.cil')
-rw-r--r--src/dev/stordev/zramstordev.cil9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dev/stordev/zramstordev.cil b/src/dev/stordev/zramstordev.cil
new file mode 100644
index 0000000..6478289
--- /dev/null
+++ b/src/dev/stordev/zramstordev.cil
@@ -0,0 +1,9 @@
+;; SPDX-FileCopyrightText: © 2023 Dominick Grift <dominick.grift@defensec.nl>
+;; SPDX-License-Identifier: Unlicense
+
+(block zram
+
+ (filecon "/dev/zram[0-9]+" block stordev_context)
+
+ (blockinherit .stordev.base_template)
+ (blockinherit .stordev.macro_template_blk_files))