Merge "Align file permissions for cpufreq scaling_max_freq node" am: abff801ae6
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2087025 Change-Id: I651c4c6618fd06562c3163ef8b205b03b37a9c44 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
0c13a36060
1 changed files with 4 additions and 2 deletions
|
|
@ -1135,9 +1135,11 @@ on boot
|
|||
chown system system /sys/devices/system/cpu/cpufreq/interactive/io_is_busy
|
||||
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/io_is_busy
|
||||
|
||||
# Assume SMP uses shared cpufreq policy for all CPUs
|
||||
# Assume SMP uses shared cpufreq policy for all CPUs in the same cluster.
|
||||
# Here is for initial cluster (cpu0...) which is not hot-plugged in most cases.
|
||||
# The rest of hot-plugged clusters are covered by ueventd.rc.
|
||||
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
|
||||
chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
|
||||
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
|
||||
|
||||
chown system system /sys/class/leds/vibrator/trigger
|
||||
chown system system /sys/class/leds/vibrator/activate
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue