aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUtsavBalar1231 <utsavbalar1231@gmail.com>2022-03-28 13:17:46 -0300
committersinanmohd <pcmsinan@gmail.com>2023-01-05 22:04:15 +0530
commit753ba4df02e229ffd0c0b43acac20ec2f61f679d (patch)
tree0ee3bffc2b9f0d61750ab0dd948198a1c82dbb60
parentfe460a4024c4f83d53d8fe4a5abea5cd75992034 (diff)
veux: sepolicy: Grant perms to mount tracefs when CONFIG_DEBUG_FS
avc: denied { mounton } for pid=1 comm="init" path="/sys/kernel/tracing" dev="tracefs" ino=1 scontext=u:r:init:s0 tcontext=u:object_r:debugfs_tracing_debug:s0 tclass=dir permissive=0 Change-Id: Ia71539ff4b622d5130f2051e8ae490f3b7a4722b
-rw-r--r--sepolicy/vendor/init.te4
1 files changed, 3 insertions, 1 deletions
diff --git a/sepolicy/vendor/init.te b/sepolicy/vendor/init.te
index ae76f11..22c338a 100644
--- a/sepolicy/vendor/init.te
+++ b/sepolicy/vendor/init.te
@@ -1,4 +1,6 @@
allow init adsprpcd_file:file mounton;
# Allow init to set read_ahead_kb and discard_max_bytes on /data partition
-allow init vendor_sysfs_scsi_host:file w_file_perms; \ No newline at end of file
+allow init vendor_sysfs_scsi_host:file w_file_perms;
+
+allow init debugfs_tracing_debug:dir mounton; \ No newline at end of file