summaryrefslogtreecommitdiff
path: root/src/file/misc/rootfile.cil
blob: 3e0799c654f6d8688cd67d33354cf66afd472762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;; SPDX-FileCopyrightText: © 2023 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense

(block root

  (filecon "/" dir file_context)
  (filecon "/[^/]+" symlink file_context)

  (blockinherit .file.base_template)
  (blockinherit .file.macro_template_dirs)
  (blockinherit .file.macro_template_lnk_files)

  (call .xattr.associate_fs (file)))