summaryrefslogtreecommitdiff
path: root/src/fs/noseclabelfs/dosnoseclabelfs.cil
blob: b3e09962ec23b76bcdd50ce7e5b4d97cbbb833df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;; SPDX-FileCopyrightText: © 2025 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense

(block dos

  (genfscon "fat" "/" fs_context)
  (genfscon "hfs" "/" fs_context)
  (genfscon "hfsplus" "/" fs_context)
  (genfscon "msdos" "/" fs_context)
  (genfscon "ntfs" "/" fs_context)
  (genfscon "ntfs-3g" "/" fs_context)
  (genfscon "ntfs3" "/" fs_context)
  (genfscon "vfat" "/" fs_context)
  (genfscon "exfat" "/" fs_context)

  (macro map_fs_files ((type ARG1))
	 (allow ARG1 fs (file (map))))

  (blockinherit .noseclabelfs.template)

  (call .rbacsep.exempt.obj.type (fs)))