diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-09 00:28:47 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-09 00:28:47 +0000 |
commit | e394a450a6baf5f47a6069c3a4828cfd919c9d10 (patch) | |
tree | 307f2faf62df7def0ab272ff3b9ffc8f0fba775e | |
parent | 97b4381f9cc96a0ea87b76b60a434acbc68fcf26 (diff) | |
parent | a4fa9e40fd282fe5f0b18c7b25acadb5b25e8d21 (diff) | |
download | core-e394a450a6baf5f47a6069c3a4828cfd919c9d10.tar.gz |
Snap for 9581790 from a4fa9e40fd282fe5f0b18c7b25acadb5b25e8d21 to tm-qpr3-release
Change-Id: I733ae30dbc08ee8896be8166e72dbb48df4cf2de
-rw-r--r-- | rootdir/init.rc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 02e51d2c4..c3216da52 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -1269,11 +1269,13 @@ service console /system/bin/sh setenv HOSTNAME console on property:ro.debuggable=1 - # Give writes to anyone for the trace folder on debug builds. + # Give writes to the same group for the trace folder on debug builds, + # it's further protected by selinux policy. # The folder is used to store method traces. chmod 0773 /data/misc/trace - # Give reads to anyone for the window trace folder on debug builds. - chmod 0775 /data/misc/wmtrace + # Give writes and reads to anyone for the window trace folder on debug builds, + # it's further protected by selinux policy. + chmod 0777 /data/misc/wmtrace # Give reads to anyone for the accessibility trace folder on debug builds. chmod 0775 /data/misc/a11ytrace |