summaryrefslogtreecommitdiff
path: root/src/subj/common.cil
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-08-28 02:42:19 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-08-28 02:42:19 -0400
commit71bcaf19980f65b4b68e45b2d0fe4c77028c56ab (patch)
tree128106bb237faa5a03a85730e0247950d2152778 /src/subj/common.cil
parent6b55b4114f36403e3054091444f1a154d3cf6386 (diff)
downloadselinux-policy-71bcaf19980f65b4b68e45b2d0fe4c77028c56ab.tar.gz
add the ability to traverse root to .subj.common.typeattr
Diffstat (limited to 'src/subj/common.cil')
-rw-r--r--src/subj/common.cil3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/subj/common.cil b/src/subj/common.cil
index 3530e9d..7ebe003 100644
--- a/src/subj/common.cil
+++ b/src/subj/common.cil
@@ -32,6 +32,9 @@
(allow typeattr self readwrite_fifo_file)
(allow typeattr self read_file)
+ ;; traverse /
+ (call .root.search_file_dirs (typeattr))
+
;; procfs
(call .proc.read_fs_lnk_files (typeattr))
(call .proc.search_fs_dirs (typeattr))