mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 15:09:54 +00:00
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:
2
sepolicy/vendor/cnd.te
vendored
2
sepolicy/vendor/cnd.te
vendored
@@ -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)
|
||||
|
||||
2
sepolicy/vendor/hal_power_stats_default.te
vendored
2
sepolicy/vendor/hal_power_stats_default.te
vendored
@@ -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)
|
||||
|
||||
2
sepolicy/vendor/location.te
vendored
2
sepolicy/vendor/location.te
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user