Home
last modified time | relevance | path

Searched refs:gid_wifi (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c105 gid_t gid_wifi; in wpa_ctrl_open2() local
165 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()
/external/wpa_supplicant_8/src/utils/
Dos_unix.c348 gid_t gid_wifi = grp ? grp->gr_gid : 0; in os_program_init() local
359 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()