summaryrefslogtreecommitdiff
path: root/src/dev/stordev/removablestordev.cil
blob: 38be27c665bde9e1b9ca325e9d88986932ae0de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;; SPDX-FileCopyrightText: © 2024 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))