Searched refs:gid_wifi (Results 1 – 2 of 2) sorted by relevance
49 gid_t gid_wifi; in wifihal_ctrl_open2() local113 gid_wifi = grp_wifi ? grp_wifi->gr_gid : 0; in wifihal_ctrl_open2()116 if (!gid_wifi || !uid_system) { in wifihal_ctrl_open2()122 chown(ctrl->local.sun_path, -1, gid_wifi); in wifihal_ctrl_open2()123 chown(ctrl->local.sun_path, uid_system, gid_wifi); in wifihal_ctrl_open2()
157 gid_t gid_wifi; in wifi_create_ctrl_socket() local223 gid_wifi = grp_wifi ? grp_wifi->gr_gid : 0; in wifi_create_ctrl_socket()226 if (!gid_wifi || !uid_system) { in wifi_create_ctrl_socket()231 chown(info->wifihal_ctrl_sock.local.sun_path, -1, gid_wifi); in wifi_create_ctrl_socket()232 chown(info->wifihal_ctrl_sock.local.sun_path, uid_system, gid_wifi); in wifi_create_ctrl_socket()