Start the mainline supplicant as user 'wifi'
rather than user 'root'.

From the wpa_supplicant documentation,
the process will need Net Admin and
Net Raw capabilities, along with access
to the socket directory, in order to
function as a non-root user.

Bug: 376525695
Test: Start mainline supplicant and
      add interface wlan0
Change-Id: I37f813031354dbb38765b78ed2cac26056ca1747
1 file changed