diff options
author | Inseob Kim <inseob@google.com> | 2020-06-25 21:52:33 +0900 |
---|---|---|
committer | Inseob Kim <inseob@google.com> | 2020-07-16 10:23:20 +0000 |
commit | d566d6d2e626c3bf17ef772404962cd0e8522f76 (patch) | |
tree | 87d2c53b25cb53512b955a8c5343f61376690529 | |
parent | ca3db7875f9a7311df2bcb1e7f3f9f5d0e5ce016 (diff) | |
download | wahoo-d566d6d2e626c3bf17ef772404962cd0e8522f76.tar.gz |
Rename exported_wifi_prop to wifi_hal_prop
To remove bad context names exported*_prop
Bug: 155844385
Test: m selinux_policy
Change-Id: I3a1e355f510e6328d05e76ba2961562fe711da1b
-rw-r--r-- | sepolicy/vendor/cnd.te | 2 | ||||
-rw-r--r-- | sepolicy/vendor/hal_power_stats_default.te | 2 | ||||
-rw-r--r-- | sepolicy/vendor/location.te | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/sepolicy/vendor/cnd.te b/sepolicy/vendor/cnd.te index d7aa8103..087017ac 100644 --- a/sepolicy/vendor/cnd.te +++ b/sepolicy/vendor/cnd.te @@ -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) diff --git a/sepolicy/vendor/hal_power_stats_default.te b/sepolicy/vendor/hal_power_stats_default.te index 5c773db3..d3056de9 100644 --- a/sepolicy/vendor/hal_power_stats_default.te +++ b/sepolicy/vendor/hal_power_stats_default.te @@ -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) diff --git a/sepolicy/vendor/location.te b/sepolicy/vendor/location.te index 02f8d4a1..aaf5a847 100644 --- a/sepolicy/vendor/location.te +++ b/sepolicy/vendor/location.te @@ -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) |