summaryrefslogtreecommitdiff
path: root/src/dev/termdev/ptytermdev.cil
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/termdev/ptytermdev.cil')
-rw-r--r--src/dev/termdev/ptytermdev.cil33
1 files changed, 15 insertions, 18 deletions
diff --git a/src/dev/termdev/ptytermdev.cil b/src/dev/termdev/ptytermdev.cil
index 270cc03..4fb7d61 100644
--- a/src/dev/termdev/ptytermdev.cil
+++ b/src/dev/termdev/ptytermdev.cil
@@ -3,27 +3,9 @@
(block ptytermdev
- (macro appendinherited_all_chr_files ((type ARG1))
- (allow ARG1 typeattr appendinherited_chr_file)
- (allowx ARG1 typeattr IOCTLCONSOLE)
- (allowx ARG1 typeattr IOCTLTTY_NOT_TIOCSTI)
- (allowx ARG1 typeattr IOCTLVT))
-
- (macro readwriteinherited_all_chr_files ((type ARG1))
- (allow ARG1 typeattr readwriteinherited_chr_file)
- (allowx ARG1 typeattr IOCTLCONSOLE)
- (allowx ARG1 typeattr IOCTLTTY_NOT_TIOCSTI)
- (allowx ARG1 typeattr IOCTLVT))
-
(macro type ((type ARG1))
(typeattributeset typeattr ARG1))
- (macro writeinherited_all_chr_files ((type ARG1))
- (allow ARG1 typeattr writeinherited_chr_file)
- (allowx ARG1 typeattr IOCTLCONSOLE)
- (allowx ARG1 typeattr IOCTLTTY_NOT_TIOCSTI)
- (allowx ARG1 typeattr IOCTLVT))
-
(typeattribute typeattr)
(blockinherit .file.all_macro_template_chr_files)
@@ -117,3 +99,18 @@
(typeattribute typeattr)
(allow typeattr ptytermdev.typeattr (chr_file (not (execmod mounton))))))
+
+(in after ptytermdev.appendinherited_all_chr_files
+ (allowx ARG1 typeattr IOCTLCONSOLE)
+ (allowx ARG1 typeattr IOCTLTTY_NOT_TIOCSTI)
+ (allowx ARG1 typeattr IOCTLVT))
+
+(in after ptytermdev.readwriteinherited_all_chr_files
+ (allowx ARG1 typeattr IOCTLCONSOLE)
+ (allowx ARG1 typeattr IOCTLTTY_NOT_TIOCSTI)
+ (allowx ARG1 typeattr IOCTLVT))
+
+(in after ptytermdev.writeinherited_all_chr_files
+ (allowx ARG1 typeattr IOCTLCONSOLE)
+ (allowx ARG1 typeattr IOCTLTTY_NOT_TIOCSTI)
+ (allowx ARG1 typeattr IOCTLVT))