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()
348 gid_t gid_wifi = grp ? grp->gr_gid : 0; in os_program_init() local359 if (!gid_wifi || !uid_wifi) return -1; in os_program_init()365 if (!gid_wifi || !uid_wifi) return -1; in os_program_init()366 groups[group_idx] = gid_wifi; in os_program_init()385 setgid(gid_wifi); in os_program_init()