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