Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:sock_name

29 	char *sock_name;
634 unlink(iface->sock_name);
642 os_free(iface->sock_name);
695 iface->sock_name = os_malloc(len + 1);
696 if (iface->sock_name == NULL) {
701 os_snprintf(iface->sock_name, len + 1, "%s/%s", dir, iface->ifname);
702 if (os_strlen(iface->sock_name) >= sizeof(addr.sun_path)) {
716 os_strlcpy(addr.sun_path, iface->sock_name, sizeof(addr.sun_path));
726 if (unlink(iface->sock_name) < 0) {
729 iface->sock_name, strerror(errno));
740 "socket '%s'", iface->sock_name);
745 "not used anymore", iface->sock_name);
750 if (chmod(iface->sock_name, S_IRWXU | S_IRWXG | S_IRWXO) < 0) {