summaryrefslogtreecommitdiff
path: root/src/misc/av/fdav.cil
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-08-16 14:43:06 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-08-16 14:43:06 -0400
commit58ffeaf9b49e662e49d24a2d71dcdc9fac2949f8 (patch)
tree84c645e32aac8eb468f41df33fbac7b0a8584887 /src/misc/av/fdav.cil
parentcfd55472db08f37b2123c350ce76fb3d916d25f6 (diff)
downloadselinux-policy-58ffeaf9b49e662e49d24a2d71dcdc9fac2949f8.tar.gz
auto format all files
Diffstat (limited to 'src/misc/av/fdav.cil')
-rw-r--r--src/misc/av/fdav.cil68
1 files changed, 34 insertions, 34 deletions
diff --git a/src/misc/av/fdav.cil b/src/misc/av/fdav.cil
index 9ded93b..b625ceb 100644
--- a/src/misc/av/fdav.cil
+++ b/src/misc/av/fdav.cil
@@ -1,11 +1,11 @@
-;; SPDX-FileCopyrightText: © 2025 Dominick Grift <dominick.grift@defensec.nl>
+;; SPDX-FileCopyrightText: M-BM-) 2025 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense
(class fd (use))
(classorder (unordered fd))
(macro use_invalid_fds ((type ARG1))
- (allow ARG1 invalid (fd (use))))
+ (allow ARG1 invalid (fd (use))))
(in invalid.unconfined
@@ -14,78 +14,78 @@
(in mcs
(mlsconstrain (fd (use))
- (or (or (dom h1 h2)
- (neq t1 constrained.typeattr))
- (and (eq t1 usefdsource.typeattr)
- (eq t2 usefdtarget.typeattr))))
+ (or (or (dom h1 h2)
+ (neq t1 constrained.typeattr))
+ (and (eq t1 usefdsource.typeattr)
+ (eq t2 usefdtarget.typeattr))))
(block usefdsource
- (macro type ((type ARG1))
- (typeattributeset typeattr ARG1))
+ (macro type ((type ARG1))
+ (typeattributeset typeattr ARG1))
- (typeattribute typeattr))
+ (typeattribute typeattr))
(block usefdtarget
- (macro type ((type ARG1))
- (typeattributeset typeattr ARG1))
+ (macro type ((type ARG1))
+ (typeattributeset typeattr ARG1))
- (typeattribute typeattr)))
+ (typeattribute typeattr)))
(in rbacsep
(constrain (fd (use))
- (or (or (or (eq r1 r2)
- (and (eq r1 exempt.roleattr)
- (neq t1 constrained.typeattr)))
- (eq t1 exempt.subj.typeattr))
- (and (eq t1 usefdsource.typeattr)
- (eq t2 usefdtarget.typeattr))))
+ (or (or (or (eq r1 r2)
+ (and (eq r1 exempt.roleattr)
+ (neq t1 constrained.typeattr)))
+ (eq t1 exempt.subj.typeattr))
+ (and (eq t1 usefdsource.typeattr)
+ (eq t2 usefdtarget.typeattr))))
(block usefdsource
- (macro type ((type ARG1))
- (typeattributeset typeattr ARG1))
+ (macro type ((type ARG1))
+ (typeattributeset typeattr ARG1))
- (typeattribute typeattr))
+ (typeattribute typeattr))
(block usefdtarget
- (macro type ((type ARG1))
- (typeattributeset typeattr ARG1))
+ (macro type ((type ARG1))
+ (typeattributeset typeattr ARG1))
- (typeattribute typeattr)))
+ (typeattribute typeattr)))
(in subj
(block interactivefd
- (macro type ((type ARG1))
- (typeattributeset typeattr ARG1))
+ (macro type ((type ARG1))
+ (typeattributeset typeattr ARG1))
- (typeattribute typeattr)
+ (typeattribute typeattr)
- (call .mcs.usefdtarget.type (typeattr)))
+ (call .mcs.usefdtarget.type (typeattr)))
(block useinteractivefd
- (macro type ((type ARG1))
- (typeattributeset typeattr ARG1))
+ (macro type ((type ARG1))
+ (typeattributeset typeattr ARG1))
- (typeattribute typeattr)
+ (typeattribute typeattr)
- (allow typeattr interactivefd.typeattr (fd (use)))))
+ (allow typeattr interactivefd.typeattr (fd (use)))))
(in subj.all_macro_template
(macro use_all_fds ((type ARG1))
- (allow ARG1 typeattr (fd (use)))))
+ (allow ARG1 typeattr (fd (use)))))
(in subj.macro_template
(macro use_subj_fds ((type ARG1))
- (allow ARG1 subj (fd (use)))))
+ (allow ARG1 subj (fd (use)))))
(in subj.unconfined