summaryrefslogtreecommitdiff
path: root/src/fs/noseclabelfs/cinoseclabelfs.cil
blob: 41d6da8af06bdfd8c6b3c4b0c92961739819cb85 (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 ci

  (genfscon "cifs" "/" fs_context)
  (genfscon "smbfs" "/" fs_context)

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

  (blockinherit .noseclabelfs.template)

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