summaryrefslogtreecommitdiff
path: root/src/fs/noseclabelfs/cinoseclabelfs.cil
blob: dbad070b14249039f2938be6aa0dc5ad3b494bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;; SPDX-FileCopyrightText: M-BM-) 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)))