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

(in fuse

    (genfscon "fuse" "/" fs_context)
    (genfscon "fuseblk" "/" fs_context)
    (genfscon "fusectl" "/" fs_context)

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

    (blockinherit .fs.macro_template_lnk_files)
    (blockinherit .noseclabelfs.template)

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