Searched refs:gid_wifi (Results 1 – 2 of 2) sorted by relevance
105 gid_t gid_wifi; in wpa_ctrl_open2() local165 gid_wifi = grp_wifi ? grp_wifi->gr_gid : 0; in wpa_ctrl_open2()168 if (!gid_wifi || !uid_system) { in wpa_ctrl_open2()174 chown(ctrl->local.sun_path, -1, gid_wifi); in wpa_ctrl_open2()175 chown(ctrl->local.sun_path, uid_system, gid_wifi); in wpa_ctrl_open2()
340 gid_t gid_wifi = grp ? grp->gr_gid : 0; in os_program_init() local351 if (!gid_wifi || !uid_wifi) return -1; in os_program_init()357 if (!gid_wifi || !uid_wifi) return -1; in os_program_init()358 groups[group_idx] = gid_wifi; in os_program_init()377 setgid(gid_wifi); in os_program_init()