wpa_priv.c | 30 char *sock_name; member in struct:wpa_priv_interface 723 unlink(iface->sock_name); 733 os_free(iface->sock_name); 786 iface->sock_name = os_malloc(len + 1); 787 if (iface->sock_name == NULL) { 792 os_snprintf(iface->sock_name, len + 1, "%s/%s", dir, iface->ifname); 793 if (os_strlen(iface->sock_name) >= sizeof(addr.sun_path)) { 807 os_strlcpy(addr.sun_path, iface->sock_name, sizeof(addr.sun_path)); 817 if (unlink(iface->sock_name) < 0) { 820 iface->sock_name, strerror(errno)) [all...] |