pass-hal: standard: Add permissions for the available min/max frequency 05/143305/6
authorDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 9 Aug 2017 06:47:50 +0000 (15:47 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 14 Aug 2017 01:34:06 +0000 (01:34 +0000)
To add implementation for the new function to get available frequency
of cpu and memory bus, PASS should have the proper permission for
sysfs node which the new functions access. For this, the permission
for these sysfs node will be added to pass-hal.conf

Change-Id: I96aafa604390efe97b7059ce6e45b0ea8d243450
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
scripts/pass-hal.conf

index 5d823db..3afd2eb 100644 (file)
@@ -4,6 +4,10 @@ z      /sys/devices/system/cpu/*/cpufreq/scaling_available_governors   0440    root    system
 t      /sys/devices/system/cpu/*/cpufreq/scaling_available_governors   -       -       -       -       security.SMACK64="System"
 z      /sys/devices/system/cpu/*/cpufreq/cpuinfo_cur_freq      0440    root    system_fw       -
 t      /sys/devices/system/cpu/*/cpufreq/cpuinfo_cur_freq      -       -       -       -       security.SMACK64="System"
+z      /sys/devices/system/cpu/*/cpufreq/cpuinfo_min_freq      0440    root    system_fw       -
+t      /sys/devices/system/cpu/*/cpufreq/cpuinfo_min_freq      -       -       -       -       security.SMACK64="System"
+z      /sys/devices/system/cpu/*/cpufreq/cpuinfo_max_freq      0440    root    system_fw       -
+t      /sys/devices/system/cpu/*/cpufreq/cpuinfo_max_freq      -       -       -       -       security.SMACK64="System"
 z      /sys/devices/system/cpu/*/cpufreq/scaling_governor      0660    root    system_fw       -
 t      /sys/devices/system/cpu/*/cpufreq/scaling_governor      -       -       -       -       security.SMACK64="System"
 z      /sys/devices/system/cpu/*/cpufreq/scaling_min_freq      0660    root    system_fw       -
@@ -28,3 +32,5 @@ z     /sys/devices/platform/soc/*/devfreq/*/min_freq  0660    root    system_fw       -
 t      /sys/devices/platform/soc/*/devfreq/*/min_freq  -       -       -       -       security.SMACK64="System"
 z      /sys/devices/platform/soc/*/devfreq/*/max_freq  0660    root    system_fw       -
 t      /sys/devices/platform/soc/*/devfreq/*/max_freq  -       -       -       -       security.SMACK64="System"
+z      /sys/devices/platform/soc/*/devfreq/*/available_frequencies     0440    root    system_fw       -
+t      /sys/devices/platform/soc/*/devfreq/*/available_frequencies     -       -       -       -       security.SMACK64="System"