Searched refs:uid_system (Results 1 – 2 of 2) sorted by relevance
51 uid_t uid_system; in wifihal_ctrl_open2() local115 uid_system = pwd_system ? pwd_system->pw_uid : 0; in wifihal_ctrl_open2()116 if (!gid_wifi || !uid_system) { in wifihal_ctrl_open2()123 chown(ctrl->local.sun_path, uid_system, gid_wifi); in wifihal_ctrl_open2()
159 uid_t uid_system; in wifi_create_ctrl_socket() local225 uid_system = pwd_system ? pwd_system->pw_uid : 0; in wifi_create_ctrl_socket()226 if (!gid_wifi || !uid_system) { in wifi_create_ctrl_socket()232 chown(info->wifihal_ctrl_sock.local.sun_path, uid_system, gid_wifi); in wifi_create_ctrl_socket()