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

(block removable

    (filecon "/dev/fd[^/]+" block stordev_context)
    (filecon "/dev/mmcblk[0-9]+" block stordev_context)
    (filecon "/dev/mmcblk[0-9]boot[^/]+" block stordev_context)
    (filecon "/dev/mmcblk[0-9]p[^/]+" block stordev_context)
    (filecon "/dev/mmcblk[0-9]rpmb" char stordev_context)
    (filecon "/dev/mspblk[0-9]+" block stordev_context)
    (filecon "/dev/mspblk[0-9]boot[^/]+" block stordev_context)
    (filecon "/dev/mspblk[0-9]p[^/]+" block stordev_context)
    (filecon "/dev/mspblk[0-9]rpmb" char stordev_context)
    (filecon "/dev/sr[0-9]+" block stordev_context)

    (blockinherit .stordev.template))