summaryrefslogtreecommitdiff
path: root/src/dev/stordev/mtdstordev.cil
blob: 6decb837704a9a652598830f29870b3514ffe859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;; SPDX-FileCopyrightText: M-BM-) 2025 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense

(block mtd

    (filecon "/dev/mtd[0-9]+" char stordev_context)
    (filecon "/dev/mtd[0-9]+ro" char stordev_context)
    (filecon "/dev/mtdblock[0-9]+" block stordev_context)

    (filecon "/dev/ubi[0-9]+_[0-9]+" char stordev_context)
    (filecon "/dev/ubi_ctrl" char stordev_context)
    (filecon "/dev/ubiblock[0-9]+_[0-9]+" block stordev_context)

    (blockinherit .stordev.template))