diff options
Diffstat (limited to 'src/fs/noseclabelfs.cil')
-rw-r--r-- | src/fs/noseclabelfs.cil | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/fs/noseclabelfs.cil b/src/fs/noseclabelfs.cil new file mode 100644 index 0000000..6701423 --- /dev/null +++ b/src/fs/noseclabelfs.cil @@ -0,0 +1,32 @@ +;; SPDX-FileCopyrightText: © 2023 Dominick Grift <dominick.grift@defensec.nl> +;; SPDX-License-Identifier: Unlicense + +(block noseclabelfs + + (macro type ((type ARG1)) + (typeattributeset typeattr ARG1)) + + (typeattribute typeattr) + + (blockinherit .fs.all_macro_template_fs) + + (allow typeattr self (filesystem (associate))) + + (call .fs.type (typeattr)) + + (block base_template + + (blockabstract base_template) + + (blockinherit .fs.base_template) + + (call .noseclabelfs.type (fs))) + + (block template + + (blockabstract template) + + (blockinherit .fs.macro_template_dirs) + (blockinherit .fs.macro_template_files) + (blockinherit .fs.macro_template_fs) + (blockinherit .noseclabelfs.base_template))) |