diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2017-11-30 12:59:05 -0800 |
---|---|---|
committer | Jeff Vander Stoep <jeffv@google.com> | 2017-11-30 12:59:05 -0800 |
commit | 25a3861acf9187385d9ece5071ef06ca28f73746 (patch) | |
tree | 3f839df2dc980421afda8c2fd7f65d097d578bec | |
parent | 698b29117688f859bd667548aa58e138f4775cef (diff) | |
download | dragon-25a3861acf9187385d9ece5071ef06ca28f73746.tar.gz |
wifi_supplicant: deprecate entropy.bin
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.
Bug: 34980020
Test: Use wifi and wifi tethering on Taimen
Change-Id: I4f54b6c669b698ab7da1e2b8130bee06c0ea2fa7
-rw-r--r-- | init.dragon.rc | 2 | ||||
-rw-r--r-- | sepolicy/hostapd.te | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/init.dragon.rc b/init.dragon.rc index dd8ae61..06ac845 100644 --- a/init.dragon.rc +++ b/init.dragon.rc @@ -220,7 +220,7 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ -I/system/etc/wifi/p2p_supplicant_overlay.conf \ -puse_p2p_group_interface=1p2p_device=1 \ -m/data/misc/wifi/p2p_supplicant.conf \ - -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 + -g@android:wpa_wlan0 class late_start socket wpa_wlan0 dgram 660 wifi wifi disabled diff --git a/sepolicy/hostapd.te b/sepolicy/hostapd.te index 15064a0..fdf6f51 100644 --- a/sepolicy/hostapd.te +++ b/sepolicy/hostapd.te @@ -1,5 +1,4 @@ # hostapd can read and write WiFi related data and configuration. -# For example, the entropy file is periodically updated. allow hostapd wifi_data_file:file rw_file_perms; r_dir_file(hostapd, wifi_data_file) |