diff options
Diffstat (limited to 'src')
-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 ()) |