From 0c187b6ff97f91c41dab65a6426dc61f77305cdf Mon Sep 17 00:00:00 2001 From: Dominick Grift Date: Sun, 20 Aug 2023 15:44:41 +0200 Subject: Import dssp5 Signed-off-by: Dominick Grift --- src/fs/noseclabelfs/nfsnoseclabelfs.cil | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/fs/noseclabelfs/nfsnoseclabelfs.cil (limited to 'src/fs/noseclabelfs/nfsnoseclabelfs.cil') diff --git a/src/fs/noseclabelfs/nfsnoseclabelfs.cil b/src/fs/noseclabelfs/nfsnoseclabelfs.cil new file mode 100644 index 0000000..c8a1f7e --- /dev/null +++ b/src/fs/noseclabelfs/nfsnoseclabelfs.cil @@ -0,0 +1,18 @@ +;; SPDX-FileCopyrightText: © 2023 Dominick Grift +;; SPDX-License-Identifier: Unlicense + +(block nfs + + (genfscon "afs" "/" fs_context) + (genfscon "nfs" "/" fs_context) + (genfscon "nfs4" "/" fs_context) + + (macro map_fs_files ((type ARG1)) + (allow ARG1 fs (file (map)))) + + (blockinherit .fs.macro_template_fifo_files) + (blockinherit .fs.macro_template_lnk_files) + (blockinherit .fs.macro_template_sock_files) + (blockinherit .noseclabelfs.template) + + (call .rbacsep.exempt.obj.type (fs))) -- cgit v1.2.3