]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Android: Force group access to ctrl_iface directory
authorPontus Fuchs <pontus.fuchs@gmail.com>
Mon, 17 Dec 2012 14:30:44 +0000 (16:30 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 17 Dec 2012 14:30:44 +0000 (16:30 +0200)
commit5bbf590a583609541cb257a6bc01bdcfc211bd3c
treedc3add241f8504d8e4f7c0544c2c16e6a7023458
parent9cbd5845d062ab0bc1de4678bc4f0b85bc0d32a9
hostapd: Android: Force group access to ctrl_iface directory

Same fix as d49ea68284fdb8516d7e0903e526aac484c18c49 in
wpa_supplicant.

From original commit:

wpa_supplicant is started from /init.*.rc on Android and that seems
to be using umask 0077 which would leave the control interface
directory without group access. This breaks things since Wi-Fi
framework assumes that this directory can be accessed by other
applications in the wifi group. Fix this by adding group access even
if umask value would prevent this.

Signed-hostap: Pontus Fuchs <pontus.fuchs@gmail.com>
hostapd/ctrl_iface.c