diff options
author | Dominick Grift <dominick.grift@defensec.nl> | 2023-08-20 15:44:41 +0200 |
---|---|---|
committer | Dominick Grift <dominick.grift@defensec.nl> | 2023-08-20 15:46:23 +0200 |
commit | 0c187b6ff97f91c41dab65a6426dc61f77305cdf (patch) | |
tree | 1e35f5851154500a8a39428a45a5671f9488e1da /src/fs/seclabelfs.cil | |
download | selinux-policy-0c187b6ff97f91c41dab65a6426dc61f77305cdf.tar.gz |
Import dssp5
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
Diffstat (limited to 'src/fs/seclabelfs.cil')
-rw-r--r-- | src/fs/seclabelfs.cil | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/fs/seclabelfs.cil b/src/fs/seclabelfs.cil new file mode 100644 index 0000000..eb31584 --- /dev/null +++ b/src/fs/seclabelfs.cil @@ -0,0 +1,37 @@ +;; SPDX-FileCopyrightText: © 2023 Dominick Grift <dominick.grift@defensec.nl> +;; SPDX-License-Identifier: Unlicense + +(block seclabelfs + + (macro type ((type ARG1)) + (typeattributeset typeattr ARG1)) + + (typeattribute typeattr) + + (blockinherit .fs.all_macro_template_fs) + + (blockinherit .file.all_macro_template_all_files) + (blockinherit .file.all_macro_template_blk_files) + (blockinherit .file.all_macro_template_chr_files) + (blockinherit .file.all_macro_template_dirs) + (blockinherit .file.all_macro_template_fifo_files) + (blockinherit .file.all_macro_template_files) + (blockinherit .file.all_macro_template_lnk_files) + (blockinherit .file.all_macro_template_sock_files) + + (call .fs.type (typeattr)) + + (block base_template + + (blockabstract base_template) + + (blockinherit .fs.base_template) + + (call .seclabelfs.type (fs))) + + (block template + + (blockabstract template) + + (blockinherit .fs.macro_template_fs) + (blockinherit .seclabelfs.base_template))) |