blob: 6c57cb27703340ebdc430c47bb2a5ef4960ba3c3 [file] [log] [blame]
;; -*- mode: CIL; fill-column: 79; indent-tabs-mode: nil; -*-
;; SPDX-FileCopyrightText: © 2021 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense
(block zramctl
;;
;; Contexts
;;
(genfscon
"sysfs"
"/class/zram-control"
sysfile_file_context)
;;
;; Policy
;;
(blockinherit .sysfile.class.obj_template)
(optional zramctl_opt_sandbox
(call .file.sandboxexception.obj_type (sysfile))))