Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:sock_name

29 	char *sock_name;
542 unlink(iface->sock_name);
550 os_free(iface->sock_name);
606 iface->sock_name = os_malloc(len + 1);
607 if (iface->sock_name == NULL) {
612 os_snprintf(iface->sock_name, len + 1, "%s/%s", dir, iface->ifname);
613 if (os_strlen(iface->sock_name) >= sizeof(addr.sun_path)) {
627 os_strlcpy(addr.sun_path, iface->sock_name, sizeof(addr.sun_path));
637 if (unlink(iface->sock_name) < 0) {
641 iface->sock_name);
650 "socket '%s'", iface->sock_name);
655 "not used anymore", iface->sock_name);
660 if (chmod(iface->sock_name, S_IRWXU | S_IRWXG | S_IRWXO) < 0) {