summaryrefslogtreecommitdiff
path: root/src/fs/noseclabelfs/autonoseclabelfs.cil
blob: d22b1337387f87c849615b361b8e82755d0ea7f6 (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 auto

    (genfscon "autofs" "/" fs_context)
    (genfscon "automount" "/" fs_context)

    (macro getattr_fs_dirs ((type ARG1))
	(allow ARG1 fs (dir (getattr))))

    (blockinherit .fs.macro_template_dirs)
    (blockinherit .fs.macro_template_fs)
    (blockinherit .noseclabelfs.base_template))