Skip to content
Snippets Groups Projects
Commit a10f01b7 authored by Wei Wang's avatar Wei Wang
Browse files

init.te: only allow wifi tracing restorecon twice

Bug: 35979722
Test: angler boot with UART on and set sys.wifitracing.started to 0 after boot
Test: no more avc errors on debugfs
Change-Id: I91d98428aaec915b3206535559a0c096e6de1603
parent 4aad8b42
No related branches found
No related tags found
No related merge requests found
......@@ -181,8 +181,8 @@ allow init {
allow init cache_file:lnk_file r_file_perms;
allow init { file_type -system_file -exec_type }:dir_file_class_set relabelto;
allow init { sysfs_type debugfs_type}:{ dir file lnk_file } { getattr relabelfrom };
allow init { sysfs_type debugfs_type }:{ dir file lnk_file } relabelto;
allow init { sysfs debugfs debugfs_tracing }:{ dir file lnk_file } { getattr relabelfrom };
allow init { sysfs_type debugfs_type }:{ dir file lnk_file } { relabelto getattr };
allow init dev_type:dir create_dir_perms;
allow init dev_type:lnk_file create;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment