Allow radio to read emulator network properties

A recent change added SELinux labels to the properties used by the DHCP
software and RIL to configure the network. Unfortunately that change
didn't give RIL the permissions needed to read those properties which
broke radio networking for the emulator. Fix it by allowing radio
related code to read the properties again.

BUG: 76211046
Test: Run emulator with -feature -Wifi and verify network connectivity
Change-Id: I7663a6598e2d501ee8336b2dae5fd78ff4ff69bc
This commit is contained in:
Bjoern Johansson 2018-03-23 11:26:40 -07:00
parent c6bd5fc81a
commit a27d4b7270
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,3 @@
# Allow the radio to read these properties, they only have an SELinux label in
# the emulator.
get_prop(radio, net_eth0_prop);

View File

@ -0,0 +1,3 @@
# Allow rild to read these properties, they only have an SELinux label in the
# emulator.
get_prop(rild, net_eth0_prop);