summaryrefslogtreecommitdiff
path: root/src/net/netifnet.cil
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/netifnet.cil')
-rw-r--r--src/net/netifnet.cil86
1 files changed, 43 insertions, 43 deletions
diff --git a/src/net/netifnet.cil b/src/net/netifnet.cil
index af818e1..2a24282 100644
--- a/src/net/netifnet.cil
+++ b/src/net/netifnet.cil
@@ -1,4 +1,4 @@
-;; SPDX-FileCopyrightText: © 2025 Dominick Grift <dominick.grift@defensec.nl>
+;; SPDX-FileCopyrightText: M-BM-) 2025 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense
(sidcontext netif (sys.id sys.role net.netif sys.lowlow))
@@ -7,18 +7,18 @@
(classorder (unordered netif))
(macro egress_invalid_netifs ((type ARG1))
- (allow ARG1 invalid (netif (egress))))
+ (allow ARG1 invalid (netif (egress))))
(macro egressingress_invalid_netifs ((type ARG1))
- (allow ARG1 invalid (netif (egress ingress))))
+ (allow ARG1 invalid (netif (egress ingress))))
(macro ingress_invalid_netifs ((type ARG1))
- (allow ARG1 invalid (netif (ingress))))
+ (allow ARG1 invalid (netif (ingress))))
(tunableif (or invalid_associations invalid_peers)
- (true
+ (true
- (call net.netif.egressingress_all_netifs (invalid))))
+ (call net.netif.egressingress_all_netifs (invalid))))
(in invalid.unconfined
@@ -27,8 +27,8 @@
(in mcs
(mlsconstrain (netif (egress ingress))
- (or (dom h1 h2)
- (neq t1 constrained.typeattr))))
+ (or (dom h1 h2)
+ (neq t1 constrained.typeattr))))
(in net
@@ -36,65 +36,65 @@
(block netif
- (macro type ((type ARG1))
- (typeattributeset typeattr ARG1))
+ (macro type ((type ARG1))
+ (typeattributeset typeattr ARG1))
- (typeattribute typeattr)
+ (typeattribute typeattr)
- (blockinherit all_macro_template)
+ (blockinherit all_macro_template)
- (call .obj.type (typeattr))
+ (call .obj.type (typeattr))
- (block all_macro_template
+ (block all_macro_template
- (blockabstract all_macro_template)
+ (blockabstract all_macro_template)
- (macro egress_all_netifs ((type ARG1))
- (allow ARG1 typeattr (netif (egress))))
+ (macro egress_all_netifs ((type ARG1))
+ (allow ARG1 typeattr (netif (egress))))
- (macro egressingress_all_netifs ((type ARG1))
- (allow ARG1 typeattr (netif (egress ingress))))
+ (macro egressingress_all_netifs ((type ARG1))
+ (allow ARG1 typeattr (netif (egress ingress))))
- (macro ingress_all_netifs ((type ARG1))
- (allow ARG1 typeattr (netif (ingress)))))
+ (macro ingress_all_netifs ((type ARG1))
+ (allow ARG1 typeattr (netif (ingress)))))
- (block base_template
+ (block base_template
- (blockabstract base_template)
+ (blockabstract base_template)
- (context netif_context (.sys.id .sys.role netif .sys.lowlow))
+ (context netif_context (.sys.id .sys.role netif .sys.lowlow))
- (type netif)
- (call .net.netif.type (netif)))
+ (type netif)
+ (call .net.netif.type (netif)))
- (block macro_template
+ (block macro_template
- (blockabstract macro_template)
+ (blockabstract macro_template)
- (macro egress_netifs ((type ARG1))
- (allow ARG1 netif (netif (egress))))
+ (macro egress_netifs ((type ARG1))
+ (allow ARG1 netif (netif (egress))))
- (macro egressingress_netifs ((type ARG1))
- (allow ARG1 netif (netif (egress ingress))))
+ (macro egressingress_netifs ((type ARG1))
+ (allow ARG1 netif (netif (egress ingress))))
- (macro ingress_netifs ((type ARG1))
- (allow ARG1 netif (netif (ingress)))))
+ (macro ingress_netifs ((type ARG1))
+ (allow ARG1 netif (netif (ingress)))))
- (block template
+ (block template
- (blockabstract template)
+ (blockabstract template)
- (blockinherit .net.netif.base_template)
- (blockinherit .net.netif.macro_template))
+ (blockinherit .net.netif.base_template)
+ (blockinherit .net.netif.macro_template))
- (block unconfined
+ (block unconfined
- (macro type ((type ARG1))
- (typeattributeset typeattr ARG1))
+ (macro type ((type ARG1))
+ (typeattributeset typeattr ARG1))
- (typeattribute typeattr)
+ (typeattribute typeattr)
- (allow typeattr netif.typeattr (netif (all))))))
+ (allow typeattr netif.typeattr (netif (all))))))
(in net.unconfined