Allow SysUI to write protolog file
This is enabled on debuggable builds only, includes - Grant mlstrustedsubject typeattribute to wm_trace_data_file - Grant systemui_app the write access to wm_trace_data_file Bug: 251513116 Fix: 288049075 Test: make sepolicy Change-Id: Ifa5a5281c6e8c7ecedcd601fc8cc58c4be6bdc3b
This commit is contained in:
parent
569134db41
commit
5b30dbfbb3
2 changed files with 5 additions and 1 deletions
|
@ -20,3 +20,8 @@ get_prop(systemui_app, keyguard_config_prop)
|
|||
set_prop(systemui_app, bootanim_system_prop)
|
||||
get_prop(systemui_app, qemu_hw_prop)
|
||||
|
||||
# Allow writing and removing wmshell protolog in /data/misc/wmtrace.
|
||||
userdebug_or_eng(`
|
||||
allow systemui_app wm_trace_data_file:dir rw_dir_perms;
|
||||
allow systemui_app wm_trace_data_file:file create_file_perms;
|
||||
')
|
||||
|
|
|
@ -16,7 +16,6 @@ rild default_prop file b/315720874
|
|||
surfaceflinger selinuxfs file b/313804706
|
||||
system_server sysfs_batteryinfo file b/294967729
|
||||
system_suspend sysfs_batteryinfo dir b/317316633
|
||||
systemui_app wm_trace_data_file dir b/288049075
|
||||
twoshay chre_socket sock_file b/315104508
|
||||
twoshay chre_socket sock_file b/315104941
|
||||
vendor_init default_prop file b/315104235
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue