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