diff options
author | John Turner <jturner.usa@gmail.com> | 2025-08-23 20:26:13 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-08-23 20:26:13 -0400 |
commit | d51ea05efd323c8caffc814713e73bba5bc55141 (patch) | |
tree | d9f3a5b719ecb7d60d198c54a2a18ddc8205d1d0 | |
parent | 02500d32e79582dcf3d60f0e3e96c0a3a3ab3c01 (diff) | |
download | selinux-policy-d51ea05efd323c8caffc814713e73bba5bc55141.tar.gz |
move "fs.unconfined" out of misc.cil
-rw-r--r-- | src/fs.cil | 8 | ||||
-rw-r--r-- | src/misc.cil | 7 |
2 files changed, 6 insertions, 9 deletions
@@ -569,7 +569,6 @@ (blockinherit .fs.macro_template_fs)) (block unconfined - (macro type ((type ARG1)) (typeattributeset typeattr ARG1)) @@ -586,7 +585,12 @@ (allow typeattr fs.typeattr (lnk_file (not (audit_access execmod map mounton)))) (allow typeattr fs.typeattr - (sock_file (not (audit_access execmod map mounton)))))) + (sock_file (not (audit_access execmod map mounton)))) + + (call .dos.boot_file_type_transition_fs (typeattr)) + (call .dos.root_file_type_transition_fs (typeattr)) + (call .proc.root_file_type_transition_fs (typeattr)) + (call .sys.root_file_type_transition_fs (typeattr)))) (in invalid.unconfined diff --git a/src/misc.cil b/src/misc.cil index 10b706f..1dde37f 100644 --- a/src/misc.cil +++ b/src/misc.cil @@ -3,13 +3,6 @@ (sidcontext init (sys.id sys.role sys.subj sys.lowlow)) ;; userspace_initial_context -(in fs.unconfined - - (call .dos.boot_file_type_transition_fs (typeattr)) - (call .dos.root_file_type_transition_fs (typeattr)) - (call .proc.root_file_type_transition_fs (typeattr)) - (call .sys.root_file_type_transition_fs (typeattr))) - (in fuse (filecon "/sys/fs/fuse/connections" dir ()) |