Lines Matching refs:nsswitch
199 char *nsswitch = NULL; in nwam_loc_create() local
258 nsswitch = strdup(NSSWITCH_PREFIX NWAM_NAMESERVICES_DNS_STRING); in nwam_loc_create()
259 if (nsswitch == NULL) { in nwam_loc_create()
263 if ((err = nwam_value_create_string(nsswitch, &val)) != NWAM_SUCCESS) in nwam_loc_create()
269 if (nsswitch != NULL) in nwam_loc_create()
270 free(nsswitch); in nwam_loc_create()
753 char *nsswitch; in nwam_loc_validate_all_nameservices() local
761 if ((nsswitch = malloc(MAXPATHLEN)) == NULL) { in nwam_loc_validate_all_nameservices()
767 (void) snprintf(nsswitch, MAXPATHLEN, "%s%s", in nwam_loc_validate_all_nameservices()
769 if ((err = nwam_value_create_string(nsswitch, &val)) in nwam_loc_validate_all_nameservices()
771 free(nsswitch); in nwam_loc_validate_all_nameservices()
777 free(nsswitch); in nwam_loc_validate_all_nameservices()