Android: Allow wpa_supplicant to write files to osu-info dir
authorKanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com>
Tue, 1 Mar 2016 02:06:53 +0000 (07:36 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 3 Mar 2016 12:50:29 +0000 (14:50 +0200)
commit61697c7ecc0095d65218bc3f8203cabf370b2f27
tree90c997ead681dbe318b6a4904b0fb078f181b423
parent0147afa9dfb03ee9f97101dc29bee178990d52a2
Android: Allow wpa_supplicant to write files to osu-info dir

This commit allows any process running with group id of AID_WIFI to
read/write files to osu-info directory. Also, it allows other users to
read and search the osu-info directory.

This fixes issues with hs20-osu-client creating a directory for
wpa_supplicant use without wpa_supplicant actually having privileges to
write there on Android where the wpa_supplicant process does not run as
root.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hs20/client/osu_client.c