summaryrefslogtreecommitdiff
path: root/src/file/misc/rootfile.cil
blob: 57cf960ec0389d2d6734d45a7b234aabd014f1a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;; SPDX-FileCopyrightText: © 2024 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)))