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

(block ci

  (genfscon "cifs" "/" fs_context)
  (genfscon "smbfs" "/" fs_context)

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

  (blockinherit .noseclabelfs.template)

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