commit | 10cac5b1a2549a3731e870c574bdd64df7d92877 | [log] [tgz] |
---|---|---|
author | Amarnath Hullur Subramanyam <amarnath@qca.qualcomm.com> | Wed Sep 23 12:39:41 2015 -0700 |
committer | Jouni Malinen <j@w1.fi> | Thu Sep 24 13:15:57 2015 +0300 |
tree | a2526c170a50000e9bee586f17e1c8e561dfdbc2 | |
parent | c9cfa6a9af47459ba65ff9905c47932a0119adf0 [diff] |
Android: Set ctrl_iface client socket group (AID_WIFI) separately Split chown() call in wpa_ctrl_open() and wpa_ctrl_open2() to allow the group id to be set even if the process does not have privileges to change the owner. This is needed for modules that need to communicate with wpa_supplicant since without the group change, wpa_supplicant may not have privileges to send the response to a control interface command. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>