diff options
Diffstat (limited to 'src/dev/termdev/ptytermdev.cil')
-rw-r--r-- | src/dev/termdev/ptytermdev.cil | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/src/dev/termdev/ptytermdev.cil b/src/dev/termdev/ptytermdev.cil index 353eca2..dd0ed89 100644 --- a/src/dev/termdev/ptytermdev.cil +++ b/src/dev/termdev/ptytermdev.cil @@ -1,104 +1,104 @@ -;; SPDX-FileCopyrightText: © 2025 Dominick Grift <dominick.grift@defensec.nl> +;; SPDX-FileCopyrightText: M-BM-) 2025 Dominick Grift <dominick.grift@defensec.nl> ;; SPDX-License-Identifier: Unlicense (block ptytermdev - (macro type ((type ARG1)) - (typeattributeset typeattr ARG1)) + (macro type ((type ARG1)) + (typeattributeset typeattr ARG1)) - (typeattribute typeattr) + (typeattribute typeattr) - (blockinherit .file.all_macro_template_chr_files) + (blockinherit .file.all_macro_template_chr_files) - (call .devpts.associate_fs (typeattr)) + (call .devpts.associate_fs (typeattr)) - (call .termdev.type (typeattr)) + (call .termdev.type (typeattr)) - (block base_template + (block base_template - (blockabstract base_template) + (blockabstract base_template) - (context ptytermdev_context (.sys.id .sys.role ptytermdev .sys.lowlow)) + (context ptytermdev_context (.sys.id .sys.role ptytermdev .sys.lowlow)) - (type ptytermdev) - (call .ptytermdev.type (ptytermdev))) + (type ptytermdev) + (call .ptytermdev.type (ptytermdev))) - (block macro_template_chr_files + (block macro_template_chr_files - (blockabstract macro_template_chr_files) + (blockabstract macro_template_chr_files) - (macro append_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev append_chr_file)) + (macro append_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev append_chr_file)) - (macro appendinherited_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev appendinherited_chr_file) - (allowx ARG1 ptytermdev IOCTLCONSOLE_NOT_TIOCLINUX) - (allowx ARG1 ptytermdev IOCTLTTY_NOT_TIOCSTI) - (allowx ARG1 ptytermdev IOCTLVT)) + (macro appendinherited_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev appendinherited_chr_file) + (allowx ARG1 ptytermdev IOCTLCONSOLE_NOT_TIOCLINUX) + (allowx ARG1 ptytermdev IOCTLTTY_NOT_TIOCSTI) + (allowx ARG1 ptytermdev IOCTLVT)) - (macro create_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev create_chr_file)) + (macro create_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev create_chr_file)) - (macro delete_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev delete_chr_file)) + (macro delete_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev delete_chr_file)) - (macro manage_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev manage_chr_file)) + (macro manage_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev manage_chr_file)) - (macro mapexecute_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev mapexecute_chr_file)) + (macro mapexecute_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev mapexecute_chr_file)) - (macro read_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev read_chr_file)) + (macro read_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev read_chr_file)) - (macro readinherited_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev readinherited_chr_file)) + (macro readinherited_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev readinherited_chr_file)) - (macro readwrite_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev readwrite_chr_file)) + (macro readwrite_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev readwrite_chr_file)) - (macro readwriteinherited_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev readwriteinherited_chr_file) - (allowx ARG1 ptytermdev IOCTLCONSOLE_NOT_TIOCLINUX) - (allowx ARG1 ptytermdev IOCTLTTY_NOT_TIOCSTI) - (allowx ARG1 ptytermdev IOCTLVT)) + (macro readwriteinherited_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev readwriteinherited_chr_file) + (allowx ARG1 ptytermdev IOCTLCONSOLE_NOT_TIOCLINUX) + (allowx ARG1 ptytermdev IOCTLTTY_NOT_TIOCSTI) + (allowx ARG1 ptytermdev IOCTLVT)) - (macro relabel_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev relabel_chr_file)) + (macro relabel_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev relabel_chr_file)) - (macro relabelfrom_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev relabelfrom_chr_file)) + (macro relabelfrom_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev relabelfrom_chr_file)) - (macro relabelto_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev relabelto_chr_file)) + (macro relabelto_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev relabelto_chr_file)) - (macro rename_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev rename_chr_file)) + (macro rename_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev rename_chr_file)) - (macro write_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev write_chr_file)) + (macro write_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev write_chr_file)) - (macro writeinherited_ptytermdev_chr_files ((type ARG1)) - (allow ARG1 ptytermdev writeinherited_chr_file) - (allowx ARG1 ptytermdev IOCTLCONSOLE_NOT_TIOCLINUX) - (allowx ARG1 ptytermdev IOCTLTTY_NOT_TIOCSTI) - (allowx ARG1 ptytermdev IOCTLVT))) + (macro writeinherited_ptytermdev_chr_files ((type ARG1)) + (allow ARG1 ptytermdev writeinherited_chr_file) + (allowx ARG1 ptytermdev IOCTLCONSOLE_NOT_TIOCLINUX) + (allowx ARG1 ptytermdev IOCTLTTY_NOT_TIOCSTI) + (allowx ARG1 ptytermdev IOCTLVT))) - (block template + (block template - (blockabstract template) + (blockabstract template) - (blockinherit .ptytermdev.base_template) - (blockinherit .ptytermdev.macro_template_chr_files)) + (blockinherit .ptytermdev.base_template) + (blockinherit .ptytermdev.macro_template_chr_files)) - (block unconfined + (block unconfined - (macro type ((type ARG1)) - (typeattributeset typeattr ARG1)) + (macro type ((type ARG1)) + (typeattributeset typeattr ARG1)) - (typeattribute typeattr) + (typeattribute typeattr) - (allow typeattr ptytermdev.typeattr (chr_file (not (audit_access execmod)))))) + (allow typeattr ptytermdev.typeattr (chr_file (not (audit_access execmod)))))) (in termdev.unconfined |