Rename exported_wifi_prop to wifi_hal_prop

To remove bad context names exported*_prop

Bug: 155844385
Test: m selinux_policy
Change-Id: I3a1e355f510e6328d05e76ba2961562fe711da1b
Merged-In: I3a1e355f510e6328d05e76ba2961562fe711da1b
(cherry picked from commit d566d6d2e6)
This commit is contained in:
Inseob Kim
2020-06-25 21:52:33 +09:00
parent a909e5034a
commit dea698f3b1
3 changed files with 5 additions and 1 deletions

View File

@@ -34,3 +34,5 @@ userdebug_or_eng(`
allow cnd diag_device:chr_file rw_file_perms;
')
dontaudit cnd diag_device:chr_file rw_file_perms;
get_prop(cnd, wifi_hal_prop)

View File

@@ -1,7 +1,7 @@
# power.stats HAL needs access to rpm, and wlan sysfs nodes in /d/
r_dir_file(hal_power_stats_default, debugfs_rpm)
r_dir_file(hal_power_stats_default, debugfs_wlan)
get_prop(hal_power_stats_default, exported_wifi_prop) # Needed to detect wifi on/off
get_prop(hal_power_stats_default, wifi_hal_prop) # Needed to detect wifi on/off
# power.stats HAL needs access to the easel sysfs node
r_dir_file(hal_power_stats_default, sysfs_easel)

View File

@@ -47,3 +47,5 @@ allow location location_data_file:{ file sock_file } create_file_perms;
userdebug_or_eng(`
allow location diag_device:chr_file rw_file_perms;
')
get_prop(location, wifi_hal_prop)