Home
last modified time | relevance | path

Searched refs:strdup (Results 126 – 150 of 1315) sorted by relevance

12345678910>>...53

/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_reads.c255 new_dn = strdup(dn); in _cvtDN()
662 strdup(vals[k]); in __s_api_cvtEntry()
1362 err = strdup(errstr); in get_mapped_filter()
2053 err = strdup(errstr); in multi_result()
2123 err = strdup(errstr); in multi_result()
2381 err = strdup(errstr); in search_state_machine()
2920 err = strdup(errstr); in search_state_machine()
2955 err = strdup(errstr); in search_state_machine()
2981 err = strdup(errstr); in search_state_machine()
3031 err = strdup(errstr); in check_shadow()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dflex_dev.c73 if ((np = strdup(new_device_name)) == NULL) in flex_device()
81 if ((np = strdup(new_device_name)) == NULL) in flex_device()
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolmgt.c573 return (strdup(start)); in media_findname()
619 res = strdup(s->name); in _media_oldaliases()
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_proc.c185 cred_warning->warn_name = strdup(argp->warning_name); in kwarn_add_warning_1_svc()
391 op = strdup(send_to); in parseConfigLine()
422 l = strdup(st); in parseConfigLine()
552 config_entry->principal = strdup(principal); in parseConfigLine()
555 config_entry->where_to = strdup(send_to); in parseConfigLine()
567 config_entry->email = strdup(emailid); in parseConfigLine()
712 rcp1 = strdup(pr); in getpruid()
829 rcp1 = strdup(name); in loggedon()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dauto_subr.c225 dir->dir_name = strdup(mntpnt); in dirinit()
228 dir->dir_map = strdup(map); in dirinit()
231 dir->dir_opts = strdup(opts); in dirinit()
487 *sval = strdup(str); in str_opt()
783 if ((s2 = strdup(s1)) == NULL) { in auto_rddir_strdup()
799 s2 = strdup(s1); in auto_rddir_strdup()
1097 putenv(strdup(a)); in put_automountd_env()
1102 putenv(strdup(a)); in put_automountd_env()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_generic.c336 if (host == NULL || (hostname = strdup(host)) == NULL) { in clnt_create_service_timed()
345 else if ((serv = strdup(service ? service : "")) == NULL) { in clnt_create_service_timed()
535 cl->cl_netid = strdup(nconf->nc_netid); in clnt_tp_create_timed()
546 cl->cl_tp = strdup(nconf->nc_device); in clnt_tp_create_timed()
676 cl->cl_netid = strdup(nconf->nc_netid); in _clnt_tli_create_timed()
685 cl->cl_tp = strdup(nconf->nc_device); in _clnt_tli_create_timed()
701 cl->cl_netid = strdup(nc->nc_netid); in _clnt_tli_create_timed()
713 cl->cl_tp = strdup(nc->nc_device); in _clnt_tli_create_timed()
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_rcm.c423 arg->rsrcs[arg->n_rsrcs] = strdup(arg->dev_path); in resource_callback()
487 if ((usage->hp_name = strdup(entry->rsrc)) == NULL) { in merge_callback()
493 if ((usage->hp_usage = strdup(entry->usage)) == NULL) { in merge_callback()
576 if ((slot->path = strdup(path)) == NULL) { in build_table()
600 if (((entry->rsrc = strdup(rsrc)) == NULL) || in build_table()
601 ((entry->usage = strdup(usage)) == NULL)) { in build_table()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlpfsck.c328 if ((*ret = strdup(buf)) == NULL) in va_makepath()
329 *ret = strdup(""); in va_makepath()
340 if ((*ret = strdup(buf)) == NULL) { in va_makepath()
341 *ret = strdup(""); in va_makepath()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c253 currp->special = strdup(entry.mnt_special); in load_mnttab()
263 currp->mountp = strdup(entry.mnt_mountp); in load_mnttab()
315 currp->special = strdup(fullpath); in load_mnttab()
323 currp->mountp = strdup("swap"); in load_mnttab()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsn2princ.c166 remote_host = strdup(hp ? hp->h_name : hostname); in krb5_sname_to_principal()
190 remote_host = strdup(hp2->h_name); in krb5_sname_to_principal()
211 remote_host = strdup(hostname); in krb5_sname_to_principal()
/illumos-gate/usr/src/lib/passwdutil/
H A Dfiles_attr.c351 if ((*auth_user = strdup(user)) == NULL) { in files_user_to_authenticate()
491 if ((w->data.val_s = strdup(pw->pw_name)) == NULL) in files_getattr()
495 if ((w->data.val_s = strdup(pw->pw_comment)) == NULL) in files_getattr()
499 if ((w->data.val_s = strdup(pw->pw_gecos)) == NULL) in files_getattr()
503 if ((w->data.val_s = strdup(pw->pw_dir)) == NULL) in files_getattr()
507 if ((w->data.val_s = strdup(pw->pw_shell)) == NULL) in files_getattr()
516 if ((w->data.val_s = strdup(spw->sp_pwdp)) == NULL) in files_getattr()
520 if ((w->data.val_s = strdup(pw->pw_age)) == NULL) in files_getattr()
524 if ((w->data.val_s = strdup("files")) == NULL) in files_getattr()
557 strdup(s1+1)) == NULL) in files_getattr()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dsensor_link.c46 if ((type = strdup(t)) == NULL) { in sensor_link()
63 if ((name = strdup(t)) == NULL) { in sensor_link()
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Denv.c42 envstr = strdup(envstr); in build_env_list()
50 lp->l_libname = strdup(tok); in build_env_list()
/illumos-gate/usr/src/lib/libproc/common/
H A DPzone.c102 lmt->l_special = strdup(mt.mnt_special); in rebuild_lofs_cache()
103 lmt->l_mountp = strdup(mt.mnt_mountp); in rebuild_lofs_cache()
133 if ((pn->pn_path = strdup(path)) == NULL) { in pn_push()
251 if ((P->zoneroot = strdup("")) == NULL) { in Pzoneroot()
261 if ((P->zoneroot = strdup("")) == NULL) { in Pzoneroot()
274 if ((P->zoneroot = strdup("")) == NULL) { in Pzoneroot()
287 if ((P->zoneroot = strdup(zpath)) == NULL) { in Pzoneroot()
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Ddevice.c633 map[drive] = strdup (ptr); in read_device_map()
701 (*map)[i] = strdup (name); in init_device_map()
724 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
751 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
771 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
791 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
820 (*map)[num_hd + 0x80] = strdup (name); in init_device_map()
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-device.c220 device_names[0] = strdup(udi); in dump_devices()
363 new_dev.udi = strdup(udi); in add_udi()
371 new_dev.real_udi = strdup(new_dev.udi); in add_udi()
481 p->key = strdup(key); in process_property()
494 p->v.str_value = strdup(s_val); in process_property()
506 p->v.strlist_value[len] = strdup(s_val); in process_property()
627 nd->udi = strdup(udi2); in add_properties()
/illumos-gate/usr/src/cmd/man/
H A Dman.c396 if ((pv[0] = strdup(argv[i])) == NULL) in main()
434 if ((page = strdup(argv[i])) == NULL) in main()
638 if ((tmp = strdup(*dv + 3)) == NULL) in get_all_sect()
647 if ((prev = strdup(*dv + 3)) == NULL) in get_all_sect()
650 if ((*p = strdup(*dv + 3)) == NULL) in get_all_sect()
715 if ((*dv = strdup(d->d_name + 3)) == NULL) in getdirs()
848 if ((*vp = strdup(mp)) == NULL) in split()
1139 if ((*dv = strdup(d->d_name)) == NULL) in sortdir()
1182 if ((pname = strdup(sd->d_name)) == NULL) in searchdir()
1199 if ((upper = strdup(pname)) == NULL) { in searchdir()
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Denvironment.c88 ev->ev_name = strdup(name); in env_setenv()
126 ev->ev_value = strdup(value); in env_setenv()
165 copy = strdup(string); in putenv()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dprogerr.c61 if ((name = strdup(name)) == NULL) { in set_prog_name()
188 if ((tmp = strdup(str)) == NULL) { in xstrdup()
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dmain.c1218 arg[nargs++] = strdup(path); in pkgZoneCheckRemove()
1325 arg[nargs++] = strdup(zn); in pkgZoneCheckRemove()
1336 arg[nargs++] = strdup(zn); in pkgZoneCheckRemove()
1342 arg[nargs++] = strdup(zn); in pkgZoneCheckRemove()
1441 arg[nargs++] = strdup(path); in pkgZoneRemove()
1551 arg[nargs++] = strdup(zn); in pkgZoneRemove()
1562 arg[nargs++] = strdup(zn); in pkgZoneRemove()
1568 arg[nargs++] = strdup(zn); in pkgZoneRemove()
1671 arg[nargs++] = strdup(path); in pkgRemove()
1772 arg[nargs++] = strdup(zn); in pkgRemove()
[all …]
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drup.c488 extern char *strdup();
492 nnp->nc_netid = strdup(onp->nc_netid);
495 nnp->nc_protofmly = strdup(onp->nc_protofmly);
496 nnp->nc_proto = strdup(onp->nc_proto);
497 nnp->nc_device = strdup(onp->nc_device);
509 strdup(onp->nc_lookups[i]);
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dksmb.c101 newpw = strdup(buf); in main()
114 newpw = strdup(newpw); in main()
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dmdescplugin.c184 lookup.path = strdup(path); in dsc_handler()
197 (void *)strdup(CONFIGURED), PICL_PROPNAMELEN_MAX); in dsc_handler()
200 (void *)strdup(UNCONFIGURED), PICL_PROPNAMELEN_MAX); in dsc_handler()
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_mount.c322 disable_reason = strdup(disable_reason);
323 reject_reason = strdup(reject_reason);
324 cur_pwheel = strdup(cur_pwheel);
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_realm.c390 rparams->containerref = strdup(argv[i]);
1033 oldsubtrees[k] = strdup(rparams->subtree[k]);
1082 rparams->containerref = strdup(argv[i]);
1127 oldkdcdns[j] = strdup(rparams->kdcservers[j]);
1169 oldkdcdns[j] = strdup(rparams->kdcservers[j]);
1200 oldkdcdns[j] = strdup(rparams->kdcservers[j]);
1374 oldpwddns[j] = strdup(rparams->passwdservers[j]);
1417 oldpwddns[j] = strdup(rparams->passwdservers[j]);
1448 oldpwddns[j] = strdup(rparams->passwdservers[j]);
1509 oldsubtrees[i] = strdup(rparams->subtree[i]);
[all …]

12345678910>>...53