bin/date/date.c
392
if ((newformat = strdup(format)) == NULL)
bin/dd/args.c
112
if ((oper = strdup(oper)) == NULL)
bin/df/df.c
668
listptr[cnt++] = strdup(xvfsp->vfc_name);
bin/expr/expr.y
137
if (vp == NULL || ((vp->u.s = strdup(s)) == NULL))
bin/ls/ls.c
902
flags = strdup("-");
bin/ls/ls.c
959
labelstr = strdup("-");
bin/pax/ar_io.c
1215
if ((arcbuf = strdup(buf)) == NULL) {
bin/pax/options.c
1364
if ((lstr = strdup(str)) == NULL) {
bin/pax/pat_rep.c
321
if ((pt->pstr = strdup(arcn->name)) == NULL) {
bin/pax/tables.c
187
if ((pt->name = strdup(arcn->name)) != NULL) {
bin/pax/tables.c
536
if ((pt->nname = strdup(nname)) == NULL) {
bin/pax/tables.c
548
if ((pt->oname = strdup(oname)) != NULL) {
bin/pax/tables.c
549
if ((pt->nname = strdup(nname)) != NULL) {
bin/pax/tables.c
982
if ((pt->name = strdup(fname)) != NULL) {
bin/pkill/pkill.c
818
li->li_name = strdup(sp);
bin/ps/keyword.c
402
cp = copy = strdup(p);
bin/ps/keyword.c
460
hdr_p = strdup(hdr_p);
bin/ps/print.c
123
str = strdup(k->ki_p->ki_comm);
bin/ps/print.c
180
str = strdup(k->ki_p->ki_comm);
bin/ps/print.c
194
str = strdup(" ");
bin/ps/print.c
205
return (strdup(k->ki_p->ki_login));
bin/ps/print.c
305
return (strdup(user_from_uid(k->ki_p->ki_uid, 0)));
bin/ps/print.c
312
return (strdup(group_from_gid(k->ki_p->ki_groups[0], 0)));
bin/ps/print.c
319
return (strdup(group_from_gid(k->ki_p->ki_rgid, 0)));
bin/ps/print.c
326
return (strdup(user_from_uid(k->ki_p->ki_ruid, 0)));
bin/ps/print.c
337
str = strdup("-");
bin/ps/print.c
352
str = strdup("- ");
bin/ps/print.c
376
return (strdup(ttname));
bin/ps/print.c
431
str = strdup(k->ki_p->ki_lockname);
bin/ps/print.c
433
str = strdup("???");
bin/ps/print.c
447
str = strdup(k->ki_p->ki_wmesg);
bin/ps/print.c
476
str = strdup(k->ki_p->ki_wmesg);
bin/ps/print.c
481
str = strdup(k->ki_p->ki_lockname);
bin/ps/print.c
483
str = strdup("???");
bin/ps/print.c
819
return (strdup(k->ki_p->ki_emul));
bin/ps/print.c
854
return (strdup("-"));
bin/ps/print.c
856
return (strdup(k->ki_p->ki_loginclass));
bin/ps/print.c
865
return (strdup("-"));
bin/ps/print.c
868
return (strdup("-"));
bin/ps/ps.c
1365
ki->ki_args = strdup("<defunct>");
bin/setfacl/setfacl.c
106
files_list[i] = strdup(filename);
bin/sh/histedit.c
627
if ((free_path = path = strdup(pathval())) == NULL)
bin/sh/histedit.c
656
strdup(entry->d_name));
bin/sh/histedit.c
676
rmatches = add_match(matches, ++i, &size, strdup(ap->name));
bin/sh/histedit.c
686
rmatches = add_match(matches, ++i, &size, strdup(e.cmdname));
bin/sh/histedit.c
727
matches[0] = strdup(matches[1]);
bin/sh/histedit.c
731
matches[0] = strdup(text);
crypto/heimdal/admin/change.c
61
conf.realm = strdup(realm);
crypto/heimdal/admin/change.c
70
conf.admin_server = strdup(admin_server);
crypto/heimdal/admin/get.c
50
conf.realm = strdup(realm);
crypto/heimdal/appl/afsutil/afslog.c
157
p->cell = strdup(c);
crypto/heimdal/appl/afsutil/pagsh.c
174
path = strdup(pw->pw_shell);
crypto/heimdal/appl/afsutil/pagsh.c
177
path = strdup(*argv++);
crypto/heimdal/appl/afsutil/pagsh.c
184
args[i] = strdup(p+1);
crypto/heimdal/appl/afsutil/pagsh.c
186
args[i] = strdup(path);
crypto/heimdal/appl/ftp/ftp/cmds.c
156
cp = strdup(reply_string + 4);
crypto/heimdal/appl/ftp/ftp/cmds.c
1578
*cpp = strdup(gl.gl_pathv[0]); /* XXX - wasted memory */
crypto/heimdal/appl/ftp/ftp/main.c
243
return strdup(buf);
crypto/heimdal/appl/ftp/ftp/ruserpass.c
167
*aname = strdup(tokval);
crypto/heimdal/appl/ftp/ftp/ruserpass.c
183
*apass = strdup(tokval);
crypto/heimdal/appl/ftp/ftp/ruserpass.c
194
*aacct = strdup(tokval);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2689
(yyval.s) = strdup(gl.gl_pathv[0]);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3414
p = strdup(s);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1361
p = strdup(s);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
851
$$ = strdup(gl.gl_pathv[0]);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
430
char *new = strdup(s);
crypto/heimdal/appl/ftp/ftpd/ls.c
225
file->user = strdup(pwd->pw_name);
crypto/heimdal/appl/ftp/ftpd/ls.c
238
file->group = strdup(grp->gr_name);
crypto/heimdal/appl/ftp/ftpd/ls.c
276
file->date = strdup(buf);
crypto/heimdal/appl/ftp/ftpd/ls.c
292
file->filename = strdup(p);
crypto/heimdal/appl/ftp/ftpd/ls.c
303
file->link = strdup(buf);
crypto/heimdal/appl/ftp/ftpd/ls.c
429
path_bkp = strdup (file);
crypto/heimdal/appl/ftp/ftpd/popen.c
152
gargv[gargc++] = strdup(argv[argc]);
crypto/heimdal/appl/ftp/ftpd/popen.c
157
gargv[gargc++] = strdup(*pop);
crypto/heimdal/appl/rsh/rsh.c
626
res = strdup(as);
crypto/heimdal/appl/su/su.c
127
info->pw_name = strdup(pwd->pw_name);
crypto/heimdal/appl/su/su.c
128
info->pw_passwd = strdup(pwd->pw_passwd);
crypto/heimdal/appl/su/su.c
131
info->pw_dir = strdup(pwd->pw_dir);
crypto/heimdal/appl/su/su.c
132
info->pw_shell = strdup(pwd->pw_shell);
crypto/heimdal/appl/telnet/libtelnet/misc.c
78
UserNameRequested = name ? strdup(name) : 0;
crypto/heimdal/appl/telnet/telnet/commands.c
1631
ep->var = (unsigned char *)strdup((char *)var);
crypto/heimdal/appl/telnet/telnet/commands.c
1632
ep->value = (unsigned char *)strdup((char *)value);
crypto/heimdal/appl/telnet/telnet/commands.c
2083
user = strdup(*argv++);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1362
addarg(&argv, strdup(user));
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1401
if((argv->argv[argv->argc++] = strdup(val)) == NULL)
crypto/heimdal/appl/test/gssapi_client.c
52
input_token->value = strdup("hej");
crypto/heimdal/appl/test/nt_gss_client.c
127
input_token->value = strdup("hej");
crypto/heimdal/appl/test/nt_gss_server.c
144
output_token->value = strdup ("hejsan");
crypto/heimdal/appl/test/nt_gss_server.c
148
output_token->value = strdup ("hoppsan");
crypto/heimdal/kadmin/check.c
118
realm = strdup(argv[0]);
crypto/heimdal/kadmin/check.c
191
p2 = strdup(realm);
crypto/heimdal/kadmin/get.c
147
s = strdup("");
crypto/heimdal/kadmin/get.c
149
s = strdup("()");
crypto/heimdal/kadmin/get.c
92
f->header = strdup(header);
crypto/heimdal/kadmin/kadm_conn.c
56
p->port = strdup(service);
crypto/heimdal/kadmin/util.c
534
princs[0] = strdup(exp_str);
crypto/heimdal/kcm/cache.c
305
slot->name = strdup(name);
crypto/heimdal/kcm/cache.c
672
name = strdup(p->name);
crypto/heimdal/kcm/config.c
182
system_user = strdup(pw->pw_name);
crypto/heimdal/kcm/protocol.c
1142
c->name = strdup(name);
crypto/heimdal/kcm/protocol.c
1148
c->name = strdup(name);
crypto/heimdal/kdc/announce.c
174
e->domain = strdup(domain);
crypto/heimdal/kdc/announce.c
175
e->realm = strdup(realm);
crypto/heimdal/kdc/config.c
219
port_str = strdup(p);
crypto/heimdal/kdc/connect.c
171
char *str_copy = strdup (str);
crypto/heimdal/kdc/default_config.c
262
strdup("O=System Identity,CN=com.apple.kerberos.kdc");
crypto/heimdal/kdc/default_config.c
263
config->pkinit_kdc_identity = strdup("KEYCHAIN:");
crypto/heimdal/kdc/default_config.c
266
config->pkinit_kdc_anchors = strdup("KEYCHAIN:");
crypto/heimdal/kdc/digest.c
1428
r.u.error.reason = strdup("unknown error");
crypto/heimdal/kdc/digest.c
88
targetname = strdup(krb5_principal_get_realm(context,
crypto/heimdal/kdc/hpropd.c
271
s = strdup(unparseable_name);
crypto/heimdal/kdc/kerberos5.c
235
pn->name_string.val[0] = strdup("anonymous");
crypto/heimdal/kdc/krb5tgs.c
1418
*ref.referred_realm = strdup(referred_realm);
crypto/heimdal/kdc/krb5tgs.c
1635
ref_realm = strdup(new_rlm);
crypto/heimdal/kdc/krb5tgs.c
1655
ref_realm = strdup(realms[0]);
crypto/heimdal/kdc/krb5tgs.c
674
realms[num_realms] = strdup(tgt_realm);
crypto/heimdal/kdc/pkinit.c
1725
*subject_name = strdup("anonymous client client");
crypto/heimdal/kdc/pkinit.c
1864
principal_mappings.val[principal_mappings.len].subject = strdup(subject);
crypto/heimdal/kuser/klist.c
500
def_name = strdup(cdef_name);
crypto/heimdal/kuser/kswitch.c
50
return strdup(buf);
crypto/heimdal/lib/asn1/der_copy.c
44
*to = strdup(*from);
crypto/heimdal/lib/asn1/der_format.c
145
s = strdup(str);
crypto/heimdal/lib/asn1/gen.c
123
headerbase = strdup(base);
crypto/heimdal/lib/asn1/gen.c
451
gen_upper = strdup(s->gen_name);
crypto/heimdal/lib/asn1/gen.c
692
*newbasename = strdup(name);
crypto/heimdal/lib/asn1/gen_template.c
230
return strdup("0");
crypto/heimdal/lib/asn1/gen_template.c
271
tl->name = strdup(name);
crypto/heimdal/lib/asn1/gen_template.c
423
q->offset = strdup(offset);
crypto/heimdal/lib/asn1/gen_template.c
424
q->ptr = strdup(ptr);
crypto/heimdal/lib/asn1/gen_template.c
606
newbasename = strdup(basetype);
crypto/heimdal/lib/asn1/gen_template.c
668
sename = strdup(symbol_name(basetype, t->subtype));
crypto/heimdal/lib/asn1/gen_template.c
721
newbasename = strdup(basetype);
crypto/heimdal/lib/asn1/main.c
163
arg[len] = strdup(buf);
crypto/heimdal/lib/com_err/lex.c
1874
yylval.string = strdup(x);
crypto/heimdal/lib/com_err/lex.c
863
{ yylval.string = strdup(yytext); return STRING; }
crypto/heimdal/lib/gssapi/krb5/ccache_name.c
63
last_out_name = strdup(n);
crypto/heimdal/lib/gssapi/krb5/display_status.c
176
buf = strdup(buf2);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
157
name->value = strdup(m->gm_mo[n].name);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
63
value->value = strdup((char *)mo->ctx);
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
206
n->user = strdup(type3.username);
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
207
n->domain = strdup(type3.targetname);
crypto/heimdal/lib/gssapi/ntlm/creds.c
59
n->user = strdup(c->username);
crypto/heimdal/lib/gssapi/ntlm/creds.c
60
n->domain = strdup(c->domain);
crypto/heimdal/lib/gssapi/ntlm/import_name.c
96
n->user = strdup(name);
crypto/heimdal/lib/gssapi/ntlm/import_name.c
97
n->domain = strdup(p);
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
182
cred->domain = strdup(target_name->domain);
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
194
(*to)->username = strdup(from->username);
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
199
(*to)->domain = strdup(from->domain);
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
64
*username = strdup(u);
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
125
*nt.u.negTokenInit.negHints->hintName = strdup("not_defined_in_RFC4178@please_ignore");
crypto/heimdal/lib/gssapi/test_ntlm.c
193
type1.domain = strdup(domain);
crypto/heimdal/lib/gssapi/test_ntlm.c
67
type1.domain = strdup(domain);
crypto/heimdal/lib/hdb/db.c
171
db->hdb_name = strdup(new_name);
crypto/heimdal/lib/hdb/db.c
309
(*db)->hdb_name = strdup(filename);
crypto/heimdal/lib/hdb/db3.c
168
db->hdb_name = strdup(new_name);
crypto/heimdal/lib/hdb/db3.c
339
(*db)->hdb_name = strdup(filename);
crypto/heimdal/lib/hdb/dbinfo.c
143
di->label = strdup("default");
crypto/heimdal/lib/hdb/dbinfo.c
148
di->dbname = strdup(default_dbname);
crypto/heimdal/lib/hdb/dbinfo.c
150
di->mkey_file = strdup(default_mkey);
crypto/heimdal/lib/hdb/dbinfo.c
164
di->acl_file = strdup(default_acl);
crypto/heimdal/lib/hdb/dbinfo.c
67
di->label = strdup(label);
crypto/heimdal/lib/hdb/dbinfo.c
68
di->dbname = strdup(p);
crypto/heimdal/lib/hdb/dbinfo.c
72
di->realm = strdup(p);
crypto/heimdal/lib/hdb/dbinfo.c
75
di->mkey_file = strdup(p);
crypto/heimdal/lib/hdb/dbinfo.c
78
di->acl_file = strdup(p);
crypto/heimdal/lib/hdb/dbinfo.c
81
di->log_file = strdup(p);
crypto/heimdal/lib/hdb/ext.c
323
*p = strdup(xstr);
crypto/heimdal/lib/hdb/hdb-keytab.c
201
k->path = strdup(arg);
crypto/heimdal/lib/hdb/hdb-ldap.c
1822
structural_object = strdup(p);
crypto/heimdal/lib/hdb/hdb-ldap.c
1857
h->h_url = strdup(url);
crypto/heimdal/lib/hdb/hdb-ldap.c
1858
h->h_base = strdup(search_base);
crypto/heimdal/lib/hdb/hdb-ldap.c
1871
h->h_createbase = strdup(create_base);
crypto/heimdal/lib/hdb/hdb-mitdb.c
650
db->hdb_name = strdup(new_name);
crypto/heimdal/lib/hdb/hdb-mitdb.c
898
(*db)->hdb_name = strdup(filename);
crypto/heimdal/lib/hdb/hdb-sqlite.c
285
hsdb->db_file = strdup(filename);
crypto/heimdal/lib/hdb/keys.c
168
salt->saltvalue.data = strdup(buf[i]);
crypto/heimdal/lib/hdb/keys.c
188
salt->saltvalue.data = strdup(realm);
crypto/heimdal/lib/hdb/keytab.c
154
*dbname = strdup(p);
crypto/heimdal/lib/hdb/keytab.c
157
*mkey = strdup(p);
crypto/heimdal/lib/hdb/keytab.c
163
*dbname = strdup(HDB_DEFAULT_DB);
crypto/heimdal/lib/hdb/keytab.c
72
d->dbname = strdup(name);
crypto/heimdal/lib/hdb/keytab.c
90
d->mkey = strdup(mkey + 5);
crypto/heimdal/lib/hdb/ndbm.c
219
db->hdb_name = strdup(new_name);
crypto/heimdal/lib/hdb/ndbm.c
361
(*db)->hdb_name = strdup(filename);
crypto/heimdal/lib/hx509/ca.c
638
q = s = strdup(principal);
crypto/heimdal/lib/hx509/cert.c
2616
cert->friendlyname = strdup(name);
crypto/heimdal/lib/hx509/cert.c
2811
q->friendlyname = strdup(name);
crypto/heimdal/lib/hx509/cert.c
3110
context->querystat = strdup(fn);
crypto/heimdal/lib/hx509/env.c
120
n->name = strdup(key);
crypto/heimdal/lib/hx509/env.c
69
n->name = strdup(key);
crypto/heimdal/lib/hx509/env.c
74
n->u.string = strdup(value);
crypto/heimdal/lib/hx509/error.c
169
return strdup(cstr);
crypto/heimdal/lib/hx509/error.c
172
return strdup(cstr);
crypto/heimdal/lib/hx509/file.c
131
h->header = strdup(header);
crypto/heimdal/lib/hx509/file.c
136
h->value = strdup(value);
crypto/heimdal/lib/hx509/file.c
218
type = strdup(buf + 11);
crypto/heimdal/lib/hx509/hxtool.c
232
char *s = strdup(argv[0]);
crypto/heimdal/lib/hx509/keyset.c
135
type = strdup("MEMORY");
crypto/heimdal/lib/hx509/ks_dir.c
80
*data = strdup(residue);
crypto/heimdal/lib/hx509/ks_file.c
214
type = strdup(dek);
crypto/heimdal/lib/hx509/ks_file.c
399
ksf->fn = strdup(residue);
crypto/heimdal/lib/hx509/ks_mem.c
62
mem->name = strdup(residue);
crypto/heimdal/lib/hx509/ks_p11.c
485
slot->pin = strdup(pin);
crypto/heimdal/lib/hx509/ks_p11.c
840
list = strdup(residue);
crypto/heimdal/lib/hx509/ks_p12.c
351
p12->fn = strdup(residue);
crypto/heimdal/lib/hx509/lock.c
92
s = strdup(password);
crypto/heimdal/lib/hx509/name.c
152
return strdup(no[i].n);
crypto/heimdal/lib/hx509/name.c
207
*str = strdup("");
crypto/heimdal/lib/hx509/name.c
551
rdn->val[0].value.u.utf8String = strdup(str);
crypto/heimdal/lib/hx509/print.c
203
*s = strdup(buf);
crypto/heimdal/lib/hx509/revoke.c
1091
ocsp.path = strdup(path);
crypto/heimdal/lib/hx509/revoke.c
434
ctx->ocsps.val[ctx->ocsps.len].path = strdup(path);
crypto/heimdal/lib/hx509/revoke.c
641
ctx->crls.val[ctx->crls.len].path = strdup(path);
crypto/heimdal/lib/hx509/sel.c
231
_hx509_expr_input.error = strdup(s);
crypto/heimdal/lib/hx509/softp11.c
826
fn = strdup(fn);
crypto/heimdal/lib/hx509/softp11.c
838
fn = strdup("/etc/soft-token.rc");
crypto/heimdal/lib/ipc/client.c
81
ipc->name = strdup(service);
crypto/heimdal/lib/ipc/ts-http.c
69
rep.data = strdup("hej");
crypto/heimdal/lib/kadm5/ad.c
1101
s = strdup(p);
crypto/heimdal/lib/kadm5/ad.c
1380
ctx->realm = strdup(realm_params->realm);
crypto/heimdal/lib/kadm5/ad.c
1390
ctx->client_name = strdup(client_name);
crypto/heimdal/lib/kadm5/ad.c
304
servers[num_servers - 1].server = strdup(rr->u.srv->target);
crypto/heimdal/lib/kadm5/ad.c
385
context->base_dn = strdup(vals[0]);
crypto/heimdal/lib/kadm5/ad.c
471
*name = strdup(vals[0]);
crypto/heimdal/lib/kadm5/ad.c
622
realmless_p = strdup(p);
crypto/heimdal/lib/kadm5/ad.c
644
short_spn = strdup(p);
crypto/heimdal/lib/kadm5/ad.c
657
p_msrealm = strdup(p);
crypto/heimdal/lib/kadm5/context_s.c
101
ctx->config.dbname = strdup(p);
crypto/heimdal/lib/kadm5/context_s.c
105
ctx->config.acl_file = strdup(p);
crypto/heimdal/lib/kadm5/context_s.c
109
ctx->config.stash_file = strdup(p);
crypto/heimdal/lib/kadm5/context_s.c
113
ctx->log_context.log_file = strdup(p);
crypto/heimdal/lib/kadm5/context_s.c
122
ctx->config.dbname = strdup(hdb_default_db(context));
crypto/heimdal/lib/kadm5/context_s.c
153
(*ctx)->config.realm = strdup(params->realm);
crypto/heimdal/lib/kadm5/context_s.c
157
(*ctx)->config.dbname = strdup(params->dbname);
crypto/heimdal/lib/kadm5/context_s.c
159
(*ctx)->config.acl_file = strdup(params->acl_file);
crypto/heimdal/lib/kadm5/context_s.c
161
(*ctx)->config.stash_file = strdup(params->stash_file);
crypto/heimdal/lib/kadm5/init_c.c
103
(*ctx)->admin_server = strdup(*hostlist);
crypto/heimdal/lib/kadm5/init_c.c
589
ctx->client_name = strdup(client_name);
crypto/heimdal/lib/kadm5/init_c.c
593
ctx->service_name = strdup(service_name);
crypto/heimdal/lib/kadm5/init_c.c
83
(*ctx)->realm = strdup(params->realm);
crypto/heimdal/lib/kadm5/init_c.c
93
(*ctx)->admin_server = strdup(params->admin_server);
crypto/heimdal/lib/kafs/afskrb5.c
119
c = strdup(cell);
crypto/heimdal/lib/kafs/afskrb5.c
244
r = strdup(realms[0]);
crypto/heimdal/lib/kafs/afssys.c
202
afs_ioctlpath = strdup(path);
crypto/heimdal/lib/kafs/afssys.c
485
char *s = strdup (env);
crypto/heimdal/lib/kafs/common.c
200
(*cells)[ind] = strdup(cell);
crypto/heimdal/lib/krb5/acache.c
448
a->cache_name = strdup(name->data);
crypto/heimdal/lib/krb5/acl.c
128
*field->u.retv = strdup(string);
crypto/heimdal/lib/krb5/appdefault.c
117
*ret_val = strdup(def_val);
crypto/heimdal/lib/krb5/asn1_glue.c
64
p->realm = strdup(realm);
crypto/heimdal/lib/krb5/cache.c
512
p = strdup(e);
crypto/heimdal/lib/krb5/cache.c
515
context->default_cc_name_env = strdup(e);
crypto/heimdal/lib/krb5/cache.c
553
p = strdup(name);
crypto/heimdal/lib/krb5/cache.c
990
p = strdup(prefix);
crypto/heimdal/lib/krb5/config_file.c
234
tmp->u.string = strdup(p1);
crypto/heimdal/lib/krb5/config_file.c
254
return strdup(str);
crypto/heimdal/lib/krb5/config_file.c
588
d->name = strdup(c->name);
crypto/heimdal/lib/krb5/config_file.c
591
d->u.string = strdup(c->u.string);
crypto/heimdal/lib/krb5/config_file.c
934
char *tmp = strdup(p);
crypto/heimdal/lib/krb5/config_file.c
945
strings[nstr] = strdup(s);
crypto/heimdal/lib/krb5/config_file.c
98
(*q)->name = strdup(name);
crypto/heimdal/lib/krb5/context.c
504
p->default_cc_name = strdup(context->default_cc_name);
crypto/heimdal/lib/krb5/context.c
506
p->default_cc_name_env = strdup(context->default_cc_name_env);
crypto/heimdal/lib/krb5/context.c
719
fn = strdup(pq[i]);
crypto/heimdal/lib/krb5/copy_host_realm.c
68
(*to)[i] = strdup(*p);
crypto/heimdal/lib/krb5/crypto.c
668
*string = strdup(e->name);
crypto/heimdal/lib/krb5/deprecated.c
136
*string = strdup(name);
crypto/heimdal/lib/krb5/digest.c
1062
ntlm->request.username = strdup(username);
crypto/heimdal/lib/krb5/digest.c
1075
ntlm->request.targetname = strdup(targetname);
crypto/heimdal/lib/krb5/digest.c
122
digest->init.type = strdup(type);
crypto/heimdal/lib/krb5/digest.c
144
*digest->init.hostname = strdup(hostname);
crypto/heimdal/lib/krb5/digest.c
170
digest->request.serverNonce = strdup(nonce);
crypto/heimdal/lib/krb5/digest.c
194
digest->request.opaque = strdup(opaque);
crypto/heimdal/lib/krb5/digest.c
225
*digest->request.identifier = strdup(id);
crypto/heimdal/lib/krb5/digest.c
480
*digest->request.clientNonce = strdup(nonce);
crypto/heimdal/lib/krb5/digest.c
500
digest->request.digest = strdup(dgst);
crypto/heimdal/lib/krb5/digest.c
517
digest->request.username = strdup(username);
crypto/heimdal/lib/krb5/digest.c
539
*digest->request.authid = strdup(authid);
crypto/heimdal/lib/krb5/digest.c
583
*digest->request.realm = strdup(realm);
crypto/heimdal/lib/krb5/digest.c
608
*digest->request.method = strdup(method);
crypto/heimdal/lib/krb5/digest.c
632
*digest->request.uri = strdup(uri);
crypto/heimdal/lib/krb5/digest.c
658
*digest->request.nonceCount = strdup(nonce_count);
crypto/heimdal/lib/krb5/digest.c
682
*digest->request.qop = strdup(qop);
crypto/heimdal/lib/krb5/digest.c
697
digest->request.responseData = strdup(response);
crypto/heimdal/lib/krb5/digest.c
801
*type = strdup(digest->response.channel->cb_type);
crypto/heimdal/lib/krb5/digest.c
802
*binding = strdup(digest->response.channel->cb_binding);
crypto/heimdal/lib/krb5/digest.c
884
*ntlm->init.hostname = strdup(hostname);
crypto/heimdal/lib/krb5/digest.c
888
*ntlm->init.domain = strdup(domainname);
crypto/heimdal/lib/krb5/digest.c
94
digest->init.channel->cb_type = strdup(type);
crypto/heimdal/lib/krb5/digest.c
968
*name = strdup(ntlm->initReply.targetname);
crypto/heimdal/lib/krb5/digest.c
98
digest->init.channel->cb_binding = strdup(binding);
crypto/heimdal/lib/krb5/error_string.c
213
ret = strdup(context->error_string);
crypto/heimdal/lib/krb5/error_string.c
250
return strdup("Success");
crypto/heimdal/lib/krb5/error_string.c
266
str = strdup(context->error_string);
crypto/heimdal/lib/krb5/error_string.c
286
return strdup(cstr);
crypto/heimdal/lib/krb5/error_string.c
290
return strdup(cstr);
crypto/heimdal/lib/krb5/expand_hostname.c
41
*new_hostname = strdup (orig_hostname);
crypto/heimdal/lib/krb5/expand_hostname.c
85
*new_hostname = strdup (a->ai_canonname);
crypto/heimdal/lib/krb5/expand_path.c
120
*ret = strdup(path);
crypto/heimdal/lib/krb5/expand_path.c
217
*ret = strdup(strSid);
crypto/heimdal/lib/krb5/expand_path.c
262
*ret = strdup(path);
crypto/heimdal/lib/krb5/expand_path.c
276
*ret = strdup(postfix);
crypto/heimdal/lib/krb5/expand_path.c
292
*ret = strdup(p);
crypto/heimdal/lib/krb5/expand_path.c
294
*ret = strdup("/tmp");
crypto/heimdal/lib/krb5/expand_path.c
321
*ret = strdup("");
crypto/heimdal/lib/krb5/expand_path.c
411
*ppath_out = strdup("");
crypto/heimdal/lib/krb5/expand_path.c
452
append = strdup(path_left);
crypto/heimdal/lib/krb5/expand_path.c
71
*ret = strdup(tpath);
crypto/heimdal/lib/krb5/fcache.c
196
f->filename = strdup(res);
crypto/heimdal/lib/krb5/get_default_realm.c
75
res = strdup (context->default_realms[0]);
crypto/heimdal/lib/krb5/get_host_realm.c
197
(*realms)[0] = strdup(p);
crypto/heimdal/lib/krb5/get_host_realm.c
76
tmp = strdup(rr->u.txt);
crypto/heimdal/lib/krb5/init_creds_pw.c
1460
ctx->password = strdup(password);
crypto/heimdal/lib/krb5/kcm.c
151
k->name = strdup(name);
crypto/heimdal/lib/krb5/keytab_any.c
71
a->name = strdup(buf);
crypto/heimdal/lib/krb5/keytab_file.c
299
d->filename = strdup(name);
crypto/heimdal/lib/krb5/keytab_keyfile.c
116
d->realm = strdup (buf);
crypto/heimdal/lib/krb5/keytab_keyfile.c
149
d->filename = strdup (name);
crypto/heimdal/lib/krb5/keytab_keyfile.c
91
d->cell = strdup (buf);
crypto/heimdal/lib/krb5/keytab_memory.c
80
d->name = strdup(name);
crypto/heimdal/lib/krb5/krbhst.c
1053
if(((*hostlist)[nhost++] = strdup(host)) == NULL) {
crypto/heimdal/lib/krb5/krbhst.c
882
if((kd->realm = strdup(realm)) == NULL) {
crypto/heimdal/lib/krb5/log.c
129
f->program = strdup(program);
crypto/heimdal/lib/krb5/log.c
309
fn = strdup(p + 5);
crypto/heimdal/lib/krb5/log.c
341
ret = open_file(context, f, min, max, strdup(p + 7), "w", NULL, 0);
crypto/heimdal/lib/krb5/mcache.c
454
*str = strdup("MEMORY:");
crypto/heimdal/lib/krb5/mcache.c
78
m->name = strdup(name);
crypto/heimdal/lib/krb5/pkinit.c
2169
m1->name = strdup(p1);
crypto/heimdal/lib/krb5/pkinit.c
2402
*name = strdup(moduli[i]->name);
crypto/heimdal/lib/krb5/plugin.c
166
e->u.symbol.name = strdup(name);
crypto/heimdal/lib/krb5/principal.c
247
p = start = q = s = strdup(name);
crypto/heimdal/lib/krb5/principal.c
671
princ_realm(principal) = strdup(realm);
crypto/heimdal/lib/krb5/principal.c
818
princ_realm(p) = strdup(realm);
crypto/heimdal/lib/krb5/replay.c
46
id->name = strdup(name);
crypto/heimdal/lib/krb5/salt.c
57
*string = strdup (st->name);
crypto/heimdal/lib/krb5/scache.c
280
*str = strdup(name);
crypto/heimdal/lib/krb5/scache.c
315
s->name = strdup(SCACHE_DEF_NAME);
crypto/heimdal/lib/krb5/scache.c
317
s->name = strdup(name);
crypto/heimdal/lib/krb5/scache.c
322
s->file = strdup(file);
crypto/heimdal/lib/krb5/send_to_kdc.c
262
char *proxy2 = strdup(context->http_proxy);
crypto/heimdal/lib/krb5/set_default_realm.c
51
(*list)[0] = strdup (s);
crypto/heimdal/lib/krb5/transited.c
91
tmp->realm = strdup(p);
crypto/heimdal/lib/roken/base64-test.c
68
str = strdup(t->result);
crypto/heimdal/lib/roken/copyhostent.c
57
res->h_name = strdup (h->h_name);
crypto/heimdal/lib/roken/copyhostent.c
72
res->h_aliases[i] = strdup (h->h_aliases[i]);
crypto/heimdal/lib/roken/environment.c
111
l[idx] = strdup(p);
crypto/heimdal/lib/roken/environment.c
93
char *val = strdup(p);
crypto/heimdal/lib/roken/estrdup.c
48
char *tmp = strdup (str);
crypto/heimdal/lib/roken/getaddrinfo.c
252
canonname = strdup (tmp_canon);
crypto/heimdal/lib/roken/getifaddrs.c
1101
(*end)->ifa_name = strdup(ifr->lifr_name);
crypto/heimdal/lib/roken/getifaddrs.c
955
(*end)->ifa_name = strdup(ifr->ifr_name);
crypto/heimdal/lib/roken/hex-test.c
70
str = strdup(t->result);
crypto/heimdal/lib/roken/inet_pton.c
45
if (csrc == NULL || (src = strdup(csrc)) == NULL) {
crypto/heimdal/lib/roken/resolve.c
164
rr->domain = strdup(host);
crypto/heimdal/lib/roken/resolve.c
182
rr->u.txt = strdup(host);
crypto/heimdal/lib/roken/resolve.c
458
r->q.domain = strdup(host);
crypto/heimdal/lib/roken/resolve.c
718
rr->domain = strdup(pRec->pName);
crypto/heimdal/lib/roken/resolve.c
728
rr->u.txt = strdup(pRec->Data.NS.pNameHost);
crypto/heimdal/lib/roken/resolve.c
774
rr->u.txt = strdup("");
crypto/heimdal/lib/roken/resolve.c
894
r->q.domain = strdup(domain);
crypto/heimdal/lib/roken/roken_gethostby.c
101
*path = strdup(p);
crypto/heimdal/lib/roken/roken_gethostby.c
90
*host = strdup(spec);
crypto/heimdal/lib/roken/rtbl.c
135
col->header = strdup (header);
crypto/heimdal/lib/roken/rtbl.c
176
if((tmp[table->columns[c]->num_rows++].data = strdup("")) == NULL)
crypto/heimdal/lib/roken/rtbl.c
202
table->column_prefix = strdup (prefix);
crypto/heimdal/lib/roken/rtbl.c
213
table->column_separator = strdup (separator);
crypto/heimdal/lib/roken/rtbl.c
229
c->prefix = strdup (prefix);
crypto/heimdal/lib/roken/rtbl.c
248
c->prefix = strdup (prefix);
crypto/heimdal/lib/roken/rtbl.c
258
c->suffix = strdup (suffix);
crypto/heimdal/lib/roken/rtbl.c
291
row.data = strdup (data);
crypto/heimdal/lib/roken/setprogname.c
72
char * fn = strdup(p);
crypto/heimdal/lib/roken/socket_wrapper.c
1463
si->tmp_path = strdup(un_addr.sun_path);
crypto/heimdal/lib/roken/socket_wrapper.c
1853
si_newd->path = strdup(si_oldd->path);
crypto/heimdal/lib/roken/socket_wrapper.c
1855
si_newd->tmp_path = strdup(si_oldd->tmp_path);
crypto/heimdal/lib/roken/socket_wrapper.c
56
#ifdef strdup
crypto/heimdal/lib/roken/strpool.c
105
return strdup("");
crypto/heimdal/lib/roken/test-mem.c
88
testname = strdup(name); \
crypto/heimdal/lib/sl/sl.c
192
return strdup(buf);
crypto/heimdal/lib/sl/slc-gram.c
1836
f = strdup(a->u.value);
crypto/heimdal/lib/sl/slc-gram.c
2008
n = strdup(name->u.value);
crypto/heimdal/lib/sl/slc-gram.y
327
f = strdup(a->u.value);
crypto/heimdal/lib/sl/slc-gram.y
499
n = strdup(name->u.value);
crypto/heimdal/lib/sl/slc-lex.c
1859
return strdup(x);
crypto/heimdal/lib/sl/slc-lex.c
777
yylval.string = strdup ((const char *)yytext);
crypto/heimdal/lib/sl/test_sl.c
73
char *buf = strdup(lines[i].line);
crypto/krb5/src/appl/user_user/client.c
88
hname = strdup (host->h_name);
crypto/krb5/src/ccapi/common/cci_cred_union.c
658
compat_v5creds->client = strdup (v5creds->client);
crypto/krb5/src/ccapi/common/cci_cred_union.c
667
compat_v5creds->server = strdup (v5creds->server);
crypto/krb5/src/ccapi/common/cci_cred_union.c
753
v5creds->client = strdup (compat_v5creds->client);
crypto/krb5/src/ccapi/common/cci_cred_union.c
762
v5creds->server = strdup (compat_v5creds->server);
crypto/krb5/src/ccapi/common/cci_identifier.c
75
identifier->server_id = strdup (in_server_id);
crypto/krb5/src/ccapi/common/cci_identifier.c
80
identifier->object_id = strdup (in_object_id);
crypto/krb5/src/ccapi/lib/ccapi_ccache_iterator.c
277
new_saved_ccache_name = strdup (in_saved_ccache_name);
crypto/krb5/src/ccapi/lib/ccapi_string.c
69
string->data = strdup (in_cstring);
crypto/krb5/src/ccapi/lib/ccapi_v2.c
419
char *string = strdup (name->data);
crypto/krb5/src/ccapi/lib/ccapi_v2.c
518
char *string = strdup (principal->data);
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
461
name = strdup (k_cci_context_initial_ccache_name);
crypto/krb5/src/ccapi/server/ccs_ccache.c
154
v5_principal = strdup (in_principal);
crypto/krb5/src/ccapi/server/ccs_ccache.c
81
ccache->name = strdup (in_name);
crypto/krb5/src/ccapi/server/ccs_ccache.c
89
ccache->v5_principal = strdup (in_principal);
crypto/krb5/src/clients/ksu/main.c
862
target = strdup(defname);
crypto/krb5/src/include/k5-int.h
585
extern char *strdup (const char *);
crypto/krb5/src/include/win-mac.h
210
#ifndef strdup
crypto/krb5/src/kadmin/cli/keytab.c
93
name = strdup(name);
crypto/krb5/src/kadmin/server/auth.c
235
ent->policy = strdup(rs->policy);
crypto/krb5/src/kadmin/server/auth_acl.c
175
copy = strdup(str);
crypto/krb5/src/kadmin/server/auth_acl.c
208
rs->policy = strdup(arg);
crypto/krb5/src/kadmin/server/auth_acl.c
340
copy = strdup(line);
crypto/krb5/src/kdc/do_tgs_req.c
206
if (!(errpkt.text.data = strdup(status)))
crypto/krb5/src/kdc/kdc_util.c
872
copy = strdup(str);
crypto/krb5/src/kdc/main.c
184
*val_out = strdup((val1 != NULL) ? val1 : val2);
crypto/krb5/src/kdc/main.c
233
rdp->realm_name = strdup(realm);
crypto/krb5/src/kdc/main.c
249
rdp->realm_mpname = (def_mpname) ? strdup(def_mpname) :
crypto/krb5/src/kdc/main.c
250
strdup(KRB5_KDB_M_NAME);
crypto/krb5/src/kdc/main.c
263
rdp->realm_listen = strdup(def_listen);
crypto/krb5/src/kdc/main.c
278
rdp->realm_tcp_listen = strdup(def_tcp_listen);
crypto/krb5/src/kdc/main.c
656
def_listen = strdup(DEFAULT_KDC_PORTLIST);
crypto/krb5/src/kdc/main.c
768
def_listen = strdup(optarg);
crypto/krb5/src/kprop/kprop.c
344
dbpathname = strdup(data_fn);
crypto/krb5/src/kprop/kprop.c
563
error.text.data = strdup(text);
crypto/krb5/src/kprop/kpropd.c
1502
error.text.data = strdup(text);
crypto/krb5/src/lib/apputils/net-server.c
343
addr_copy = strdup(address);
crypto/krb5/src/lib/apputils/net-server.c
393
addresses_copy = strdup(addresses);
crypto/krb5/src/lib/gssapi/krb5/acquire_cred.c
110
new = strdup((char *)value->value);
crypto/krb5/src/lib/gssapi/krb5/disp_status.c
109
char *s = strdup(msg);
crypto/krb5/src/lib/gssapi/krb5/gssapi_krb5.c
263
*out_name = strdup(kg_ccache_name);
crypto/krb5/src/lib/gssapi/krb5/gssapi_krb5.c
271
*out_name = (def_name != NULL) ? strdup(def_name) : NULL;
crypto/krb5/src/lib/gssapi/krb5/gssapi_krb5.c
290
new_name = strdup(name);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
60
*string_out = strdup(k5_json_string_utf8(v));
crypto/krb5/src/lib/gssapi/krb5/naming_exts.c
70
name->service = strdup(service);
crypto/krb5/src/lib/gssapi/krb5/naming_exts.c
75
name->host = strdup(host);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
1558
if ((tmpStr = strdup(sharedPath)) != NULL) {
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
1565
aMech->kmodName = strdup(kernMod);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
1568
aMech->optionStr = strdup(modOptions);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
1582
aMech->uLibName = strdup(sharedPath);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
1583
aMech->mechNameStr = strdup(oidStr);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
1597
aMech->kmodName = strdup(kernMod);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
1600
aMech->optionStr = strdup(modOptions);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
435
modOptions = strdup(aMech->optionStr);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
617
new_cf->kmodName = strdup(template->kmodName);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
624
new_cf->uLibName = strdup(template->uLibName);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
631
new_cf->mechNameStr = strdup(template->mechNameStr);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
638
new_cf->optionStr = strdup(template->optionStr);
crypto/krb5/src/lib/kadm5/alt_prof.c
319
*param_out = strdup(param_in);
crypto/krb5/src/lib/kadm5/alt_prof.c
329
*param_out = strdup(default_value);
crypto/krb5/src/lib/kadm5/alt_prof.c
466
lrealm = params.realm = strdup(params_in->realm);
crypto/krb5/src/lib/kadm5/alt_prof.c
654
svalue = strdup(KRB5_DEFAULT_SUPPORTED_ENCTYPES);
crypto/krb5/src/lib/kadm5/clnt/client_init.c
584
ccname_orig = strdup(c_ccname_orig);
crypto/krb5/src/lib/kadm5/logger.c
505
log_control.log_whoami = strdup(whoami);
crypto/krb5/src/lib/kadm5/srv/server_init.c
40
handle->db_args[count] = strdup(db_args[count]);
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
138
if ((name = strdup(entry->name)) == NULL)
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
342
p->allowed_keysalts = strdup(entry->allowed_keysalts);
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
389
if ((entry->policy = strdup(t->name)) == NULL) {
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
408
entry->allowed_keysalts = strdup(t->allowed_keysalts);
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
610
adb.policy = strdup(entry->policy);
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
778
if ((entry->policy = strdup(adb.policy)) == NULL) {
crypto/krb5/src/lib/kadm5/str_conv.c
177
s = copy = strdup(spec);
crypto/krb5/src/lib/kadm5/str_conv.c
217
*outstr = strdup(s);
crypto/krb5/src/lib/kadm5/str_conv.c
334
p = copy = strdup(string);
crypto/krb5/src/lib/kdb/kdb5.c
2155
key = strdup(mapkey);
crypto/krb5/src/lib/kdb/kdb5.c
2156
val = strdup(mapval);
crypto/krb5/src/lib/kdb/kdb5.c
2188
*value_out = strdup(mapval);
crypto/krb5/src/lib/kdb/kdb5.c
231
result = strdup(value);
crypto/krb5/src/lib/kdb/kdb5.c
274
*libname_out = strdup(lib);
crypto/krb5/src/lib/krad/client.c
252
srv = strdup(remote);
crypto/krb5/src/lib/krad/remote.c
401
tmp->secret = strdup(secret);
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
112
residual_copy = strdup(residual);
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
213
*name_out = strdup(uuidstr);
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
260
dirname = strdup(defname + 4);
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
282
residual = strdup(defname + 4);
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
312
residual_copy = strdup(residual);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
672
data->filename = strdup(residual);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
851
data->filename = strdup(template);
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1109
residual_copy = strdup(residual);
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
646
residual_copy = strdup(residual);
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
786
*name_out = strdup(name);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
374
anchor_name = strdup(KRCC_LEGACY_ANCHOR);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
387
collection_name = strdup(residual);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
395
subsidiary_name = strdup(sep + 1);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
596
subsidiary_name = strdup((*collection_name == '\0') ? "tkt" :
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
691
*subsidiary_out = strdup(uniquename);
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
497
d->name = strdup(name);
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
296
name = strdup (ccstring->data);
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
364
name = strdup (residual);
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
899
name = strdup (ccstring->data);
crypto/krb5/src/lib/krb5/ccache/ccbase.c
225
pfx = strdup("FILE");
crypto/krb5/src/lib/krb5/ccache/ccselect_k5identity.c
146
return strdup(homedir);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
272
save_type=strdup(c_name);
crypto/krb5/src/lib/krb5/keytab/kt_file.c
207
data->name = strdup(name);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
211
data->name = strdup(name);
crypto/krb5/src/lib/krb5/keytab/ktbase.c
171
pfx = strdup("FILE");
crypto/krb5/src/lib/krb5/keytab/ktbase.c
177
pfx = strdup("FILE");
crypto/krb5/src/lib/krb5/krb/appdefault.c
110
*ret_value = strdup(nameval[0]);
crypto/krb5/src/lib/krb5/krb/appdefault.c
126
*ret_value = strdup(nameval[0]);
crypto/krb5/src/lib/krb5/krb/appdefault.c
167
*ret_value = strdup(default_value);
crypto/krb5/src/lib/krb5/krb/appdefault.c
74
*ret_value = strdup(nameval[0]);
crypto/krb5/src/lib/krb5/krb/appdefault.c
92
*ret_value = strdup(nameval[0]);
crypto/krb5/src/lib/krb5/krb/bld_princ.c
77
data[count].data = strdup(component);
crypto/krb5/src/lib/krb5/krb/chpw.c
503
msg = strdup(_("Try a more complex password, or contact your "
crypto/krb5/src/lib/krb5/krb/copy_ctx.c
101
strdup(ctx->os_context.default_ccname);
crypto/krb5/src/lib/krb5/krb/copy_ctx.c
110
nctx->plugin_base_dir = strdup(ctx->plugin_base_dir);
crypto/krb5/src/lib/krb5/krb/copy_ctx.c
87
nctx->err_fmt = strdup(ctx->err_fmt); /* It's OK if this fails */
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
1065
s = strdup(service);
crypto/krb5/src/lib/krb5/krb/gic_opt.c
197
pa->attr = strdup(attr);
crypto/krb5/src/lib/krb5/krb/gic_opt.c
200
pa->value = strdup(value);
crypto/krb5/src/lib/krb5/krb/gic_opt.c
244
p[i].attr = strdup(opte->preauth_data[i].attr);
crypto/krb5/src/lib/krb5/krb/gic_opt.c
245
p[i].value = strdup(opte->preauth_data[i].value);
crypto/krb5/src/lib/krb5/krb/gic_opt.c
289
opte->fast_ccache_name = strdup(ccache_name);
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
124
s = strdup(password);
crypto/krb5/src/lib/krb5/krb/libdef_parse.c
126
*ret_value = strdup(nameval[0]);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
597
pin = make_data(strdup(otppin), strlen(otppin));
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
70
str = strdup(k5_json_string_utf8(val));
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
797
value = make_data(strdup(otpvalue), strlen(otpvalue));
crypto/krb5/src/lib/krb5/krb/preauth_pkinit.c
69
data->identities[i]->identity = strdup(key);
crypto/krb5/src/lib/krb5/krb/recvauth.c
170
error.text.data = strdup(message);
crypto/krb5/src/lib/krb5/krb/response_items.c
139
ri->questions[ri->count] = strdup(question);
crypto/krb5/src/lib/krb5/krb/response_items.c
144
ri->challenges[ri->count] = strdup(challenge);
crypto/krb5/src/lib/krb5/krb/response_items.c
168
tmp = strdup(challenge);
crypto/krb5/src/lib/krb5/krb/response_items.c
203
tmp = strdup(answer);
crypto/krb5/src/lib/krb5/krb/set_realm.c
40
newrealm = strdup(realm);
crypto/krb5/src/lib/krb5/krb/t_copy_context.c
141
check((ctx->plugin_base_dir = strdup("/a/b/c/d")) != NULL);
crypto/krb5/src/lib/krb5/krb/t_etypes.c
197
copy = strdup(tests[i].str);
crypto/krb5/src/lib/krb5/os/ccdefname.c
222
context->os_context.default_ccname = strdup(buf);
crypto/krb5/src/lib/krb5/os/ccdefname.c
276
new_ccname = strdup(name);
crypto/krb5/src/lib/krb5/os/ccdefname.c
305
os_ctx->default_ccname = strdup(envstr);
crypto/krb5/src/lib/krb5/os/dnsglue.c
108
((_res.defdname == NULL) ? NULL : strdup(_res.defdname))
crypto/krb5/src/lib/krb5/os/dnsglue.c
429
*realm = strdup(rr->Data.TXT.pStringArray[0]);
crypto/krb5/src/lib/krb5/os/dnsglue.c
94
#define PRIMARY_DOMAIN(h) ((h.dnsrch[0] == NULL) ? NULL : strdup(h.dnsrch[0]))
crypto/krb5/src/lib/krb5/os/expand_path.c
118
*ret = strdup(path);
crypto/krb5/src/lib/krb5/os/expand_path.c
211
*ret = strdup(strSid);
crypto/krb5/src/lib/krb5/os/expand_path.c
258
*ret = strdup(path);
crypto/krb5/src/lib/krb5/os/expand_path.c
270
*ret = strdup(postfix);
crypto/krb5/src/lib/krb5/os/expand_path.c
284
*ret = strdup((p != NULL) ? p : "/tmp");
crypto/krb5/src/lib/krb5/os/expand_path.c
320
*str = strdup(pw->pw_name);
crypto/krb5/src/lib/krb5/os/expand_path.c
334
*ret = strdup(value);
crypto/krb5/src/lib/krb5/os/expand_path.c
348
*ret = strdup("");
crypto/krb5/src/lib/krb5/os/expand_path.c
481
extra_tokens[i] = strdup(va_arg(ap, const char *));
crypto/krb5/src/lib/krb5/os/expand_path.c
71
*ret = strdup(tpath);
crypto/krb5/src/lib/krb5/os/hostrealm.c
203
list[i] = strdup(in[i]);
crypto/krb5/src/lib/krb5/os/hostrealm.c
277
*hostname_out = strdup(ai->ai_canonname);
crypto/krb5/src/lib/krb5/os/hostrealm.c
292
cleanname = strdup(host);
crypto/krb5/src/lib/krb5/os/hostrealm.c
351
realms[0] = strdup(realm);
crypto/krb5/src/lib/krb5/os/hostrealm.c
482
*realm_out = strdup(realms[0]);
crypto/krb5/src/lib/krb5/os/hostrealm.c
511
*realm_out = strdup(context->default_realm);
crypto/krb5/src/lib/krb5/os/hostrealm.c
528
context->default_realm = strdup(realm);
crypto/krb5/src/lib/krb5/os/hostrealm_domain.c
62
uhost = strdup(host);
crypto/krb5/src/lib/krb5/os/init_os_ctx.c
247
name = strdup(env);
crypto/krb5/src/lib/krb5/os/init_os_ctx.c
357
newfiles[0] = strdup(file);
crypto/krb5/src/lib/krb5/os/ktdefname.c
42
*name_out = strdup(krb5_overridekeyname);
crypto/krb5/src/lib/krb5/os/ktdefname.c
46
*name_out = strdup(str);
crypto/krb5/src/lib/krb5/os/ktdefname.c
67
*name_out = strdup(str);
crypto/krb5/src/lib/krb5/os/localauth.c
242
type = strdup(value);
crypto/krb5/src/lib/krb5/os/localauth.c
250
residual = strdup(p + 1);
crypto/krb5/src/lib/krb5/os/localauth.c
336
*lname_out = strdup(lname);
crypto/krb5/src/lib/krb5/os/localauth_names.c
75
*lname_out = strdup(mapping_values[count - 1]);
crypto/krb5/src/lib/krb5/os/localauth_rule.c
150
current = strdup(string);
crypto/krb5/src/lib/krb5/os/locate_kdc.c
198
entry->hostname = strdup(hostname);
crypto/krb5/src/lib/krb5/os/locate_kdc.c
202
entry->uri_path = strdup(uri_path);
crypto/krb5/src/lib/krb5/os/realm_dom.c
54
*domain = strdup(temp_domain);
crypto/krb5/src/lib/krb5/os/sn2princ.c
129
copy = strdup(canonhost);
crypto/krb5/src/lib/krb5/os/sn2princ.c
208
canonhost = strdup(hostname);
crypto/krb5/src/lib/krb5/os/sn2princ.c
246
iter->realm = strdup(hrealms[0]);
crypto/krb5/src/lib/krb5/rcache/rc_base.c
97
rc->name = strdup(name);
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
231
*rcdata_out = strdup(residual);
crypto/krb5/src/plugins/certauth/test/main.c
169
ais[0] = strdup("test2");
crypto/krb5/src/plugins/certauth/test/main.c
170
ais[1] = strdup(name);
crypto/krb5/src/plugins/certauth/test/main.c
53
ais[0] = strdup("test1");
crypto/krb5/src/plugins/hostrealm/test/main.c
101
two = strdup("two");
crypto/krb5/src/plugins/hostrealm/test/main.c
131
a = strdup("a");
crypto/krb5/src/plugins/hostrealm/test/main.c
68
word = (q == NULL) ? strdup(p) : k5memdup0(p, q - p, &ret);
crypto/krb5/src/plugins/hostrealm/test/main.c
98
one = strdup("one");
crypto/krb5/src/plugins/kdb/db2/adb_openclose.c
134
lockp->lockinfo.filename = strdup(lockfilename);
crypto/krb5/src/plugins/kdb/db2/adb_openclose.c
175
db->filename = strdup(filename);
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
132
*val = strdup(input);
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
138
*val = strdup(pos + 1);
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
1494
dbc_real->db_name = strdup(dbc_temp->db_name);
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
1501
dbc_real->db_name = strdup(dbc_temp->db_name);
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
226
dbc->db_name = strdup(val);
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
264
dbc->db_name = strdup(pval);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c
110
str = strdup(buffer);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c
117
*plist = strdup(token);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c
265
policyparams->policy = strdup(argv[i]);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c
345
policy = strdup(argv[i]);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c
470
policy = strdup(argv[i]);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c
690
policy = strdup(argv[1]);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
428
rparams->containerref = strdup(argv[i]);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
492
rparams->realm_name = strdup(global_params.realm);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
524
ldap_context->container_dn = strdup(krb_location);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
555
ldap_context->lrparams->realm_name = strdup(global_params.realm);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
754
rparams->containerref = strdup(argv[i]);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
121
if (((file_name = strdup (argv[2])) == NULL) ||
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
122
((service_object = strdup (argv[3])) == NULL)) {
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
128
if (((file_name = strdup (argv[3])) == NULL) ||
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
129
((service_object = strdup (argv[1])) == NULL)) {
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
139
service_object = strdup (argv[1]);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
335
passwd = strdup(koptarg);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
420
conf_section = strdup(util_context->default_realm);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
422
conf_section = strdup(value);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
426
conf_section = strdup(value);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
518
ldap_context->server_info_list[0]->server_name = strdup(ldap_server);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
526
ldap_context->bind_dn = strdup(bind_dn);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_create.c
102
rparams->realm_name = strdup(context->default_realm);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1024
mod->mod_type = strdup(attribute);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1039
mod->mod_values[i] = strdup(values[i]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1059
mod->mod_type = strdup(attribute);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1090
return strdup(tmpbuf);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1103
mod->mod_type = strdup(attribute);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1288
*policy_dn = strdup("");
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
143
opt = strdup(input);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
159
val = strdup(pos);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1610
tl->tl_data_contents = (unsigned char *)strdup(a2d2[i]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
190
server->server_name = strdup(name);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
232
ctx->bind_dn = strdup(val);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
242
ctx->bind_pwd = strdup(val);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
249
ctx->sasl_mech = strdup(val);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
256
ctx->sasl_authcid = strdup(val);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
263
ctx->sasl_authzid = strdup(val);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
270
ctx->sasl_realm = strdup(val);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
322
ldap_context->conf_section = strdup(conf_section);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
542
subtarr[count] = strdup(subtree[count]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
549
subtarr[count] = strdup(realm_cont_dn);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
556
subtarr[count] = strdup(containerref);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
960
*str_out = strdup(values[0]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c
628
princstr = strdup(username);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1007
subtree = strdup(xargs.containerdn);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1013
subtree = strdup(ldap_context->lrparams->containerref);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1015
subtree = strdup(ldap_context->lrparams->realmdn);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
982
standalone_principal_dn = strdup(principal_dn);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
996
subtree = strdup(ldap_context->lrparams->realmdn);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c
253
pol_entry->name = strdup(pol_name);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
166
(*realms)[count] = strdup(values[0]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
768
rlparams->realm_name = strdup(lrealm);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
797
rlparams->subtree[x] = strdup(values[x]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
809
rlparams->containerref = strdup(values[0]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
238
if ((lpolicy->policy = strdup (policyname)) == NULL) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
478
if (((*list)[count] = strdup(dn)) == NULL) {
crypto/krb5/src/plugins/kdb/test/kdb_test.c
114
char *copy = strdup(s);
crypto/krb5/src/plugins/localauth/test/main.c
97
lname = strdup(residual == NULL ? "(null)" : residual);
crypto/krb5/src/plugins/preauth/otp/otp_state.c
152
name = strdup(DEFAULT_TYPE_NAME);
crypto/krb5/src/plugins/preauth/otp/otp_state.c
157
secret = strdup("");
crypto/krb5/src/plugins/preauth/otp/otp_state.c
189
name_copy = strdup(name);
crypto/krb5/src/plugins/preauth/otp/otp_state.c
204
server = strdup(pstr);
crypto/krb5/src/plugins/preauth/otp/otp_state.c
232
secret = strdup("");
crypto/krb5/src/plugins/preauth/otp/otp_state.c
392
indicators[i] = strdup(k5_json_string_utf8(obj));
crypto/krb5/src/plugins/preauth/otp/otp_state.c
432
username = strdup(k5_json_string_utf8(val));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1299
a[len] = strdup(addition);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1320
plgctx->idopts->identity = strdup(value);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
709
reqctx->idopts->identity = strdup(configured_identity);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1558
ctx->p11_module_name = strdup(PKCS11_MODNAME);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2422
strdup((char *)gen->d.dNSName->data);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3462
rdat.data = strdup(password);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4510
id_cryptoctx->p11_module_name = strdup(idopts->p11_module_name);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4515
id_cryptoctx->token_label = strdup(idopts->token_label);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4520
id_cryptoctx->cert_label = strdup(idopts->cert_label);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4952
idctx->identity = strdup(ci->name);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
148
newopts->identity = strdup(src_opts->identity);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
166
newopts->cert_filename = strdup(src_opts->cert_filename);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
172
newopts->key_filename = strdup(src_opts->key_filename);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
179
newopts->p11_module_name = strdup(src_opts->p11_module_name);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
187
newopts->token_label = strdup(src_opts->token_label);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
193
newopts->cert_id_string = strdup(src_opts->cert_id_string);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
199
newopts->cert_label = strdup(src_opts->cert_label);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
250
s = strdup(residual);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
260
idopts->p11_module_name = strdup(cp);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
268
idopts->p11_module_name = strdup(vp);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
284
idopts->token_label = strdup(vp);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
289
idopts->cert_id_string = strdup(vp);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
294
idopts->cert_label = strdup(vp);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
318
copy = strdup(residual);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
327
cert_filename = strdup(certname);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
331
key_filename = strdup((keyname != NULL) ? keyname : certname);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
360
idopts->cert_filename = strdup(residual);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
365
idopts->key_filename = strdup(residual);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
444
idopts->cert_filename = strdup(residual);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
67
newlist[i] = strdup(src[i]);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
697
tmp = password ? strdup(password) : NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
720
out[i]->identity = strdup(identity);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
725
out[i]->password = password ? strdup(password) : NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_matching.c
350
rc->regsrc = strdup(value);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_profile.c
160
*ret_value = strdup(values[0]);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_profile.c
318
*ret_value = strdup(values[0]);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1094
plgctx->realmname = strdup(realmname);
crypto/krb5/src/plugins/preauth/securid_sam2/securid2.c
382
securid_user = strdup(user);
crypto/krb5/src/plugins/preauth/test/cltest.c
216
st->indicators = strdup(value);
crypto/krb5/src/plugins/tls/k5tls/openssl.c
489
handle->servername = strdup(servername);
crypto/krb5/src/util/profile/prof_file.c
208
expanded_filename = strdup(filespec);
crypto/krb5/src/util/profile/prof_get.c
208
*ret_value = strdup(*vtvalues);
crypto/krb5/src/util/profile/prof_get.c
274
*ret_string = strdup(def_val);
crypto/krb5/src/util/profile/prof_get.c
549
name_copy = strdup(name);
crypto/krb5/src/util/profile/prof_get.c
554
value_copy = strdup(value);
crypto/krb5/src/util/profile/prof_get.c
89
newstr = strdup(str);
crypto/krb5/src/util/profile/prof_init.c
86
residual = strdup(p + 1);
crypto/krb5/src/util/profile/prof_parse.c
320
*ret_modspec = strdup(cp);
crypto/krb5/src/util/profile/prof_tree.c
104
new->value = strdup(value);
crypto/krb5/src/util/profile/prof_tree.c
126
node->name = strdup(oldnode->name);
crypto/krb5/src/util/profile/prof_tree.c
130
node->value = strdup(oldnode->value);
crypto/krb5/src/util/profile/prof_tree.c
687
cp = strdup(new_value);
crypto/krb5/src/util/profile/prof_tree.c
715
new_string = strdup(new_name);
crypto/krb5/src/util/profile/prof_tree.c
98
new->name = strdup(name);
crypto/krb5/src/util/profile/test_vtable.c
127
*ret_name = strdup("name1");
crypto/krb5/src/util/profile/test_vtable.c
128
*ret_value = strdup("value1");
crypto/krb5/src/util/profile/test_vtable.c
130
*ret_name = strdup("name2");
crypto/krb5/src/util/profile/test_vtable.c
51
(*ret_values)[0] = strdup("one");
crypto/krb5/src/util/profile/test_vtable.c
52
(*ret_values)[1] = strdup("two");
crypto/krb5/src/util/profile/test_vtable.c
73
(*ret_values)[0] = strdup("string result");
crypto/krb5/src/util/profile/test_vtable.c
75
(*ret_values)[0] = strdup("23");
crypto/krb5/src/util/profile/test_vtable.c
77
(*ret_values)[0] = strdup("on");
crypto/krb5/src/util/profile/testmod/testmod_main.c
47
(*ret_values)[0] = strdup(d->residual);
crypto/krb5/src/util/profile/testmod/testmod_main.c
78
new_data->residual = strdup(old_data->residual);
crypto/krb5/src/util/profile/testmod/testmod_main.c
95
d->residual = strdup(residual);
crypto/krb5/src/util/ss/error.c
43
return strdup(infop->subsystem_name);
crypto/krb5/src/util/ss/help.c
123
dirs[n_dirs] = strdup(info_dir);
crypto/krb5/src/util/ss/listen.c
49
return strdup(input);
crypto/krb5/src/util/support/dir_filenames.c
55
newlist[*n_fnames] = strdup(name);
crypto/krb5/src/util/support/errors.c
74
return oom_check(strdup(ep->msg));
crypto/krb5/src/util/support/errors.c
77
return oom_check(strdup(_("Kerberos library initialization failure")));
crypto/krb5/src/util/support/errors.c
83
return oom_check(strdup(_("Error code translation unavailable")));
crypto/krb5/src/util/support/errors.c
93
return oom_check(strdup(buf));
crypto/krb5/src/util/support/errors.c
96
r = strdup(r);
crypto/krb5/src/util/support/fake-addrinfo.c
1234
ai->ai_canonname = strdup(name2);
crypto/krb5/src/util/support/fake-addrinfo.c
577
entry->name = strdup(name);
crypto/krb5/src/util/support/fake-addrinfo.c
752
ce->canonname = ai->ai_canonname ? strdup(ai->ai_canonname) : 0;
crypto/krb5/src/util/support/fake-addrinfo.c
776
? strdup(ce->canonname)
crypto/krb5/src/util/support/fake-addrinfo.c
797
(*result)->ai_canonname = strdup (hp->h_name);
crypto/krb5/src/util/support/json.c
463
obj->entries[obj->len].key = strdup(key);
crypto/krb5/src/util/support/path.c
106
basename = strdup(bstart);
crypto/krb5/src/util/support/path.c
129
path = strdup(path2);
crypto/krb5/src/util/support/t_json.c
298
s = strdup(*tptr);
crypto/krb5/src/util/verto/module.c
55
return strdup("module loading disabled");
crypto/krb5/src/util/verto/verto.c
205
tmp = strdup(filename);
crypto/krb5/src/util/verto/verto.c
211
bn = strdup(bn);
crypto/krb5/src/util/verto/verto.c
243
*err = strdup("Invalid module version!");
crypto/krb5/src/util/verto/verto.c
259
*err = strdup("Module does not support required features!");
crypto/krb5/src/util/verto/verto.c
289
tmp->filename = strdup(filename);
crypto/krb5/src/util/verto/verto.c
416
tmp = strdup(prefix);
crypto/krb5/src/util/verto/verto.c
424
if (!suffix || strlen(suffix) < 1 || !(suffix = strdup(suffix))) {
crypto/krb5/src/util/verto/verto.c
447
tmp = strdup(prefix);
crypto/krb5/src/util/verto/verto.c
449
char *dname = strdup(dirname(tmp));
crypto/krb5/src/util/verto/verto.c
452
tmp = strdup(basename(prefix));
crypto/krb5/src/windows/leash/KrbListTickets.cpp
130
list->service = strdup(sServerName);
crypto/krb5/src/windows/leash/KrbListTickets.cpp
237
ticketinfo->principal = strdup(defname);
crypto/krb5/src/windows/leash/LeashView.cpp
731
char *ccache_name = strdup(elem->m_ccacheName);
crypto/krb5/src/windows/leash/LeashView.h
95
m_ccacheName(strdup(ccache_name)),
crypto/openssh/addrmatch.c
120
if ((o = list = strdup(_list)) == NULL)
crypto/openssh/addrmatch.c
60
if ((o = list = strdup(_list)) == NULL)
crypto/openssh/auth-options.c
282
if ((tmp = strdup(opt)) == NULL) {
crypto/openssh/auth-options.c
417
if ((cp = strdup(opt)) == NULL) {
crypto/openssh/auth-options.c
554
if (tmp != NULL && (ret->required_from_host_cert = strdup(tmp)) == NULL)
crypto/openssh/auth-options.c
559
if (tmp != NULL && (ret->required_from_host_keys = strdup(tmp)) == NULL)
crypto/openssh/auth-options.c
61
if ((dst[i] = strdup(src[i])) == NULL) {
crypto/openssh/auth-options.c
627
ret->force_command = strdup(primary->force_command);
crypto/openssh/auth-options.c
635
if ((ret->force_command = strdup(
crypto/openssh/auth-options.c
639
if ((ret->force_command = strdup(
crypto/openssh/auth-options.c
683
if (orig->x != NULL && (ret->x = strdup(orig->x)) == NULL) { \
crypto/openssh/auth-pam.c
1159
if ((reply[i].resp = strdup(input)) == NULL)
crypto/openssh/auth-pam.c
1313
if ((reply[i].resp = strdup(sshpam_password)) == NULL)
crypto/openssh/auth-pam.c
1326
if ((reply[i].resp = strdup("")) == NULL)
crypto/openssh/authfile.c
242
*commentp = strdup(*cp ?
crypto/openssh/cipher.c
222
if ((cipher_list = cp = strdup(names)) == NULL)
crypto/openssh/kex-names.c
171
if ((s = cp = strdup(names)) == NULL)
crypto/openssh/kex-names.c
209
return strdup(b);
crypto/openssh/kex-names.c
211
return strdup(a);
crypto/openssh/kex-names.c
215
if ((tmp = cp = strdup(b)) == NULL ||
crypto/openssh/kex-names.c
253
if ((*listp = strdup(def)) == NULL)
crypto/openssh/kex-names.c
295
if ((patterns = opatterns = strdup(list)) == NULL) {
crypto/openssh/krl.c
206
if ((krl->comment = strdup(comment)) == NULL)
crypto/openssh/krl.c
353
(rki->key_id = strdup(key_id)) == NULL) {
crypto/openssh/log.c
174
if ((log_verbose[nlog_verbose] = strdup(s)) != NULL)
crypto/openssh/mac.c
251
if ((maclist = cp = strdup(names)) == NULL)
crypto/openssh/match.c
325
char *orig_prop = strdup(proposal);
crypto/openssh/misc.c
625
p = os = strdup(s); /* deal with const */
crypto/openssh/misc.c
919
if ((sdup = tmp = strdup(s)) == NULL)
crypto/openssh/misc.c
926
if ((user = strdup(tmp)) == NULL)
crypto/openssh/openbsd-compat/bsd-misc.c
60
if ((q = strdup(p)) == NULL) {
crypto/openssh/openbsd-compat/getrrsetbyname.c
286
rrset->rri_name = strdup(response->answer->name);
crypto/openssh/openbsd-compat/getrrsetbyname.c
491
curr->name = strdup(name);
crypto/openssh/openbsd-compat/getrrsetbyname.c
551
curr->name = strdup(name);
crypto/openssh/openbsd-compat/port-net.c
189
if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)) == NULL)
crypto/openssh/openbsd-compat/port-net.c
279
if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)) == NULL)
crypto/openssh/openbsd-compat/port-net.c
62
return strdup(dev);
crypto/openssh/openbsd-compat/pwcache.c
110
cp->name = strdup(gr ? gr->gr_name : nbuf);
crypto/openssh/openbsd-compat/pwcache.c
75
cp->name = strdup(pw ? pw->pw_name : nbuf);
crypto/openssh/openbsd-compat/regress/strduptest.c
29
b = strdup(a);
crypto/openssh/openbsd-compat/setproctitle.c
117
environ[i] = strdup(envp[i]);
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
41
if ((o = tmp = strdup(pubkey)) == NULL ||
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
45
if ((o = tmp = strdup(certtext)) == NULL ||
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
62
if ((tmp = strdup(cp)) == NULL)
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
70
if ((tmp = strdup(cp)) == NULL)
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
215
if ((myproposal[i] = strdup(ccp)) == NULL) {
crypto/openssh/regress/netcat.c
1151
portlist[0] = strdup(p);
crypto/openssh/regress/netcat.c
256
if ((proxy = strdup(optarg)) == NULL)
crypto/openssh/regress/unittests/authopt/tests.c
235
expected->var = strdup(val); \
crypto/openssh/regress/unittests/authopt/tests.c
240
expected->var = strdup(val); \
crypto/openssh/regress/unittests/authopt/tests.c
345
expected->force_command = strdup("foo");
crypto/openssh/regress/unittests/authopt/tests.c
354
expected->required_from_host_cert = strdup("127.0.0.1/32,::1/128");
crypto/openssh/regress/unittests/authopt/tests.c
486
expected->required_from_host_cert = strdup("127.0.0.1/32,::1/128");
crypto/openssh/regress/unittests/authopt/tests.c
488
expected->required_from_host_keys = strdup("127.0.0.1");
crypto/openssh/regress/unittests/authopt/tests.c
500
expected->required_from_host_keys = strdup("127.0.0.1");
crypto/openssh/regress/unittests/authopt/tests.c
507
expected->required_from_host_cert = strdup("127.0.0.1/32,::1/128");
crypto/openssh/regress/unittests/authopt/tests.c
514
expected->force_command = strdup("foo");
crypto/openssh/regress/unittests/authopt/tests.c
526
expected->force_command = strdup("bar");
crypto/openssh/regress/unittests/authopt/tests.c
533
expected->force_command = strdup("foo");
crypto/openssh/regress/unittests/authopt/tests.c
74
ocp = cp = strdup(s);
crypto/openssh/regress/unittests/authopt/tests.c
79
cp2 = strdup(cp2);
crypto/openssh/regress/unittests/kex/test_kex.c
100
keyname = strdup(sshkey_ssh_name(private));
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
426
k1->cert->key_id = strdup("estragon");
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
430
k1->cert->principals[0] = strdup("estragon");
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
431
k1->cert->principals[1] = strdup("vladimir");
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
432
k1->cert->principals[2] = strdup("pozzo");
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
433
k1->cert->principals[3] = strdup("lucky");
crypto/openssh/regress/unittests/test_helper/test_helper.c
144
if ((__progname = strdup(__progname)) == NULL) {
crypto/openssh/regress/unittests/test_helper/test_helper.c
250
assert((active_test_name = strdup(n)) != NULL);
crypto/openssh/scp.c
964
if ((cp = strdup(pattern)) == NULL)
crypto/openssh/servconf.c
2370
item->selector = strdup(arg);
crypto/openssh/servconf.c
2380
item->selector = strdup(arg);
crypto/openssh/servconf.c
2381
item->filename = strdup(gbuf.gl_pathv[n]);
crypto/openssh/sk-usbhid.c
1132
if ((*devicep = strdup(options[i]->value)) == NULL) {
crypto/openssh/sk-usbhid.c
1366
(srk->application = strdup(rp_id)) == NULL ||
crypto/openssh/sk-usbhid.c
186
if ((sk->path = strdup(path)) == NULL) {
crypto/openssh/sk-usbhid.c
749
if ((*devicep = strdup(options[i]->value)) == NULL) {
crypto/openssh/ssh-sk.c
121
if ((ret->path = strdup(path)) == NULL) {
crypto/openssh/ssh-sk.c
345
if ((key->sk_application = strdup(application)) == NULL) {
crypto/openssh/ssh-sk.c
415
if ((opts[nopts]->name = strdup(name)) == NULL ||
crypto/openssh/ssh-sk.c
416
(opts[nopts]->value = strdup(value)) == NULL) {
crypto/openssh/ssh_api.c
541
if ((oavail = avail = strdup(orig)) == NULL) {
crypto/openssh/sshbuf-misc.c
82
return strdup("");
crypto/openssh/sshkey-xmss.c
122
if ((key->xmss_name = strdup(name)) == NULL) {
crypto/openssh/sshkey-xmss.c
278
if ((state->enc_ciphername = strdup(ciphername)) == NULL)
crypto/openssh/sshkey.c
1553
else if ((to->key_id = strdup(from->key_id)) == NULL) {
crypto/openssh/sshkey.c
1565
(to->signature_type = strdup(from->signature_type)) == NULL) {
crypto/openssh/sshkey.c
1580
to->principals[i] = strdup(from->principals[i]);
crypto/openssh/sshkey.c
1604
if ((to->sk_application = strdup(from->sk_application)) == NULL)
crypto/openssh/sshkey.c
368
if ((s = cp = strdup(names)) == NULL)
crypto/openssh/sshkey.c
3797
if ((k->xmss_filename = strdup(filename)) == NULL)
crypto/openssh/sshsig.c
764
if ((principals = strdup(tmp)) == NULL) {
crypto/openssl/crypto/conf/conf_lib.c
436
newfilename = strdup(filename);
crypto/openssl/crypto/conf/conf_lib.c
465
newappname = strdup(appname);
crypto/openssl/crypto/conf/conf_sap.c
38
settings.appname = strdup(appname);
crypto/openssl/include/internal/e_os.h
226
#ifndef strdup
crypto/openssl/test/p_test.c
298
ctx->thisfile = strdup(OPENSSL_FILE);
crypto/openssl/test/p_test.c
299
ctx->thisfunc = strdup(OPENSSL_FUNC);
crypto/openssl/test/testutil/driver.c
253
test_title = title == NULL ? NULL : strdup(title);
include/string.h
95
char *strdup(const char *) __malloc_like;
lib/lib80211/lib80211_regdomain.c
100
mt->country->rd = (void *)strdup(ref);
lib/lib80211/lib80211_regdomain.c
104
mt->rd->cc = (void *)strdup(ref);
lib/lib80211/lib80211_regdomain.c
150
mt->netband->band = (void *)strdup(ref);
lib/lib80211/lib80211_regdomain.c
156
mt->country->isoname = strdup(id);
lib/lib80211/lib80211_regdomain.c
165
mt->freqband->id = strdup(id);
lib/lib80211/lib80211_regdomain.c
280
mt->rd->name = strdup(p);
lib/lib80211/lib80211_regdomain.c
316
mt->country->name = strdup(p);
lib/lib80211/lib80211_regdomain.c
96
mt->rd->name = strdup(id);
lib/libbe/be.c
448
bdd.snapname = strdup(snapdelim + 1);
lib/libbe/be.c
828
if ((parentname = strdup(snap_path)) == NULL)
lib/libbe/be_access.c
43
info->name = strdup(zfs_get_name(zfs_hdl));
lib/libc/gen/fmtmsg.c
57
if ((msgverb = strdup(env)) == NULL)
lib/libc/gen/fmtmsg.c
65
if ((msgverb = strdup(DFLT_MSGVERB)) == NULL)
lib/libc/gen/getcap.c
250
cbuf = strdup(record);
lib/libc/gen/getcap.c
535
namebuf = strdup(name);
lib/libc/gen/getnetgrent.c
274
st->st_grname = strdup(group);
lib/libc/gen/getnetgrent.c
382
compat_state.st_grname = strdup(group);
lib/libc/gen/getpwent.c
1440
(template->pw_passwd = strdup(src->pw_passwd)) == NULL)
lib/libc/gen/getpwent.c
1448
(template->pw_gecos = strdup(src->pw_gecos)) == NULL)
lib/libc/gen/getpwent.c
1451
(template->pw_dir = strdup(src->pw_dir)) == NULL)
lib/libc/gen/getpwent.c
1454
(template->pw_shell = strdup(src->pw_shell)) == NULL)
lib/libc/gen/getpwent.c
1864
st->name = strdup(&pw_name[1]);
lib/libc/gen/getusershell.c
126
sl_add(sl, strdup(sp));
lib/libc/gen/getusershell.c
252
sl_add(sl, strdup(_PATH_BSHELL));
lib/libc/gen/getusershell.c
253
sl_add(sl, strdup(_PATH_CSHELL));
lib/libc/gen/glob-compat11.c
842
copy = strdup(origpat);
lib/libc/gen/glob.c
904
copy = strdup(origpat);
lib/libc/gen/posix_spawn.c
471
fae->fae_path = strdup(path);
lib/libc/gen/posix_spawn.c
542
fae->fae_path = strdup(path);
lib/libc/iconv/bsd_iconv.c
218
curitem = strdup(&slashpos[1]);
lib/libc/iconv/citrus_db_factory.c
143
tmp = strdup(key);
lib/libc/iconv/citrus_db_factory.c
202
p = strdup(data);
lib/libc/iconv/citrus_esdb.c
106
esdb->db_encname = strdup(str);
lib/libc/iconv/citrus_esdb.c
117
esdb->db_variable = strdup(str);
lib/libc/iconv/citrus_esdb.c
161
esdb->db_charsets[i].ec_csname = strdup(str);
lib/libc/iconv/citrus_esdb.c
299
list[num] = strdup(buf);
lib/libc/iconv/citrus_esdb.c
336
list[num] = strdup(buf);
lib/libc/iconv/citrus_lookup.c
121
cl->cl_key = strdup(key);
lib/libc/iconv/citrus_lookup.c
231
cl->cl_key = strdup(key);
lib/libc/iconv/citrus_mapper.c
349
cm->cm_key = strdup(mapname);
lib/libc/iconv/citrus_mapper.c
98
ma->ma_dir = strdup(area);
lib/libc/iconv/citrus_module.c
285
_pathI18nModule = strdup(p);
lib/libc/iconv/citrus_pivot_factory.c
71
se->se_name = strdup(name);
lib/libc/locale/setlocale.c
315
_PathLocale = strdup(p);
lib/libc/net/eui64.c
98
linehead = strdup(l);
lib/libc/net/getaddrinfo.c
1358
hostname2 = strdup(hostname);
lib/libc/net/getaddrinfo.c
1398
ai->ai_canonname = strdup(str);
lib/libc/net/hesiod.c
205
ret = strdup(bindname);
lib/libc/net/hesiod.c
269
ctx->lhs = strdup(DEF_LHS);
lib/libc/net/hesiod.c
270
ctx->rhs = strdup(DEF_RHS);
lib/libc/net/hesiod.c
302
*which = strdup(data);
lib/libc/net/nsdispatch.c
488
mod.name = strdup(source);
lib/libc/nls/msgcat.c
182
if ((plang = cptr1 = strdup(lang)) == NULL)
lib/libc/nls/msgcat.c
199
if ((base = cptr = strdup(nlspath)) == NULL) {
lib/libc/nls/msgcat.c
457
copy_name = strdup(name);
lib/libc/nls/msgcat.c
458
copy_path = strdup(path);
lib/libc/nls/msgcat.c
459
copy_lang = (lang == NULL) ? NULL : strdup(lang);
lib/libc/nls/msgcat.c
83
np->name = strdup(n); \
lib/libc/nls/msgcat.c
86
strdup(l); \
lib/libc/posix1e/acl_from_text.c
198
mybuf_p = strdup(buf_p);
lib/libc/posix1e/acl_support_nfs4.c
144
str = strdup(strp);
lib/libc/posix1e/acl_to_text.c
67
buf = strdup("");
lib/libc/posix1e/acl_to_text_nfs4.c
236
return strdup("");
lib/libc/posix1e/extattr.c
46
*string = strdup(EXTATTR_NAMESPACE_USER_STRING);
lib/libc/posix1e/extattr.c
51
*string = strdup(EXTATTR_NAMESPACE_SYSTEM_STRING);
lib/libc/posix1e/mac.c
103
labels_dup = strdup(labels);
lib/libc/posix1e/mac.c
311
(*mac)->m_string = strdup(text);
lib/libc/posix1e/mac.c
327
*text = strdup(mac->m_string);
lib/libc/posix1e/mac.c
98
name_dup = strdup(name);
lib/libc/resolv/res_debug.c
1096
sizestr = strdup(precsize_ntoa(sizeval));
lib/libc/resolv/res_debug.c
1097
hpstr = strdup(precsize_ntoa(hpval));
lib/libc/resolv/res_debug.c
1098
vpstr = strdup(precsize_ntoa(vpval));
lib/libc/resolv/res_findzonecut.c
555
nsrr->name = strdup(tname);
lib/libc/resolv/res_mkupdate.c
1032
slp->name = strdup(pp->p_name);
lib/libc/resolv/res_mkupdate.c
934
if (!rrecp || !(rrecp->r_dname = strdup(dname))) {
lib/libc/resolv/res_mkupdate.c
982
slp->name = strdup(sp->s_name);
lib/libc/resolv/res_mkupdate.c
983
slp->proto = strdup(sp->s_proto);
lib/libc/rpc/auth_time.c
173
ep->uaddr = strdup(hname);
lib/libc/rpc/auth_time.c
174
ep->family = strdup("inet");
lib/libc/rpc/auth_time.c
175
ep->proto = strdup("tcp");
lib/libc/rpc/auth_time.c
188
ep->uaddr = strdup(hname);
lib/libc/rpc/auth_time.c
189
ep->family = strdup("inet");
lib/libc/rpc/auth_time.c
190
ep->proto = strdup("udp");
lib/libc/rpc/auth_time.c
481
*uaddr = strdup(useua);
lib/libc/rpc/clnt_generic.c
300
cl->cl_netid = strdup(nconf->nc_netid);
lib/libc/rpc/clnt_generic.c
302
cl->cl_tp = strdup(nconf->nc_device);
lib/libc/rpc/clnt_generic.c
389
cl->cl_netid = strdup(nconf->nc_netid);
lib/libc/rpc/clnt_generic.c
390
cl->cl_tp = strdup(nconf->nc_device);
lib/libc/rpc/rpc_generic.c
244
netid_tcp = strdup(nconf->nc_netid);
lib/libc/rpc/rpc_generic.c
253
netid_udp = strdup(nconf->nc_netid);
lib/libc/rpc/rpc_generic.c
649
addrstr = strdup(uaddr);
lib/libc/rpc/rpcb_clnt.c
199
ad_cache->ac_host = strdup(host);
lib/libc/rpc/rpcb_clnt.c
200
ad_cache->ac_netid = strdup(netid);
lib/libc/rpc/rpcb_clnt.c
201
ad_cache->ac_uaddr = uaddr ? strdup(uaddr) : NULL;
lib/libc/rpc/rpcb_clnt.c
295
*targaddr = strdup(ad_cache->ac_uaddr);
lib/libc/rpc/svc.c
182
netid = strdup(xprt->xp_netid);
lib/libc/rpc/svc.c
185
netid = strdup(nconf->nc_netid);
lib/libc/rpc/svc.c
188
netid = strdup(tnconf->nc_netid);
lib/libc/rpc/svc.c
219
((SVCXPRT *) xprt)->xp_netid = strdup(netid);
lib/libc/rpc/svc_generic.c
297
xprt->xp_netid = strdup(nconf->nc_netid);
lib/libc/rpc/svc_generic.c
298
xprt->xp_tp = strdup(nconf->nc_device);
lib/libc/rpc/svc_simple.c
165
((netid = strdup(nconf->nc_netid)) == NULL)) {
lib/libc/rpc/svc_vc.c
264
xprt->xp_netid = strdup(netid);
lib/libc/stdlib/getenv.c
351
strdup(environ[envVarsTotal - envNdx - 1]);
lib/libc/stdlib/strfmon.c
245
currency_symbol = strdup(lc->int_curr_symbol);
lib/libc/stdlib/strfmon.c
252
currency_symbol = strdup(lc->currency_symbol);
lib/libc/tests/nss/getaddrinfo_test.c
270
ai->ai_canonname = strdup(s);
lib/libc/tests/nss/getaddrinfo_test.c
419
snapshot_file_copy = strdup(snapshot_file);
lib/libc/tests/nss/getaddrinfo_test.c
77
dest->ai_canonname = strdup(src->ai_canonname);
lib/libc/tests/nss/getgr_test.c
108
dest->gr_mem[cp - src->gr_mem] = strdup(*cp);
lib/libc/tests/nss/getgr_test.c
220
grp->gr_name = strdup(s);
lib/libc/tests/nss/getgr_test.c
225
grp->gr_passwd = strdup(s);
lib/libc/tests/nss/getgr_test.c
251
ts = strdup(s);
lib/libc/tests/nss/getgr_test.c
256
ts = strdup(s);
lib/libc/tests/nss/getgr_test.c
89
dest->gr_name = strdup(src->gr_name);
lib/libc/tests/nss/getgr_test.c
94
dest->gr_passwd = strdup(src->gr_passwd);
lib/libc/tests/nss/gethostby_test.c
149
dest->h_name = strdup(src->h_name);
lib/libc/tests/nss/gethostby_test.c
165
dest->h_aliases[cp - src->h_aliases] = strdup(*cp);
lib/libc/tests/nss/gethostby_test.c
517
he->h_name = strdup(line);
lib/libc/tests/nss/gethostby_test.c
565
ht->h_name = strdup(s);
lib/libc/tests/nss/gethostby_test.c
590
ts = strdup(s);
lib/libc/tests/nss/gethostby_test.c
598
ts = strdup(s);
lib/libc/tests/nss/gethostby_test.c
934
snapshot_file_copy = strdup(snapshot_file);
lib/libc/tests/nss/getproto_test.c
103
dest->p_aliases[cp - src->p_aliases] = strdup(*cp);
lib/libc/tests/nss/getproto_test.c
210
pe->p_name = strdup(s);
lib/libc/tests/nss/getproto_test.c
231
ts = strdup(s);
lib/libc/tests/nss/getproto_test.c
236
ts = strdup(s);
lib/libc/tests/nss/getproto_test.c
88
dest->p_name = strdup(src->p_name);
lib/libc/tests/nss/getpw_test.c
174
pwd->pw_name = strdup(s);
lib/libc/tests/nss/getpw_test.c
178
pwd->pw_passwd = strdup(s);
lib/libc/tests/nss/getpw_test.c
197
pwd->pw_class = strdup(s);
lib/libc/tests/nss/getpw_test.c
201
pwd->pw_gecos = strdup(s);
lib/libc/tests/nss/getpw_test.c
205
pwd->pw_dir = strdup(s);
lib/libc/tests/nss/getpw_test.c
209
pwd->pw_shell = strdup(s);
lib/libc/tests/nss/getpw_test.c
86
dest->pw_name = strdup(src->pw_name);
lib/libc/tests/nss/getpw_test.c
88
dest->pw_passwd = strdup(src->pw_passwd);
lib/libc/tests/nss/getpw_test.c
90
dest->pw_class = strdup(src->pw_class);
lib/libc/tests/nss/getpw_test.c
92
dest->pw_gecos = strdup(src->pw_gecos);
lib/libc/tests/nss/getpw_test.c
94
dest->pw_dir = strdup(src->pw_dir);
lib/libc/tests/nss/getpw_test.c
96
dest->pw_shell = strdup(dest->pw_shell);
lib/libc/tests/nss/getrpc_test.c
102
dest->r_aliases[cp - src->r_aliases] = strdup(*cp);
lib/libc/tests/nss/getrpc_test.c
209
rpc->r_name = strdup(s);
lib/libc/tests/nss/getrpc_test.c
230
ts = strdup(s);
lib/libc/tests/nss/getrpc_test.c
235
ts = strdup(s);
lib/libc/tests/nss/getrpc_test.c
87
dest->r_name = strdup(src->r_name);
lib/libc/tests/nss/getserv_test.c
106
dest->s_aliases[cp - src->s_aliases] = strdup(*cp);
lib/libc/tests/nss/getserv_test.c
215
serv->s_name = strdup(s);
lib/libc/tests/nss/getserv_test.c
229
serv->s_proto = strdup(s);
lib/libc/tests/nss/getserv_test.c
242
ts = strdup(s);
lib/libc/tests/nss/getserv_test.c
247
ts = strdup(s);
lib/libc/tests/nss/getserv_test.c
87
dest->s_name = strdup(src->s_name);
lib/libc/tests/nss/getserv_test.c
92
dest->s_proto = strdup(src->s_proto);
lib/libc/tests/nss/getusershell_test.c
127
us->path = strdup(line);
lib/libc/tests/nss/getusershell_test.c
70
dest->path = strdup(src->path);
lib/libc/tests/resolv/resolv_test.c
91
sl_add(hosts, strdup(ptr));
lib/libc/yp/yplib.c
1090
*outname = (char *)strdup(yprm.peer);
lib/libc/yp/yplib.c
201
new->ypc_map = strdup(map);
lib/libcam/camlib.c
134
newpath = strdup(path);
lib/libcasper/libcasper/service.c
96
service->s_name = strdup(name);
lib/libcasper/services/cap_dns/cap_dns.c
200
ai->ai_canonname = strdup(canonname);
lib/libcasper/services/cap_dns/cap_dns.c
80
hp->h_name = strdup(nvlist_get_string(nvl, "name"));
lib/libcasper/services/cap_dns/cap_dns.c
94
strdup(nvlist_get_string(nvl, nvlname));
lib/libcasper/services/cap_net/cap_net.c
101
hp->h_name = strdup(nvlist_get_string(nvl, "name"));
lib/libcasper/services/cap_net/cap_net.c
115
strdup(nvlist_get_string(nvl, nvlname));
lib/libcasper/services/cap_net/cap_net.c
267
ai->ai_canonname = strdup(canonname);
lib/libcasper/services/cap_syslog/cap_syslog.c
157
LogTag = strdup(ident);
lib/libdevinfo/devinfo.c
243
dd->dd_dev.x = dd->x = strdup(walker); \
lib/libefivar/efivar-dp-xlate.c
270
*dev = strdup(newdev);
lib/libefivar/efivar-dp-xlate.c
537
return strdup(efimedia);
lib/libefivar/efivar-dp-xlate.c
565
return strdup(efimedia);
lib/libefivar/efivar-dp-xlate.c
577
rp = strdup(relpath);
lib/libefivar/efivar-dp-xlate.c
756
modpath = strdup(path);
lib/libefivar/efivar.c
314
*name = strdup(guid_tbl[i].name);
lib/libfetch/fetch.c
276
if ((u->doc = strdup(doc ? doc : "/")) == NULL) {
lib/libfetch/fetch.c
464
} else if ((u->doc = strdup(p)) == NULL) {
lib/libfetch/http.c
1055
char *str = strdup(p);
lib/libfetch/http.c
1067
if ((parms->scheme = strdup(v)) == NULL) {
lib/libfetch/http.c
1077
if ((parms->realm = strdup(v)) == NULL) {
lib/libfetch/http.c
1087
if ((parms->user = strdup(v)) == NULL) {
lib/libfetch/http.c
1094
if ((parms->password = strdup(v)) == NULL) {
lib/libfetch/http.c
1260
c->algo = strdup("");
lib/libfetch/http.c
1268
c->qop = strdup("");
lib/libfetch/http.c
1419
aparams.user = strdup(purl->user);
lib/libfetch/http.c
1420
aparams.password = strdup(purl->pwd);
lib/libfetch/http.c
1429
aparams.user = strdup(purl->user);
lib/libfetch/http.c
1430
aparams.password = strdup(purl->pwd);
lib/libfetch/http.c
1690
aparams.user = strdup(purl->user);
lib/libfetch/http.c
1691
aparams.password = strdup(purl->pwd);
lib/libfetch/http.c
1699
aparams.user = strdup(purl->user);
lib/libfetch/http.c
1700
aparams.password = strdup(purl->pwd);
lib/libfetch/http.c
1720
aparams.user = strdup(url->user);
lib/libfetch/http.c
1721
aparams.password = strdup(url->pwd);
lib/libfetch/http.c
1729
aparams.user = strdup(url->user);
lib/libfetch/http.c
1730
aparams.password = strdup(url->pwd);
lib/libfetch/http.c
1733
aparams.user = strdup(url->user);
lib/libfetch/http.c
1734
aparams.password = strdup(url->pwd);
lib/libfetch/http.c
815
strdup(value);
lib/libfetch/http.c
818
strdup(value);
lib/libfetch/http.c
821
strdup(value);
lib/libfetch/http.c
824
strdup(value);
lib/libfetch/http.c
827
strdup(value);
lib/libgeom/geom_ctl.c
163
ap->name = strdup(name);
lib/libgeom/geom_util.c
149
return (strdup(name));
lib/libgeom/geom_util.c
285
if ((path = strdup(devpath)) == NULL) {
lib/libgeom/geom_xml2tree.c
201
p = strdup(sbuf_data(mt->sbuf[mt->level]));
lib/libgeom/geom_xml2tree.c
286
gc->lg_name = strdup(name);
lib/libgssapi/gss_display_status.c
308
oid.value = strdup("unknown");
lib/libifconfig/libifconfig.c
194
*description = strdup(descr);
lib/libifconfig/libifconfig.c
237
ifr.ifr_buffer.buffer = strdup(newdescription);
lib/libifconfig/libifconfig.c
277
tmpname = strdup(newname);
lib/libifconfig/libifconfig.c
576
*ifname = strdup(ifr.ifr_name);
lib/libifconfig/libifconfig.c
609
*ifname = strdup(ifr.ifr_name);
lib/libiscsiutil/utils.c
43
c = strdup(s);
lib/libjail/jail.c
1400
return (strdup(valbuf));
lib/libjail/jail.c
1414
return (strdup(valbuf));
lib/libjail/jail.c
384
jp->jp_name = strdup(name);
lib/libjail/jail.c
413
jp->jp_value = strdup(value);
lib/libjail/jail.c
423
jp->jp_value = strdup("");
lib/libjail/jail.c
867
value = strdup(jp->jp_value);
lib/libjail/jail.c
874
value = strdup("");
lib/libjail/jail_getid.c
116
name = strdup(namebuf);
lib/libkldelf/ef.c
588
ef->ef_name = strdup(efile->ef_filename);
lib/libkldelf/ef_obj.c
293
ef->ef_name = strdup(efile->ef_filename);
lib/libmt/mtlib.c
127
entry->fmt = strdup(attr[i+1]);
lib/libmt/mtlib.c
129
entry->desc = strdup(attr[i+1]);
lib/libmt/mtlib.c
143
nv->name = strdup(attr[i]);
lib/libmt/mtlib.c
144
nv->value = strdup(attr[i+1]);
lib/libmt/mtlib.c
172
str = strdup(sbuf_data(mtinfo->cur_sb[mtinfo->level]));
lib/libmt/mtlib.c
286
tmpname = strdup(name);
lib/libmt/mtlib.c
96
entry->entry_name = strdup(name);
lib/libnetbsd/efun.c
89
char *d = strdup(s);
lib/libnetbsd/util.c
49
str = strdup(def);
lib/libnv/tests/dnv_tests.cc
366
default_val = strdup("default");
lib/libnv/tests/dnv_tests.cc
385
default_val = strdup("");
lib/libnv/tests/dnv_tests.cc
403
default_val = strdup("other");
lib/libnv/tests/dnv_tests.cc
471
value = strdup(str);
lib/libnv/tests/nv_tests.cc
670
value = strdup("testval");
lib/libnv/tests/nvlist_move_test.c
61
ptr = strdup("");
lib/libnv/tests/nvlist_move_test.c
69
ptr = strdup("x");
lib/libnv/tests/nvlist_move_test.c
78
ptr = strdup("abcdefghijklmnopqrstuvwxyz");
lib/libpam/modules/pam_exec/pam_exec.c
236
if ((envstr = strdup(pam_err_env[i])) == NULL)
lib/libpam/modules/pam_krb5/pam_krb5.c
153
if ((srvdup = strdup(service)) == NULL) {
lib/libpam/modules/pam_krb5/pam_krb5.c
197
principal = strdup(user);
lib/libpam/modules/pam_krb5/pam_krb5.c
822
if ((passdup = strdup(pass)) == NULL) {
lib/libpam/modules/pam_ksu/pam_ksu.c
242
ccname = strdup(p);
lib/libpam/modules/pam_radius/pam_radius.c
264
msgs[num_msgs].msg = strdup("(null RADIUS challenge): ");
lib/libpfctl/libpfctl.c
292
c->name = strdup(names[i]);
lib/libpfctl/libpfctl.c
325
c->name = strdup(counter.name);
lib/libpmc/libpmc.c
1172
r = spec_copy = strdup(ctrspec);
lib/libpmc/libpmc.c
1188
spec_copy = strdup(alias->pm_spec);
lib/libpmc/libpmc.c
1193
spec_copy = strdup(ctrspec);
lib/libpmc/libpmc_pmu_util.c
332
if ((event = strdup(eventin)) == NULL)
lib/libpmc/pmclog.c
333
ps->ps_cpuid = strdup(ev->pl_u.pl_i.pl_cpuid);
lib/libpmc/pmu-events/jevents.c
1276
sys_event_table->soc_id = strdup(tblname);
lib/libpmc/pmu-events/jevents.c
1297
mapfile = strdup(fpath);
lib/libpmc/pmu-events/jevents.c
331
topic = strdup(bname);
lib/libpmc/pmu-events/jevents.c
426
es->field = strdup(je->field); \
lib/libpmc/pmu-events/jevents.c
434
je->field = strdup(es->field); \
lib/libpmc/pmu-events/jevents.c
707
je.pmu = strdup(ppmu);
lib/libpmc/pmu-events/jevents.c
710
je.pmu = strdup("uncore_");
lib/libpmcstat/libpmcstat_event.c
58
ev_clone->ev_name = strdup(ev->ev_name);
lib/libpmcstat/libpmcstat_event.c
63
ev_clone->ev_spec = strdup(ev->ev_spec);
lib/libpmcstat/libpmcstat_string.c
69
ps->ps_string = strdup(s);
lib/libproc/tests/proc_test.c
147
mapname_copy = strdup(map->pr_mapname);
lib/libproc/tests/proc_test.c
59
argv[1] = strdup("-s");
lib/libprocstat/libprocstat.c
1432
vn->vn_mntdir = strdup(stbuf.f_mntonname);
lib/libprocstat/libprocstat.c
1434
vn->vn_mntdir = strdup("-");
lib/libprocstat/libprocstat.c
2724
a->path = strdup(kl->kl_path);
lib/libprocstat/libprocstat.c
902
path = strdup(kif->kf_path);
lib/libprocstat/libprocstat.c
933
path = strdup(kve->kve_path);
lib/libradius/radlib.c
461
if ((srvp->secret = strdup(secret)) == NULL) {
lib/librpcsec_gss/rpcsec_gss_conf.c
216
info->name = strdup(name);
lib/librpcsec_gss/rpcsec_gss_conf.c
218
info->lib = strdup(lib);
lib/librpcsec_gss/rpcsec_gss_conf.c
219
info->kobj = strdup(kobj);
lib/librpcsec_gss/rpcsec_gss_conf.c
268
info->name = strdup(name);
lib/librpcsec_gss/rpcsec_gss_conf.c
270
info->mech = strdup(mech);
lib/librpcsec_gss/svc_rpcsec_gss.c
219
sname->sn_principal = strdup(principal);
lib/libsecureboot/openpgp/opgp_key.c
364
if ((cp = strdup(*tp))) {
lib/libsecureboot/openpgp/opgp_key.c
397
if ((fdata = strdup(*tp)) &&
lib/libsecureboot/openpgp/opgp_key.c
398
(sdata = strdup(*vp))) {
lib/libsecureboot/openpgp/opgp_key.c
51
user->id = strdup(user->id);
lib/libsecureboot/veopen.c
133
nfip->fi_skip = strdup(skip);
lib/libsecureboot/veopen.c
87
nfip->fi_prefix = strdup(prefix);
lib/libsecureboot/veopen.c
93
nfip->fi_prefix = strdup(filename);
lib/libsecureboot/vepcr.c
104
hip->hi_path = strdup(path);
lib/libsecureboot/verify_file.c
237
prefix = strdup(buf);
lib/libsysdecode/tests/sysdecode_test.c
56
buf = strdup(*bufp);
lib/libsysdecode/tests/sysdecode_test.c
68
buf = strdup(*bufp);
lib/libtacplus/taclib.c
1333
if ((r = strdup(s)) == NULL)
lib/libthr/thread/thr_info.c
65
tmp_name = strdup(name);
lib/libufs/type.c
174
name = strdup(name);
lib/libugidfw/ugidfw.c
1084
stringp = stringdup = strdup(string);
lib/libusbhid/usage.c
105
n = strdup(name);
lib/libutil/gr_util.c
649
if ((line_copy = strdup(line)) == NULL)
lib/libutil/login_cap.c
357
if ((lc->lc_class = strdup(name)) != NULL) {
lib/libutil/login_cap.c
952
if (authtypes[i] != NULL && (auths = strdup(authtypes[i])) != NULL)
lib/libutil/login_cap.c
956
lc->lc_style = strdup(lc->lc_style);
lib/libutil/mntopts.c
279
(*iov)[i].iov_base = strdup(name);
lib/libutil/mntopts.c
307
build_iovec(iov, iovlen, name, strdup(val), (size_t)-1);
lib/libutil/mntopts.c
58
if ((optbuf = strdup(options)) == NULL)
lib/libutil/property.c
52
if ((n->name = strdup(name)) == NULL) {
lib/libutil/property.c
59
if ((n->value = strdup(value)) == NULL) {
lib/libutil/pw_util.c
671
if ((bp = strdup(line)) == NULL)
lib/libutil/tests/trimdomain-nodomain_test.c
65
testhost = strdup(input);
lib/libutil/tests/trimdomain_test.c
65
testhost = strdup(input);
lib/libveriexec/veriexec_get.c
112
cp = strdup(params.label);
lib/libveriexec/veriexec_get.c
150
cp = strdup(params.label);
lib/libypclnt/ypclnt_new.c
49
if (domain != NULL && (ypclnt->domain = strdup(domain)) == NULL)
lib/libypclnt/ypclnt_new.c
51
if (map != NULL && (ypclnt->map = strdup(map)) == NULL)
lib/libypclnt/ypclnt_new.c
53
if (server != NULL && (ypclnt->server = strdup(server)) == NULL)
lib/libypclnt/ypclnt_passwd.c
153
yppwd.oldpass = strdup("");
lib/libypclnt/ypclnt_passwd.c
154
yppwd.domain = strdup(ypclnt->domain);
lib/libypclnt/ypclnt_passwd.c
155
if ((yppwd.newpw.pw_name = strdup(pwd->pw_name)) == NULL ||
lib/libypclnt/ypclnt_passwd.c
156
(yppwd.newpw.pw_passwd = strdup(pwd->pw_passwd)) == NULL ||
lib/libypclnt/ypclnt_passwd.c
157
(yppwd.newpw.pw_class = strdup(pwd->pw_class)) == NULL ||
lib/libypclnt/ypclnt_passwd.c
158
(yppwd.newpw.pw_gecos = strdup(pwd->pw_gecos)) == NULL ||
lib/libypclnt/ypclnt_passwd.c
159
(yppwd.newpw.pw_dir = strdup(pwd->pw_dir)) == NULL ||
lib/libypclnt/ypclnt_passwd.c
160
(yppwd.newpw.pw_shell = strdup(pwd->pw_shell)) == NULL) {
lib/libypclnt/ypclnt_passwd.c
248
if ((yppwd.newpw.pw_name = strdup(pwd->pw_name)) == NULL ||
lib/libypclnt/ypclnt_passwd.c
249
(yppwd.newpw.pw_passwd = strdup(pwd->pw_passwd)) == NULL ||
lib/libypclnt/ypclnt_passwd.c
250
(yppwd.newpw.pw_gecos = strdup(pwd->pw_gecos)) == NULL ||
lib/libypclnt/ypclnt_passwd.c
251
(yppwd.newpw.pw_dir = strdup(pwd->pw_dir)) == NULL ||
lib/libypclnt/ypclnt_passwd.c
252
(yppwd.newpw.pw_shell = strdup(pwd->pw_shell)) == NULL ||
lib/libypclnt/ypclnt_passwd.c
253
(yppwd.oldpass = strdup(passwd ? passwd : "")) == NULL) {
libexec/atf/atf-pytest-wrapper/atf_pytest_wrapper.cpp
197
arr[i] = strdup(args[i].c_str());
libexec/fingerd/fingerd.c
130
if ((t = strdup(line)) == NULL)
libexec/flua/modules/lposix.c
322
inpath = strdup(luaL_checkstring(L, 1));
libexec/flua/modules/lposix.c
54
inpath = strdup(luaL_checkstring(L, 1));
libexec/getty/subr.c
163
sp->defalt = strdup(sp->value);
libexec/getty/subr.c
184
sp->defalt : strdup(sp->defalt);
libexec/mknetid/hash.c
156
new->key = strdup(key);
libexec/revnetgroup/hash.c
152
new->key = strdup(key);
libexec/revnetgroup/hash.c
153
new->data = strdup(data);
libexec/revnetgroup/hash.c
183
tmp->groupname = strdup(data);
libexec/revnetgroup/hash.c
198
new->key = strdup(key);
libexec/revnetgroup/hash.c
199
new->domain = domain ? strdup(domain) : "*";
libexec/rtld-elf/rtld.c
6319
pathenv = strdup(pathenv);
libexec/ypxfr/ypxfr_main.c
318
ypxfr_master = ypxfr_source_host = strdup(dptr);
sbin/bectl/bectl.c
583
root = strdup(optarg);
sbin/bectl/bectl_jail.c
139
jargv[iarg++] = strdup("/usr/sbin/jail");
sbin/bectl/bectl_jail.c
140
jargv[iarg++] = strdup("-c");
sbin/bectl/bectl_jail.c
151
cmd = strdup("/bin/sh");
sbin/bectl/bectl_list.c
103
dsname = strdup(oname);
sbin/bectl/bectl_list.c
417
column = strdup(optarg);
sbin/bectl/bectl_list.c
423
column = strdup(optarg);
sbin/bectl/bectl_list.c
452
column = strdup("name");
sbin/camcontrol/camcontrol.c
10522
device = strdup(name);
sbin/camcontrol/camcontrol.c
10556
device = (char *)strdup(tstr);
sbin/camcontrol/modeedit.c
155
(newentry->name = strdup(name)) == NULL)
sbin/camcontrol/modeedit.c
205
(newentry->name = strdup(name)) == NULL)
sbin/camcontrol/modeedit.c
376
(newentry->name = strdup(name)) == NULL)
sbin/camcontrol/persist.c
473
id_str = strdup(optarg);
sbin/camcontrol/progress.c
72
prog->prefix = strdup(prefix);
sbin/camcontrol/timestamp.c
363
format_string = strdup(optarg);
sbin/camcontrol/timestamp.c
375
format_string = strdup(MIL);
sbin/camcontrol/timestamp.c
389
timestamp_string = strdup(optarg);
sbin/camcontrol/timestamp.c
443
format_string = strdup("%c %Z");
sbin/camcontrol/timestamp.c
480
format_string = strdup(UTC);
sbin/ccdconfig/ccdconfig.c
424
if ((cp = strdup(flags)) == NULL)
sbin/devd/parse.y
139
{ $$ = new_match(strdup("device-name"), $2); }
sbin/devd/parse.y
141
{ $$ = new_media(strdup("media-type"), $2); }
sbin/devd/parse.y
143
{ $$ = new_match(strdup("class"), $2); }
sbin/devd/parse.y
145
{ $$ = new_match(strdup("subdevice"), $2); }
sbin/devfs/devfs.c
156
*line = strdup(cp);
sbin/devfs/devfs.c
191
wline = strdup(line);
sbin/devmatch/devmatch.c
281
lastmod = strdup(val2);
sbin/devmatch/devmatch.c
460
bus = strdup(parent->dd_name);
sbin/devmatch/devmatch.c
534
busnameunit = strdup(bus);
sbin/dhclient/clparse.c
707
if ((vendor = strdup(val)) == NULL)
sbin/dhclient/dhclient.c
2106
ip->client->scriptEnv[0] = strdup(CLIENT_PATH);
sbin/dump/dumprmt.c
80
rmtpeer = strdup(host);
sbin/dump/optr.c
287
(new->fs_file = strdup(fs->fs_file)) == NULL ||
sbin/dump/optr.c
288
(new->fs_type = strdup(fs->fs_type)) == NULL ||
sbin/dump/optr.c
289
(new->fs_spec = strdup(fs->fs_spec)) == NULL)
sbin/etherswitchcfg/ifmedia.c
532
optlist = strdup(val);
sbin/fdisk/fdisk.c
1000
command->args[command->n_args].arg_str = strdup(cp);
sbin/ffsinfo/ffsinfo.c
137
out_file = strdup("-");
sbin/ffsinfo/ffsinfo.c
164
out_file = strdup(optarg);
sbin/fsck/fsck.c
323
vfstype = strdup(pvfstype);
sbin/fsck/fsutil.c
218
p = strdup(s);
sbin/fsck/fsutil.c
82
optbuf = strdup(fs->fs_mntops);
sbin/fsck_ffs/dir.c
595
idesc.id_name = strdup(lfname);
sbin/fsck_ffs/dir.c
715
idesc.id_name = strdup(name);
sbin/fsck_ffs/dir.c
749
idesc.id_name = strdup(name);
sbin/fsck_ffs/fsutil.c
1293
idesc.id_name = strdup("..");
sbin/fsck_ffs/fsutil.c
1440
cdevname = strdup("fsck");
sbin/fsck_ffs/pass2.c
597
dotdesc.id_name = strdup("..");
sbin/fsdb/fsdb.c
288
line = strdup(elline);
sbin/geom/core/geom.c
120
sptr = ptr = strdup(cmd->gc_usage);
sbin/geom/core/geom.c
543
tofree = totalpath = strdup(library_path());
sbin/geom/core/geom.c
825
provider_name = strdup(optarg);
sbin/ggate/ggated/ggated.c
164
flagscpy = strdup(flagsstr);
sbin/ggate/ggated/ggated.c
256
ex->e_path = strdup(path);
sbin/ggate/ggated/ggated.c
517
conn->c_path = strdup(cinit->gc_path);
sbin/hastd/parse.y
704
NONE { $$ = strdup("none"); }
sbin/ifconfig/ifbridge.c
830
if ((s = strdup(str)) == NULL)
sbin/ifconfig/ifconfig.c
1491
marg = strdup(arg);
sbin/ifconfig/ifconfig.c
1576
newname = strdup(val);
sbin/ifconfig/ifconfig.c
1599
newdescr = strdup(val);
sbin/ifconfig/ifconfig.c
326
formatstr = strdup(input);
sbin/ifconfig/ifconfig.c
334
f_inet = strdup(category);
sbin/ifconfig/ifconfig.c
336
f_inet6 = strdup(category);
sbin/ifconfig/ifconfig.c
350
f_addr = strdup(modifier);
sbin/ifconfig/ifconfig.c
353
f_ether = strdup(modifier);
sbin/ifconfig/ifconfig.c
356
f_inet = strdup(modifier);
sbin/ifconfig/ifconfig.c
359
f_inet6 = strdup(modifier);
sbin/ifconfig/iflagg.c
159
str = tmp = strdup(val);
sbin/ifconfig/ifmedia.c
335
opts = strdup(val);
sbin/init/init.c
1357
sp->se_getty_argv_space = strdup(sp->se_getty);
sbin/init/init.c
1374
sp->se_window = strdup(typ->ty_window);
sbin/init/init.c
1375
sp->se_window_argv_space = strdup(sp->se_window);
sbin/init/init.c
1388
sp->se_type = typ->ty_type ? strdup(typ->ty_type) : 0;
sbin/init/init.c
1790
old_getty = sp->se_getty ? strdup(sp->se_getty) : 0;
sbin/init/init.c
1791
old_window = sp->se_window ? strdup(sp->se_window) : 0;
sbin/init/init.c
1792
old_type = sp->se_type ? strdup(sp->se_type) : 0;
sbin/init/init.c
245
init_path_argv0 = strdup(argv[0]);
sbin/init/init.c
375
s = strdup(_PATH_DEV);
sbin/ipf/common/ipf_y.y
1707
| '-' { $$ = strdup("-"); }
sbin/ipf/common/lexer.c
585
yylval.str = strdup(yystr);
sbin/ipf/ipfstat/ipfstat.c
1878
s = strdup(argument);
sbin/ipf/ipftest/ip_fil.c
302
ifp->if_name = strdup(name);
sbin/ipf/ipmon/ipmon.c
374
protocols[p->p_proto] = strdup(p->p_name);
sbin/ipf/ipmon/ipmon.c
378
protocols[0] = strdup("ip");
sbin/ipf/ipmon/ipmon.c
424
tab[port] = strdup(name);
sbin/ipf/ipnat/ipnat_y.y
1601
n->na_name = strdup(name);
sbin/ipf/ipnat/ipnat_y.y
1620
n->na_name = strdup(name);
sbin/ipf/ippool/ippool_y.y
235
$$ = strdup(tmp);
sbin/ipf/ippool/ippool_y.y
240
$$ = strdup(tmp);
sbin/ipf/ippool/ippool_y.y
519
$$ = strdup(name);
sbin/ipf/libipf/getifname.c
35
ifname = strdup(qif.qf_name);
sbin/ipf/libipf/getifname.c
51
return (strdup(netif.if_xname));
sbin/ipf/libipf/ipft_hx.c
96
*ifn = strdup(u);
sbin/ipf/libipf/ipft_tx.c
200
*ifn = strdup(*cpp++);
sbin/ipf/libipf/ipft_tx.c
351
*ifn = strdup(*cpp++);
sbin/ipf/libipf/load_http.c
60
myurl = strdup(url);
sbin/ipf/libipf/mutex_emul.c
79
mtx->eMm_owner = strdup(who);
sbin/ipf/libipf/parseipfexpr.c
46
temp = strdup(line);
sbin/ipf/libipf/printfieldhdr.c
36
s = strdup(w->w_word);
sbin/ipf/libipf/rwlock_emul.c
125
rw->eMrw_owner = strdup(who);
sbin/ipf/libipf/save_execute.c
32
ctx->path = strdup(strings[0]);
sbin/ipf/libipf/save_file.c
42
ctx->path = strdup(strings[0] + 6);
sbin/ipf/libipf/save_file.c
45
ctx->path = strdup(strings[0] + 7);
sbin/ipf/libipf/save_syslog.c
41
str = strdup(*strings);
sbin/ipf/libipf/save_v1trap.c
118
str = strdup(*strings);
sbin/ipf/libipf/save_v2trap.c
121
str = strdup(*strings);
sbin/ipf/libipf/var.c
151
v->v_value = strdup(value);
sbin/ipf/libipf/var.c
167
v->v_name = strdup(name);
sbin/ipf/libipf/var.c
168
v->v_value = strdup(value);
sbin/ipf/libipf/var.c
74
s = strdup(v->v_value);
sbin/ipfw/ipfw2.c
3785
optr = ptr = strdup(p);
sbin/ipfw/ipv6.c
354
oav = av = strdup(av);
sbin/ipfw/nat64lsn.c
338
p = strdup(arg);
sbin/ipfw/nptv6.c
164
p = strdup(arg);
sbin/kldconfig/kldconfig.c
172
((pe->path = strdup(pathbuf)) == NULL)) {
sbin/kldconfig/kldconfig.c
246
((pe->path = strdup(p)) == NULL)) {
sbin/kldconfig/kldconfig.c
263
s = strdup("");
sbin/kldconfig/kldconfig.c
320
if ((pathctl = strdup(PATHCTL)) == NULL) {
sbin/kldconfig/kldconfig.c
358
if ((pathctl = strdup(optarg)) == NULL) {
sbin/kldconfig/kldconfig.c
384
if ((origpath = strdup(modpath)) == NULL) {
sbin/ldconfig/elfhints.c
180
if ((sp = strdup(sp)) == NULL)
sbin/md5/md5.c
370
rec->filename = strdup(filename + 1);
sbin/md5/md5.c
373
rec->filename = strdup(filename);
sbin/md5/md5.c
377
rec->chksum = strdup(hashstr);
sbin/mdconfig/mdconfig.c
423
mdiox.md_file = file[0] == '-' ? NULL : strdup(file);
sbin/mdconfig/mdconfig.c
623
ptr = strdup(list);
sbin/mdmfs/mdmfs.c
130
mdconfig_arg = strdup("");
sbin/mdmfs/mdmfs.c
131
newfs_arg = strdup("");
sbin/mdmfs/mdmfs.c
132
mount_arg = strdup("");
sbin/mdmfs/mdmfs.c
668
ug = strdup(str);
sbin/mount/mount.c
182
optbuf = strdup(arg);
sbin/mount/mount.c
514
optbuf = strdup(mntopts);
sbin/mount/mount.c
564
optbuf = catopt(strdup(mntopts), options);
sbin/mount/mount.c
594
append_arg(&mnt_argv, strdup(spec));
sbin/mount/mount.c
595
append_arg(&mnt_argv, strdup(name));
sbin/mount/mount.c
722
cp = strdup(s1);
sbin/mount/mount.c
771
mountprog = strdup(val);
sbin/mount/mount.c
796
append_arg(a, strdup("-o"));
sbin/mount/mount.c
811
return (strdup(""));
sbin/mount_msdosfs/mount_msdosfs.c
117
cs_local = strdup(quirk);
sbin/mount_msdosfs/mount_msdosfs.c
121
cs_dos = strdup(optarg);
sbin/mount_msdosfs/mount_msdosfs.c
126
char *val = strdup("");
sbin/mount_msdosfs/mount_msdosfs.c
138
cs_local = strdup("ISO8859-2");
sbin/mount_msdosfs/mount_msdosfs.c
139
cs_dos = strdup("CP852");
sbin/mount_msdosfs/mount_msdosfs.c
141
cs_local = strdup("ISO8859-7");
sbin/mount_msdosfs/mount_msdosfs.c
142
cs_dos = strdup("CP737");
sbin/mount_msdosfs/mount_msdosfs.c
144
cs_local = strdup("KOI8-R");
sbin/mount_msdosfs/mount_msdosfs.c
145
cs_dos = strdup("CP866");
sbin/mount_msdosfs/mount_msdosfs.c
147
cs_local = strdup("KOI8-U");
sbin/mount_msdosfs/mount_msdosfs.c
148
cs_dos = strdup("CP866");
sbin/mount_nullfs/mount_nullfs.c
77
val = strdup("");
sbin/natd/natd.c
1477
mip->ifName = strdup (strValue);
sbin/natd/natd.c
1521
pidName = strdup (strValue);
sbin/natd/natd.c
1635
buf = strdup (parms);
sbin/natd/natd.c
1770
buf = strdup (parms);
sbin/natd/natd.c
1828
buf = strdup (parms);
sbin/natd/natd.c
2015
ip->name = strdup(name);
sbin/pfctl/parse.y
1241
if ((loadanchor->filename = strdup($5)) == NULL)
sbin/pfctl/parse.y
1447
$$ = strdup($2);
sbin/pfctl/parse.y
5554
$$->ifname = strdup($1);
sbin/pfctl/parse.y
5568
n->ifname = strdup($2);
sbin/pfctl/parse.y
7476
yylval.v.string = strdup(buf);
sbin/pfctl/parse.y
7565
if ((yylval.v.string = strdup(buf)) == NULL)
sbin/pfctl/parse.y
7604
(nfile->name = strdup(name)) == NULL) {
sbin/pfctl/parse.y
7613
if ((nfile->name = strdup("stdin")) == NULL) {
sbin/pfctl/parse.y
7725
sym->nam = strdup(nam);
sbin/pfctl/parse.y
7730
sym->val = strdup(val);
sbin/pfctl/parse.y
940
if (($$ = strdup("all")) == NULL) {
sbin/pfctl/pfctl.c
1024
s = strdup(state_kill[1]);
sbin/pfctl/pfctl.c
1070
s = strdup(str);
sbin/pfctl/pfctl.c
3121
pf->ifname = strdup(ifname);
sbin/pfctl/pfctl.c
3629
pf.ifname = strdup("none");
sbin/pfctl/pfctl.c
430
pfctl_proto_cache[proto] = strdup(p->p_name);
sbin/pfctl/pfctl_osfp.c
349
if ((wr_name = strdup(name)) == NULL)
sbin/pfctl/pfctl_parser.c
1549
item.key = strdup(ifg->ifgrq_group);
sbin/pfctl/pfctl_parser.c
1624
if ((n->ifname = strdup(ifa->ifa_name)) == NULL)
sbin/pfctl/pfctl_parser.c
1730
if ((n->ifname = strdup(ifa_name)) == NULL)
sbin/pfctl/pfctl_parser.c
1844
n->ifname = strdup(p->ifname);
sbin/pfctl/pfctl_parser.c
1898
if ((ps = strdup(s)) == NULL)
sbin/pfctl/pfctl_parser.c
1921
if ((ps = strdup(s)) == NULL)
sbin/pfctl/pfctl_parser.c
2007
if ((ps = strdup(s)) == NULL)
sbin/ping/ping.c
428
policy_in = strdup(optarg);
sbin/ping/ping.c
430
policy_out = strdup(optarg);
sbin/ping/ping6.c
2741
return strdup(hbuf);
sbin/ping/ping6.c
581
if ((policy_in = strdup(optarg)) == NULL)
sbin/ping/ping6.c
584
if ((policy_out = strdup(optarg)) == NULL)
sbin/ping/ping6.c
647
hostname = strdup(res->ai_canonname);
sbin/rcorder/ealloc.c
90
if ((p = strdup(str)) == NULL)
sbin/recoverdisk/recoverdisk.c
772
read_worklist_file = strdup(optarg);
sbin/recoverdisk/recoverdisk.c
789
write_worklist_file = strdup(optarg);
sbin/restore/tape.c
167
magtape = strdup(source);
sbin/route/route.c
314
str0 = str = strdup(arg);
sbin/route/route.c
384
str0 = str = strdup(arg);
sbin/routed/main.c
203
q = strdup(optarg);
sbin/savecore/savecore.c
1312
devs[i] = strdup(argv[i]);
sbin/savecore/savecore.c
1370
argv[argc] = strdup(fsp->fs_spec);
sbin/savecore/savecore.c
1523
devs[0] = strdup("/dev/mem");
sbin/setkey/parse.y
1359
sport->buf = strdup(spec->buf);
sbin/setkey/parse.y
1365
dport->buf = strdup(p2);
sbin/setkey/parse.y
716
$$.buf = strdup("0");
sbin/setkey/parse.y
725
$$.buf = strdup("0");
sbin/setkey/parse.y
736
$$.buf = strdup(buf);
sbin/setkey/parse.y
783
$$.buf = strdup($1.buf);
sbin/swapon/swapon.c
242
basebuf = strdup(name);
sbin/swapon/swapon.c
262
dname = strdup(name);
sbin/swapon/swapon.c
290
string = ops = strdup(mntops);
sbin/swapon/swapon.c
432
devbuf = strdup(name);
sbin/swapon/swapon.c
461
vnodefile = strdup(p + sizeof("file=") - 1);
sbin/sysctl/sysctl.c
425
cp = buf = strdup(string);
sbin/sysctl/sysctl.c
709
p1 = strdup(ctime(&tv_sec));
sbin/tunefs/tunefs.c
563
diskname = strdup(disk.d_name);
sbin/umount/umount.c
355
if ((nfsdirname = strdup(sfs->f_mntfromname)) == NULL)
share/examples/ipfilter/l4check/l4check.c
705
response = strdup(strtok(NULL, ""));
share/examples/libifconfig/ifchangevlan.c
54
ifname = strdup(argv[1]);
share/examples/libifconfig/ifchangevlan.c
55
parentif = strdup(argv[2]);
share/examples/libifconfig/ifcreate.c
50
ifname = strdup(argv[1]);
share/examples/libifconfig/ifcreatevlan.c
53
parentif = strdup(argv[1]);
share/examples/libifconfig/ifdestroy.c
50
ifname = strdup(argv[1]);
share/examples/libifconfig/setdescription.c
51
ifname = strdup(argv[1]);
share/examples/libifconfig/setdescription.c
52
ifdescr = strdup(argv[2]);
share/examples/libifconfig/setmtu.c
52
ifname = strdup(argv[1]);
stand/common/boot.c
348
dev = strdup(lbuf);
stand/common/boot.c
368
fstyp = strdup(ep);
stand/common/boot.c
381
options = strdup(ep);
stand/common/boot.c
405
cp = strdup(currdev);
stand/common/commands.c
143
subtopic = strdup(argv[2]);
stand/common/commands.c
146
topic = strdup(argv[1]);
stand/common/commands.c
149
topic = strdup("help");
stand/common/commands.c
80
*topic = strdup(cp + 1);
stand/common/commands.c
84
*subtopic = strdup(cp + 1);
stand/common/commands.c
86
*desc = strdup(cp + 1);
stand/common/console.c
130
prefconsole = strdup(prefconsole);
stand/common/console.c
137
prefconsole = strdup(consoles[active]->c_name);
stand/common/console.c
254
dup = next = strdup(string);
stand/common/console.c
298
dup = next = strdup(string);
stand/common/dev_net.c
145
netdev_name = strdup(devname);
stand/common/gfx_fb.c
2592
dir = strdup(fonts);
stand/common/gfx_fb.c
2689
font_name = strdup(name);
stand/common/interp.c
117
argvbuf[i] = strdup(argv[i]);
stand/common/interp.c
141
pr = p = strdup(cp);
stand/common/interp_backslash.c
42
if ((new_str = strdup(str)) == NULL)
stand/common/interp_parse.c
214
args[(*argcp)++] = strdup(buf);
stand/common/load_elf.c
463
fp->f_name = strdup(filename);
stand/common/load_elf.c
465
fp->f_type = strdup(ef.kernel ?
stand/common/load_elf.c
468
fp->f_type = strdup(md_kerntype_mb);
stand/common/load_elf_obj.c
172
fp->f_name = strdup(filename);
stand/common/load_elf_obj.c
173
fp->f_type = strdup(md_modtype_obj);
stand/common/module.c
1026
fp->f_name = strdup(name);
stand/common/module.c
1027
fp->f_type = strdup(type);
stand/common/module.c
1136
return(strdup(name));
stand/common/module.c
1141
return(strdup(name));
stand/common/module.c
1359
lastmod = strdup(val2);
stand/common/module.c
1562
mp->m_name = strdup(modname);
stand/common/module.c
765
fp->f_type = strdup(type);
stand/common/pnp.c
113
id->id_ident = strdup(ident);
stand/common/vdisk.c
131
vd->vdisk_path = strdup(argv[1]);
stand/efi/libefi/devpath.c
88
tail = strdup("");
stand/efi/libefi/efihttp.c
408
fh->path = strdup(path);
stand/efi/libefi/efihttp.c
447
host = strdup(oh->uri_base);
stand/efi/libefi/env.c
413
*name = strdup(efi_uuid_mapping[i].efi_guid_name);
stand/efi/loader/arch/amd64/multiboot2.c
377
fp->f_args = strdup(cmdline);
stand/efi/loader/framebuffer.c
758
maxres = strdup(maxres);
stand/fdt/fdt_loader_cmd.c
338
names = strdup(filenames);
stand/i386/libi386/biospci.c
316
pi->pi_desc = strdup(desc);
stand/i386/libi386/bootinfo.c
49
string = next = strdup(getenv("console"));
stand/i386/libi386/multiboot.c
199
fp->f_args = strdup(cmdline);
stand/i386/libi386/multiboot.c
292
cmdline = strdup("header");
stand/i386/libi386/vbe.c
138
maxres = strdup(maxres);
stand/kboot/kboot/hostdisk.c
263
if ((hd->hd_dev = strdup(override)) == NULL)
stand/kboot/kboot/hostdisk.c
435
cp = strdup(devspec);
stand/kboot/kboot/hostdisk.c
459
fn = strdup(devspec);
stand/libsa/dosfs.c
281
mnt->dos_dev = strdup(dev);
stand/libsa/environment.c
135
ev->ev_value = strdup(value);
stand/libsa/environment.c
176
copy = strdup(string);
stand/libsa/environment.c
97
ev->ev_name = strdup(name);
stand/libsa/ext2fs.c
421
path = strdup(upath);
stand/libsa/mount.c
69
mnt->mnt_dev = strdup(dev);
stand/libsa/mount.c
70
mnt->mnt_path = strdup(path);
stand/libsa/nfs.c
536
cp = path = strdup(upath);
stand/libsa/nvstore.c
79
if ((st->nvs_name = strdup(name)) == NULL) {
stand/libsa/splitfs.c
157
sf->filesv[sf->filesc - 1] = strdup(buf);
stand/libsa/splitfs.c
158
sf->descsv[sf->filesc - 1] = strdup(cp);
stand/libsa/ufs.c
563
cp = path = strdup(upath);
stand/libsa/ufs.c
920
mnt->um_dev = strdup(dev);
stand/libsa/zfs/zfs.c
1772
currdev = strdup(currdev_in);
stand/libsa/zfs/zfs.c
1936
zfs_be->name = strdup(name);
stand/libsa/zfs/zfs.c
414
mnt->path = strdup(path);
stand/libsa/zfs/zfsimpl.c
1422
if ((spa->spa_name = strdup(name)) == NULL) {
stand/userboot/userboot/bootinfo.c
47
string = next = strdup(getenv("console"));
sys/cam/ctl/ctl_backend_block.c
2553
be_lun->dev_path = strdup(value, M_CTLBLK);
sys/cam/ctl/ctl_frontend_iscsi.c
1244
name = strdup(cs->cs_initiator_id, M_CTL);
sys/cddl/dev/sdt/sdt.c
131
newprov->name = strdup(prov->name, M_SDT);
sys/compat/linuxkpi/common/src/linux_firmware.c
108
fwimg = strdup(fw_name, M_LKPI_FW);
sys/compat/linuxkpi/common/src/linux_pci.c
2231
dev->bd->name = strdup(name, M_DEVBUF);
sys/dev/acpica/acpi.c
4920
p = strdup(p, M_TEMP);
sys/dev/acpica/acpi_spmc.c
334
constraint->name = strdup(name_obj->String.Pointer, M_TEMP);
sys/dev/acpica/acpi_spmc.c
412
constraint->name = strdup(name_obj->String.Pointer, M_TEMP);
sys/dev/aic7xxx/aicasm/aicasm.c
234
include_dir->directory = strdup(optarg);
sys/dev/aic7xxx/aicasm/aicasm_gram.y
1573
cur_symbol->info.macroinfo->body = strdup(bodytext);
sys/dev/aic7xxx/aicasm/aicasm_gram.y
272
prefix = strdup($3);
sys/dev/aic7xxx/aicasm/aicasm_gram.y
284
patch_arg_list = strdup($3);
sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
151
marg->replacement_text = strdup(argtext);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
174
key.data = strdup(name);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
391
lower_name = strdup(regnode->symbol->name);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
77
new_symbol->name = strdup(name);
sys/dev/bhnd/nvram/bhnd_nvram_private.h
155
#define bhnd_nv_strdup(str) strdup(str)
sys/dev/clk/clk.c
1623
*name = strdup(tmp_name, M_OFWPROP);
sys/dev/clk/clk.c
1633
*name = strdup(out_names[0], M_OFWPROP);
sys/dev/clk/clk.c
625
clknode->name = strdup(def->name, M_CLOCK);
sys/dev/clk/xilinx/zynqmp_clock.c
158
parent_name = strdup(prev_clock_name, M_DEVBUF);
sys/dev/clk/xilinx/zynqmp_clock.c
203
prev_clock_name = strdup(clkname, M_DEVBUF);
sys/dev/clk/xilinx/zynqmp_clock.c
212
clkdef->clkdef.parent_names[0] = strdup(prev_clock_name, M_DEVBUF);
sys/dev/clk/xilinx/zynqmp_clock.c
390
clkname = strdup("dummy", M_DEVBUF);
sys/dev/clk/xilinx/zynqmp_clock.c
405
clk->clkdef.parent_names[i] = strdup("dummy", M_DEVBUF);
sys/dev/clk/xilinx/zynqmp_clock.c
415
clk->clkdef.parent_names[i] = strdup("dummy", M_DEVBUF);
sys/dev/clk/xilinx/zynqmp_clock.c
417
clk->clkdef.parent_names[i] = strdup(tmp2->clkdef.name, M_DEVBUF);
sys/dev/clk/xilinx/zynqmp_clock.c
420
clk->clkdef.parent_names[i] = strdup(tmp2->clkdef.name, M_DEVBUF);
sys/dev/clk/xilinx/zynqmp_clock.c
440
dummy.clkdef.name = strdup("dummy", M_DEVBUF);
sys/dev/hwt/hwt_record.c
288
entry->fullpath = strdup(kobase[i].pm_file, M_HWT_RECORD);
sys/dev/hwt/hwt_record.c
75
entry->fullpath = strdup(ent->fullpath, M_HWT_RECORD);
sys/dev/iicbus/ofw_iicbus.c
257
devi->opd_obdinfo.obd_name = strdup(ofw_name, M_OFWPROP);
sys/dev/iicbus/ofw_iicbus.c
259
devi->opd_obdinfo.obd_compat = strdup(ofw_compat, M_OFWPROP);
sys/dev/iscsi/icl.c
248
im->im_name = strdup(offload, M_ICL);
sys/dev/iser/icl_iser.c
293
ic->ic_offload = strdup("iser", M_TEMP);
sys/dev/jedec_dimm/jedec_dimm.c
437
sc->slotid_str = strdup(slotid_str, M_DEVBUF);
sys/dev/led/led.c
287
sc->name = strdup(name, M_LED);
sys/dev/nvdimm/nvdimm.c
377
nv->nv_flags_str = strdup(sbuf_data(sb), M_NVDIMM);
sys/dev/ocs_fc/ocs_pci.c
264
ocs->hw_war_version = strdup(hw_war_version, M_OCS);
sys/dev/pci/pci_host_generic.c
147
sc->pmem_rman.rm_descr = strdup(buf, M_DEVBUF);
sys/dev/pci/pci_host_generic.c
152
sc->mem_rman.rm_descr = strdup(buf, M_DEVBUF);
sys/dev/pci/pci_host_generic.c
157
sc->io_rman.rm_descr = strdup(buf, M_DEVBUF);
sys/dev/pci/pci_pci.c
431
w->rman.rm_descr = strdup(buf, M_DEVBUF);
sys/dev/pci/pci_pci.c
655
bus->rman.rm_descr = strdup(buf, M_DEVBUF);
sys/dev/puc/puc.c
249
sc->sc_ioport.rm_descr = strdup(buffer, M_PUC);
sys/dev/puc/puc.c
252
sc->sc_iomem.rm_descr = strdup(buffer, M_PUC);
sys/dev/puc/puc.c
255
sc->sc_irq.rm_descr = strdup(buffer, M_PUC);
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
89
ring->label = strdup(label, M_TEMP);
sys/dev/regulator/regulator.c
385
regnode->name = strdup(def->name, M_REGULATOR);
sys/dev/regulator/regulator.c
387
regnode->parent_name = strdup(def->parent_name,
sys/dev/sound/fdt/audio_soc.c
439
sc->name = strdup(name, M_DEVBUF);
sys/dev/sound/sndstat.c
964
ud->provider = (provider != NULL) ? strdup(provider, M_DEVBUF) : NULL;
sys/dev/sound/sndstat.c
965
ud->devnode = strdup(devnode, M_DEVBUF);
sys/dev/sound/sndstat.c
966
ud->nameunit = strdup(nameunit, M_DEVBUF);
sys/dev/sound/sndstat.c
967
ud->desc = strdup(desc, M_DEVBUF);
sys/dev/usb/usb_device.c
2540
udev->serial = strdup(temp_ptr, M_USB);
sys/dev/usb/usb_device.c
2547
udev->manufacturer = strdup(temp_ptr, M_USB);
sys/dev/usb/usb_device.c
2554
udev->product = strdup(temp_ptr, M_USB);
sys/dev/usb/usb_device.c
2567
udev->manufacturer = strdup(kdp->vendorname,
sys/dev/usb/usb_device.c
2572
udev->product = strdup(kdp->productname,
sys/dev/usb/usb_device.c
2581
udev->manufacturer = strdup(temp_ptr, M_USB);
sys/dev/usb/usb_device.c
2585
udev->product = strdup(temp_ptr, M_USB);
sys/dev/usb/usb_device.c
3055
iface->pnpinfo = strdup(pnpinfo, M_USBDEV);
sys/dev/vmd/vmd.c
315
bus->rman.rm_descr = strdup(buf, M_DEVBUF);
sys/dev/vmd/vmd.c
332
w->rman.rm_descr = strdup(buf, M_DEVBUF);
sys/dev/xen/blkback/blkback.c
3622
xbb->hotplug_watch.node = strdup(sbuf_data(watch_path), M_XENBLOCKBACK);
sys/dev/xen/xenstore/xenstore_dev.c
333
watch->watch.node = strdup(wpath, M_XENSTORE);
sys/dev/xen/xenstore/xenstore_dev.c
337
watch->token = strdup(wtoken, M_XENSTORE);
sys/fs/autofs/autofs.c
248
path = strdup("", M_AUTOFS);
sys/fs/autofs/autofs.c
402
key = strdup(firstanp->an_name, M_AUTOFS);
sys/fs/autofs/autofs_vnops.c
572
anp->an_name = strdup(name, M_AUTOFS);
sys/fs/autofs/autofs_vnops.c
608
find.an_name = strdup(name, M_AUTOFS);
sys/fs/devfs/devfs_dir.c
100
dle_new->dir = strdup(dir, M_DEVFS4);
sys/fs/nfsclient/nfs_clvfsops.c
884
*hostnamep = strdup(nam, M_NEWNFSMNT);
sys/geom/geom_flashmap.c
111
gfp->labels[i] = strdup(slice->sl_name, M_FLASHMAP);
sys/geom/mountver/g_mountver.c
298
sc->sc_provider_name = strdup(pp->name, M_GEOM);
sys/kern/init_main.c
763
free_init_path = tmp_init_path = strdup(init_path, M_TEMP);
sys/kern/kern_fork.c
612
strdup(p1->p_binname, M_PARGS);
sys/kern/kern_linker.c
2161
return (strdup(name, M_LINKER));
sys/kern/kern_linker.c
2273
pathname = strdup(kldname, M_LINKER);
sys/kern/kern_linker.c
667
lf->filename = strdup(filename, M_LINKER);
sys/kern/kern_linker.c
668
lf->pathname = strdup(pathname, M_LINKER);
sys/kern/kern_sysctl.c
915
oidp->oid_descr = strdup(descr, M_SYSCTLOID);
sys/kern/kern_sysctl.c
917
oidp->oid_label = strdup(label, M_SYSCTLOID);
sys/kern/kern_sysctl.c
936
newname = strdup(name, M_SYSCTLOID);
sys/kern/kern_tslog.c
176
procs[pid].execname = strdup(execname, M_TSLOGUSER);
sys/kern/kern_tslog.c
183
procs[pid].namei = strdup(namei, M_TSLOGUSER);
sys/kern/subr_firmware.c
205
name = strdup(imagename, M_FIRMWARE);
sys/kern/subr_stats.c
428
return (strdup(s));
sys/kern/vfs_mount.c
3080
opt->name = strdup("ro", M_MOUNT);
sys/kern/vfs_mount.c
407
new->name = strdup(opt->name, M_MOUNT);
sys/kern/vfs_mount.c
897
opt->name = strdup("nonoatime", M_MOUNT);
sys/kern/vfs_mount.c
903
opt->name = strdup("nonoclusterr", M_MOUNT);
sys/kern/vfs_mount.c
909
opt->name = strdup("nonoclusterw", M_MOUNT);
sys/kern/vfs_mount.c
915
opt->name = strdup("nonoexec", M_MOUNT);
sys/kern/vfs_mount.c
921
opt->name = strdup("nonosuid", M_MOUNT);
sys/kern/vfs_mount.c
927
opt->name = strdup("nonosymfollow", M_MOUNT);
sys/kern/vfs_mount.c
943
opt->name = strdup("ro", M_MOUNT);
sys/kern/vfs_mountroot.c
1134
p = opts = strdup(options, M_MOUNT);
sys/kern/vfs_mountroot.c
1156
name_arg = strdup(name, M_MOUNT);
sys/kern/vfs_mountroot.c
1159
val_arg = strdup(val, M_MOUNT);
sys/netlink/netlink_sysevent.c
120
sysevent_groups[index].name = strdup(name, M_NLSE);
sys/netpfil/ipfilter/netinet/radix_ipf.c
1158
tab[lines - 1].host = strdup(line);
sys/netpfil/ipfw/test/main.c
332
s = c->fs_config ? strdup(c->fs_config) : NULL;
sys/nfs/bootp_subr.c
1406
p = strdup(p + 4, M_TEMP);
sys/nfs/nfs_diskless.c
106
opts = strdup(envopts, M_TEMP);
sys/nlm/nlm_prot_impl.c
2067
strdup(argp->alock.caller_name, M_RPC);
sys/rpc/rpc_generic.c
350
ret = strdup(sbuf_data(&sb), M_RPC);
sys/rpc/rpc_generic.c
374
addrstr = strdup(uaddr, M_RPC);
sys/rpc/rpc_generic.c
529
netid_tcp = strdup(nconf->nc_netid,
sys/rpc/rpc_generic.c
533
netid_udp = strdup(nconf->nc_netid,
sys/rpc/rpcsec_gss/rpcsec_gss.c
405
gd->gd_principal = strdup(principal, M_RPC);
sys/rpc/rpcsec_gss/rpcsec_gss.c
407
gd->gd_clntprincipal = strdup(clnt_principal, M_RPC);
sys/rpc/rpcsec_gss/svc_rpcsec_gss.c
332
sname->sn_principal = strdup(principal, M_RPC);
sys/rpc/svc.c
514
netid = strdup(xprt->xp_netid, M_RPC);
sys/rpc/svc.c
517
netid = strdup(nconf->nc_netid, M_RPC);
sys/rpc/svc.c
548
((SVCXPRT *) xprt)->xp_netid = strdup(netid, M_RPC);
sys/rpc/svc_generic.c
220
xprt->xp_netid = strdup(nconf->nc_netid, M_RPC);
sys/security/mac_ipacl/mac_ipacl.c
292
copy_string = strdup(string, M_IPACL);
sys/security/mac_portacl/mac_portacl.c
317
temp = strdup(sbuf_data(sb), M_PORTACL);
sys/security/mac_portacl/mac_portacl.c
350
copy_string = strdup(string, M_PORTACL);
sys/sys/libkern.h
259
char *strdup(const char *__restrict, struct malloc_type *);
sys/vm/uma_core.c
2644
zone->uz_ctlname = strdup(zone->uz_name, M_UMA);
sys/xen/xenbus/xenbusb.c
571
node = strdup(vec[XS_WATCH_PATH], M_XENBUS);
sys/xen/xenbus/xenbusb.c
680
ivars->xd_node = strdup(devpath, M_XENBUS);
sys/xen/xenbus/xenbusb.c
682
ivars->xd_type = strdup(type, M_XENBUS);
sys/xen/xenbus/xenbusb_back.c
206
ivars->xd_otherend_path = strdup(otherend_path, M_XENBUS);
sys/xen/xenbus/xenbusb_front.c
154
ivars->xd_otherend_path = strdup(otherend_path, M_XENBUS);
tests/sys/capsicum/capsicum-test-main.cc
93
program_name = strdup(argv[0]);
tests/sys/cddl/zfs/bin/file_write.c
224
exec = strdup(exec);
tests/sys/cddl/zfs/bin/largest_file.c
67
testfile = strdup(argv[1]);
tests/sys/kqueue/libkqueue/main.c
215
return (strdup(buf));
tests/sys/kqueue/libkqueue/main.c
272
cur_test_id = strdup(func);
tests/sys/net/routing/rtsock_common.h
153
result = strdup(ifname);
tests/sys/net/routing/rtsock_common.h
562
char *addr = strdup(_addr);
tests/sys/net/routing/rtsock_config.h
147
c->remote_lladdr = strdup(atf_tc_get_config_var_wd(tc,
tests/sys/netgraph/util.c
142
ATF_REQUIRE(NULL != (p->hook = strdup(hook)));
tests/sys/netinet/ip6_mrouted.c
148
mif->name = strdup(optarg);
tests/sys/netmap/ctrl-api-test.c
119
av[i] = strdup(argv[i]);
tools/regression/gaithrstress/gaithrstress.c
170
randwords[nrandwords] = strdup(newword);
tools/regression/geom/ConfCmp/ConfCmp.c
115
np->id = strdup(attr[i+1]);
tools/regression/geom/ConfCmp/ConfCmp.c
117
np->ref = strdup(attr[i+1]);
tools/regression/geom/ConfCmp/ConfCmp.c
119
np->name = strdup(name);
tools/regression/geom/ConfCmp/ConfCmp.c
266
r->k1 = strdup(r1);
tools/regression/geom/ConfCmp/ConfCmp.c
267
r->k2 = strdup(r2);
tools/test/stress2/lib/options.c
149
op->wd = strdup("/tmp/stressX");
tools/test/stress2/lib/options.c
150
op->cd = strdup("/tmp/stressX.control");
tools/test/stress2/lib/options.c
175
op->wd = strdup(optarg);
tools/test/stress2/testcases/fts/fts.c
64
args[0] = strdup(".");
tools/tools/ath/common/ctrl.c
99
req->ifname = strdup(ifname);
tools/tools/iwn/iwnstats/main.c
279
ifname = strdup(IWN_DEFAULT_IF);
tools/tools/iwn/iwnstats/main.c
288
ifname = strdup(optarg);
tools/tools/netmap/pkt-gen.c
3123
g.nmr_config = strdup(optarg);
tools/tools/netmap/pkt-gen.c
3129
g.packet_file = strdup(optarg);
tools/tools/netmap/pkt-gen.c
422
name = strdup(r->name);
tools/tools/netmap/pkt-gen.c
644
w = strdup(conf);
tools/tools/so_splice/pingpong.c
42
host = strdup(addr);
tools/tools/so_splice/proxy.c
361
host = strdup(addr);
tools/tools/syscall_timing/syscall_timing.c
1091
tmp_dir = strdup("/tmp/syscall_timing.XXXXXXXX");
usr.bin/apply/apply.c
117
shell = (tmpshell != NULL) ? strdup(tmpshell) : strdup(_PATH_BSHELL);
usr.bin/apply/apply.c
152
if ((cmd = strdup(argv[0])) == NULL)
usr.bin/ar/acpyacc.y
281
tmpac = strdup(TEMPLATE);
usr.bin/ar/acpyacc.y
513
new_target = strdup(target);
usr.bin/ar/write.c
109
if ((obj->name = strdup(bname)) == NULL)
usr.bin/ar/write.c
311
if ((obj->name = strdup(name)) == NULL)
usr.bin/ar/write.c
98
tmpname = strdup(name);
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
381
if ((*tty = strdup(pty)) == NULL) {
usr.bin/bsdiff/bspatch/bspatch.c
138
if ((namebuf = strdup(argv[2])) == NULL ||
usr.bin/c99/c99.c
101
if ((args[nargs++] = strdup(item)) == NULL)
usr.bin/calendar/calendar.c
224
outputEncoding = strdup(nl_langinfo(CODESET));
usr.bin/calendar/events.c
142
output = strdup(input);
usr.bin/calendar/events.c
57
currentEncoding = strdup(newenc);
usr.bin/calendar/events.c
65
currentEncoding = strdup(newenc);
usr.bin/calendar/events.c
86
output = strdup(input);
usr.bin/calendar/io.c
359
sl_add(definitions, strdup(walk));
usr.bin/calendar/io.c
417
if ((struct_.name = strdup(buf + (slen))) == NULL) \
usr.bin/calendar/io.c
531
mylocale = strdup(setlocale(LC_ALL, NULL));
usr.bin/calendar/locale.c
102
if ((fndays[i].name = strdup(buf)) == NULL)
usr.bin/calendar/locale.c
118
if ((nmonths[i].name = strdup(buf)) == NULL)
usr.bin/calendar/locale.c
130
if ((fnmonths[i].name = strdup(buf)) == NULL)
usr.bin/calendar/locale.c
159
nsequences[i].name = strdup(nsequences[i].name);
usr.bin/calendar/locale.c
162
nsequences[i].name = strdup(nsequences[i].name);
usr.bin/calendar/locale.c
90
if ((ndays[i].name = strdup(buf)) == NULL)
usr.bin/cap_mkdb/cap_mkdb.c
107
if ((capname = strdup(buf)) == NULL)
usr.bin/chat/chat.c
1011
s = strdup("^D\\c");
usr.bin/chat/chat.c
1013
s = strdup("\\K\\c");
usr.bin/chpass/edit.c
149
if ((bp = gecos = strdup(pw->pw_gecos)) == NULL) {
usr.bin/chpass/edit.c
156
p = strdup(p ? p : "");
usr.bin/chpass/edit.c
162
p = strdup(p ? p : "");
usr.bin/chpass/edit.c
168
p = strdup(p ? p : "");
usr.bin/chpass/edit.c
174
p = strdup(p ? p : "");
usr.bin/chpass/edit.c
179
bp = strdup(bp ? bp : "");
usr.bin/chpass/field.c
154
if (!(pw->pw_class = strdup(p))) {
usr.bin/chpass/field.c
186
if (!(ep->save = strdup(p))) {
usr.bin/chpass/field.c
201
if (!(pw->pw_dir = strdup(p))) {
usr.bin/chpass/field.c
215
pw->pw_shell = strdup(_PATH_BSHELL);
usr.bin/chpass/field.c
228
pw->pw_shell = strdup(p);
usr.bin/chpass/field.c
69
if (!(pw->pw_name = strdup(p))) {
usr.bin/chpass/field.c
87
if (!(pw->pw_passwd = strdup(p))) {
usr.bin/chpass/util.c
177
return (strdup(name));
usr.bin/chpass/util.c
181
ret = strdup(sh);
usr.bin/csplit/csplit.c
363
if ((ecopy = strdup(expr)) == NULL)
usr.bin/ctags/tree.c
75
if (!(np->entry = strdup(name)))
usr.bin/ctags/tree.c
80
if (!(np->pat = strdup(lbuf)))
usr.bin/ctlstat/ctlstat.c
510
str = strdup(sbuf_data(targdata->cur_sb[targdata->level]));
usr.bin/diff/diff.c
408
if (env != NULL && *env != '\0' && (p = strdup(env))) {
usr.bin/diff/xmalloc.c
66
if ((cp = strdup(str)) == NULL)
usr.bin/dtc/string.cc
134
std::unique_ptr<char, decltype(free)*> str = {strdup(s.c_str()), free};
usr.bin/du/du.c
504
ign->mask = strdup(mask);
usr.bin/elfctl/elfctl.c
239
if ((feature_tmp = strdup(feature_str)) == NULL)
usr.bin/env/envopts.c
130
*argv = strdup(candidate);
usr.bin/etdump/etdump.c
215
path = strdup(progname);
usr.bin/find/function.c
633
if ((plan->e_argv[plan->e_ppos] = strdup(file)) == NULL)
usr.bin/finger/finger.c
314
if ((*p = strdup(conf_realname+1)) == NULL) {
usr.bin/finger/net.c
132
iov[msg.msg_iovlen].iov_base = strdup(name);
usr.bin/finger/util.c
326
if ((pn->name = strdup(pw->pw_name)) == NULL)
usr.bin/finger/util.c
328
if ((pn->dir = strdup(pw->pw_dir)) == NULL)
usr.bin/finger/util.c
330
if ((pn->shell = strdup(pw->pw_shell)) == NULL)
usr.bin/finger/util.c
356
if ((pn->realname = strdup(name)) == NULL)
usr.bin/finger/util.c
359
strdup(p) : NULL;
usr.bin/finger/util.c
361
strdup(p) : NULL;
usr.bin/finger/util.c
363
strdup(p) : NULL;
usr.bin/fortune/fortune/fortune.c
1386
path = strdup(Fortune_path);
usr.bin/fortune/fortune/fortune.c
1413
Fortune_path_arr[0] = strdup(FORTDIR);
usr.bin/gencat/gencat.c
228
if ((nstr = strdup(str)) == NULL)
usr.bin/grep/util.c
718
if ((ret = strdup(str)) == NULL)
usr.bin/grep/util.c
85
fname_buf = strdup(fname);
usr.bin/gzip/gzip.c
533
s = strdup(gzip);
usr.bin/indent/lexi.c
626
typenames[++typename_top] = copy = strdup(key);
usr.bin/indent/lexi.c
631
typenames[++typename_top] = copy = strdup(key);
usr.bin/indent/lexi.c
642
typenames[p] = copy = strdup(key);
usr.bin/last/last.c
508
mval = strdup("console");
usr.bin/ldd/ldd.c
100
argv[i++] = strdup("-f");
usr.bin/ldd/ldd.c
101
argv[i++] = strdup(fmt2);
usr.bin/ldd/ldd.c
103
argv[i++] = strdup(file);
usr.bin/ldd/ldd.c
92
argv[i++] = strdup(_PATH_LDD32);
usr.bin/ldd/ldd.c
94
argv[i++] = strdup("-a");
usr.bin/ldd/ldd.c
96
argv[i++] = strdup("-f");
usr.bin/ldd/ldd.c
97
argv[i++] = strdup(fmt1);
usr.bin/locale/locale.c
505
sl_add(charmaps, strdup("US-ASCII"));
usr.bin/locale/locale.c
555
sl_add(locales, strdup(dp->d_name));
usr.bin/locale/locale.c
564
sl_add(locales, strdup("POSIX"));
usr.bin/locale/locale.c
567
sl_add(locales, strdup("C"));
usr.bin/locale/locale.c
783
rval = strdup(sbuf_data(kwsbuf));
usr.bin/localedef/collate.c
543
((ud->name = strdup(name)) == NULL)) {
usr.bin/localedef/scanner.c
572
yylval.token = strdup(token);
usr.bin/localedef/scanner.c
652
yylval.token = strdup(token);
usr.bin/logger/logger.c
250
p0 = p = strdup(src);
usr.bin/login/login.c
229
username = strdup(*argv);
usr.bin/login/login.c
431
pwd->pw_dir = strdup("/");
usr.bin/login/login.c
447
pwd->pw_shell = strdup(_PATH_BSHELL);
usr.bin/login/login.c
454
if ((shell = strdup(shell)) == NULL) {
usr.bin/logins/logins.c
114
if ((dupstr = strdup(str)) == NULL)
usr.bin/m4/misc.c
374
char *p = strdup(s);
usr.bin/mail/temp.c
50
if ((tmpdir = strdup(tmpdir)) == NULL)
usr.bin/ministat/ministat.c
493
s->name = strdup(n);
usr.bin/mkcsmapper/yacc.y
690
output = strdup(optarg);
usr.bin/mkesdb/yacc.y
298
output = strdup(optarg);
usr.bin/mkimg/mkimg.c
298
part->contents = strdup(spec);
usr.bin/mkimg/mkimg.c
312
part->label = strdup(sep);
usr.bin/mktemp/mktemp.c
157
name = strdup(argv[0]);
usr.bin/mt/mt.c
1336
param_name = strdup(optarg);
usr.bin/mt/mt.c
1348
param_value = strdup(optarg);
usr.bin/netstat/bpf.c
70
return (strdup("??????"));
usr.bin/netstat/bpf.c
72
return (strdup(newkp.ki_comm));
usr.bin/patch/backupfile.c
59
tmp_file = strdup(file);
usr.bin/patch/backupfile.c
66
tmp_file = strdup(file);
usr.bin/patch/util.c
193
rv = strdup(s);
usr.bin/patch/util.c
213
rv = strdup(s);
usr.bin/patch/util.c
333
if ((tmpbuf = strdup(filename)) == NULL)
usr.bin/pathchk/pathchk.c
103
if ((pathd = strdup(path)) == NULL)
usr.bin/pr/pr.c
1846
timefrmt = strdup(d_first ? TIMEFMTD : TIMEFMTM);
usr.bin/printf/printf.c
365
if ((p = strdup(getstr())) == NULL) {
usr.bin/procstat/procstat_kqueue.c
140
res = strdup("-");
usr.bin/procstat/procstat_kqueue.c
219
return (strdup("-"));
usr.bin/procstat/procstat_kstack.c
135
cp_tofree = cp_loop = strdup(new);
usr.bin/procstat/procstat_kstack.c
137
cp_tofree = cp_loop = strdup(old);
usr.bin/quota/quota.c
451
if ((buf = strdup("none")) == NULL)
usr.bin/rctl/rctl.c
117
tofree = copy = strdup(rule);
usr.bin/rctl/rctl.c
135
copy = strdup(rule);
usr.bin/rctl/rctl.c
182
tofree = copy = strdup(rule);
usr.bin/rctl/rctl.c
312
tofree = copy = strdup(rule);
usr.bin/rctl/rctl.c
465
tofree = copy = strdup(usage);
usr.bin/rctl/rctl.c
628
rule = strdup("::");
usr.bin/rpcgen/rpc_cout.c
677
upp_case = strdup("LONG");
usr.bin/rpcgen/rpc_cout.c
683
upp_case = strdup("U_LONG");
usr.bin/rpcgen/rpc_util.c
496
if ((p = strdup(str)) == NULL) {
usr.bin/rpcinfo/rpcinfo.c
778
list->rpcb_map.r_addr = strdup("0.0.0.0.XXX.XXX");
usr.bin/sdiff/sdiff.c
937
if (!(*s = strdup(append)))
usr.bin/sed/compile.c
744
s->wfile = strdup(wfile);
usr.bin/sed/main.c
408
if ((dirbuf = strdup(fname)) == NULL ||
usr.bin/sed/main.c
409
(basebuf = strdup(fname)) == NULL)
usr.bin/sort/mem.c
88
if ((dup = strdup(str)) == NULL)
usr.bin/sort/sort.c
1144
random_source = strdup(optarg);
usr.bin/sort/sort.c
1147
compress_program = strdup(optarg);
usr.bin/su/su.c
258
username = strdup(pwd->pw_name);
usr.bin/systat/cmds.c
52
tmpstr = tmpstr1 = strdup(cmd);
usr.bin/systat/devs.c
229
tmpstr = tmpstr1 = strdup(args);
usr.bin/systat/devs.c
303
tmpstr = tmpstr1 = strdup(args);
usr.bin/systat/devs.c
329
strdup(tmpstr1);
usr.bin/systat/ifcmds.c
65
matchline = strdup(args);
usr.bin/systat/main.c
108
cmd->argv = strdup(argv[0]);
usr.bin/systat/main.c
97
cmd->cmd = strdup(&argv[0][1]);
usr.bin/systat/netcmds.c
128
tmpstr = tmpstr1 = strdup(args);
usr.bin/systat/netstat.c
300
p->ni_proto = strdup(proto);
usr.bin/systat/vmstat.c
240
cp2 = strdup(cp);
usr.bin/talk/io.c
83
his_machine_name = strdup(hp->h_name);
usr.bin/talk/io.c
88
his_machine_name = strdup(inet_ntoa(his_machine_addr));
usr.bin/tcopy/tcopy.cc
83
name = strdup(spec);
usr.bin/tip/tip/value.c
126
if ((p->v_value = strdup(v)) == NOSTR) {
usr.bin/top/top.c
909
} else if ((ps.command = strdup(tempbuf1)) == NULL)
usr.bin/tr/tr.c
194
if ((s2.str = strdup(argv[1])) == NULL)
usr.bin/units/units.c
108
ret = strdup(str);
usr.bin/usbhidaction/usbhidaction.c
447
cmd->name = strdup(name);
usr.bin/usbhidaction/usbhidaction.c
448
cmd->action = strdup(action);
usr.bin/usbhidctl/usbhid.c
119
tmp1 = tmp2 = strdup(names[i]);
usr.bin/w/w.c
302
ep->from = strdup(p);
usr.bin/w/w.c
306
ep->save_from = strdup(save_p);
usr.bin/w/w.c
388
ep->args = strdup("-");
usr.bin/whereis/whereis.c
285
b = strdup(cp);
usr.bin/whereis/whereis.c
301
b = strdup(buf);
usr.bin/whereis/whereis.c
310
b = strdup(sourcepath);
usr.bin/whereis/whereis.c
457
bin = strdup(cp);
usr.bin/whereis/whereis.c
523
cp2 = strdup(buf);
usr.bin/whereis/whereis.c
529
man = strdup(cp2);
usr.bin/whereis/whereis.c
568
src = strdup(cp);
usr.bin/whereis/whereis.c
636
src = strdup(buf);
usr.bin/xargs/xargs.c
499
if ((*tmp++ = strdup(*avj++)) == NULL) {
usr.bin/xargs/xargs.c
522
if ((*tmp = strdup(*tmp)) == NULL) {
usr.bin/xinstall/xinstall.c
735
to_name_copy = strdup(to_name);
usr.bin/xstr/xstr.c
112
strings = strdup(_PATH_TMP);
usr.bin/xstr/xstr.c
345
if (!(hp->hstr = strdup(str)))
usr.sbin/apmd/apmd.c
147
if ((newone->line = strdup(oldone->line)) == NULL)
usr.sbin/autofs/common.c
194
n->n_options = strdup("");
usr.sbin/autofs/common.c
225
n->n_options = strdup("");
usr.sbin/autofs/common.c
78
c = strdup(s);
usr.sbin/bhyve/amd64/pci_lpc.c
100
str = cpy = strdup(opts);
usr.sbin/bhyve/bhyverun.c
150
tofree = str = strdup(opt);
usr.sbin/bhyve/bhyverun.c
203
tofree = str = strdup(opt);
usr.sbin/bhyve/bootrom.c
219
romfile = strdup(bootrom);
usr.sbin/bhyve/config.c
55
copy = strdup(path);
usr.sbin/bhyve/gdb.c
2193
sport = strdup(value);
usr.sbin/bhyve/net_backends.c
340
devname = strdup(value);
usr.sbin/bhyve/pci_ahci.c
2407
tofree = str = strdup(opts);
usr.sbin/bhyve/pci_emul.c
242
config = tofree = strdup(opt);
usr.sbin/bhyve/pci_emul.c
280
str = strdup(opt);
usr.sbin/bhyve/pci_fbuf.c
298
sc->rfb_host = strdup(value + 5);
usr.sbin/bhyve/pci_fbuf.c
357
sc->rfb_password = strdup(value);
usr.sbin/bhyve/pci_hda.c
343
play = strdup(value);
usr.sbin/bhyve/pci_hda.c
348
rec = strdup(value);
usr.sbin/bhyve/pci_virtio_9p.c
228
tokens = tofree = strdup(opts);
usr.sbin/bhyve/pci_virtio_console.c
309
pathcopy = strdup(path);
usr.sbin/bhyve/pci_virtio_console.c
677
tofree = str = strdup(opts);
usr.sbin/bhyve/pci_xhci.c
2737
tofree = str = strdup(opts);
usr.sbin/bhyve/qemu_fwcfg.c
585
fwcfg_file->data = strdup(opt_ptr);
usr.sbin/bhyve/slirp/slirp-helper.c
348
p = strdup(descr);
usr.sbin/bhyve/slirp/slirp-helper.c
548
tofree = rules = strdup(hostfwd);
usr.sbin/bhyvectl/bhyvectl.c
296
if ((path = strdup(file)) == NULL)
usr.sbin/bhyveload/bhyveload.c
582
env->str = strdup(str);
usr.sbin/bhyveload/bhyveload.c
768
loader = strdup("userboot.so");
usr.sbin/bhyveload/bhyveload.c
829
loader = strdup(optarg);
usr.sbin/binmiscctl/binmiscctl.c
305
magic = strdup(optarg);
usr.sbin/binmiscctl/binmiscctl.c
310
mask = strdup(optarg);
usr.sbin/bluetooth/ath3kfw/ath3k_fw.c
93
fw->fwname = strdup(fwname);
usr.sbin/bluetooth/ath3kfw/main.c
280
firmware_path = strdup(optarg);
usr.sbin/bluetooth/ath3kfw/main.c
375
firmware_path = strdup(_DEFAULT_ATH3K_FIRMWARE_PATH);
usr.sbin/bluetooth/bthidd/parser.y
162
hid_device->name = strdup($2);
usr.sbin/bluetooth/hccontrol/hccontrol.c
115
node = lnode = strdup(nodes[0].name);
usr.sbin/bluetooth/hcsecd/parser.y
125
key->name = strdup($2);
usr.sbin/bluetooth/hcsecd/parser.y
171
key->pin = strdup($2);
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
94
fw->fwname = strdup(fwname);
usr.sbin/bluetooth/iwmbtfw/main.c
671
firmware_dir = strdup(optarg);
usr.sbin/bluetooth/iwmbtfw/main.c
692
firmware_dir = strdup(_DEFAULT_IWMBT_FIRMWARE_PATH);
usr.sbin/bluetooth/l2ping/l2ping.c
156
rname = strdup(he->h_name);
usr.sbin/bluetooth/rtlbtfw/main.c
341
firmware_dir = strdup(optarg);
usr.sbin/bluetooth/rtlbtfw/main.c
416
firmware_dir = strdup(_DEFAULT_RTLBT_FIRMWARE_PATH);
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
213
fw->fwname = strdup(fwname);
usr.sbin/boot0cfg/boot0cfg.c
552
if (!(s = strdup(arg)))
usr.sbin/bsdinstall/distextract/distextract.c
77
if ((distribs = strdup(distributions)) == NULL)
usr.sbin/bsdinstall/distfetch/distfetch.c
60
diststring = strdup(getenv("DISTRIBUTIONS"));
usr.sbin/bsdinstall/partedit/gpart_ops.c
1171
items[0].value = strdup(items[0].init);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1172
items[1].value = strdup(items[1].init);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1173
items[2].value = strdup(items[2].init);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1175
items[3].value = strdup(items[3].init);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1353
*partname = strdup(newpartname);
usr.sbin/bsdinstall/partedit/gpart_ops.c
744
zpool_name = strdup((strlen(mountpoint) == 1) ?
usr.sbin/bsdinstall/partedit/gpart_ops.c
787
md->fstab->fs_spec = strdup(zpool_name);
usr.sbin/bsdinstall/partedit/gpart_ops.c
791
md->fstab->fs_file = strdup(mountpoint);
usr.sbin/bsdinstall/partedit/gpart_ops.c
794
md->fstab->fs_vfstype = strdup(&type[8]);
usr.sbin/bsdinstall/partedit/gpart_ops.c
797
md->fstab->fs_vfstype = strdup("msdosfs");
usr.sbin/bsdinstall/partedit/gpart_ops.c
799
md->fstab->fs_vfstype = strdup(type); /* Guess */
usr.sbin/bsdinstall/partedit/gpart_ops.c
801
md->fstab->fs_type = strdup(FSTAB_SW);
usr.sbin/bsdinstall/partedit/gpart_ops.c
805
md->fstab->fs_type = strdup(FSTAB_RW);
usr.sbin/bsdinstall/partedit/gpart_ops.c
809
md->fstab->fs_type = strdup(FSTAB_RW);
usr.sbin/bsdinstall/partedit/gpart_ops.c
818
md->fstab->fs_mntops = strdup(md->fstab->fs_type);
usr.sbin/bsdinstall/partedit/part_wizard.c
192
disks[n-1].desc = strdup(diskdesc);
usr.sbin/bsdinstall/partedit/part_wizard.c
205
strdup(disks[selected].name) : NULL;
usr.sbin/bsdinstall/partedit/part_wizard.c
207
chosen = strdup(disks[0].name);
usr.sbin/bsdinstall/partedit/part_wizard.c
347
retval = strdup(disk);
usr.sbin/bsdinstall/partedit/partedit.c
245
md->name = strdup(name);
usr.sbin/bsdinstall/partedit/partedit.c
596
md->name = strdup(&fstab->fs_spec[5]);
usr.sbin/bsdinstall/partedit/partedit.c
599
md->fstab->fs_spec = strdup(fstab->fs_spec);
usr.sbin/bsdinstall/partedit/partedit.c
600
md->fstab->fs_file = strdup(fstab->fs_file);
usr.sbin/bsdinstall/partedit/partedit.c
601
md->fstab->fs_vfstype = strdup(fstab->fs_vfstype);
usr.sbin/bsdinstall/partedit/partedit.c
602
md->fstab->fs_mntops = strdup(fstab->fs_mntops);
usr.sbin/bsdinstall/partedit/partedit.c
603
md->fstab->fs_type = strdup(fstab->fs_type);
usr.sbin/bsdinstall/partedit/scripted.c
107
disk = strdup(disk);
usr.sbin/bsdinstall/runconsoles/runconsoles.c
286
cons = strdup(buf);
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
531
if ((new_name = strdup(b_name)) == NULL) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c
186
if ((entry->name = strdup(map->name_key)) == NULL) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c
192
if ((entry->location = strdup(map->location_key)) == NULL) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_fs_tbl.c
203
if ((entry->mountPoint = strdup(name)) == NULL) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_fs_tbl.c
357
entry->remoteMountPoint = strdup(fs_p->f_mntfromname);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_fs_tbl.c
361
entry->remoteMountPoint = strdup("");
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c
221
if ((entry->id = strdup(map->id)) == NULL) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c
193
if ((entry->descr = strdup(map->a_name)) == NULL) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
177
if ((entry->name = strdup(map->name)) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
769
if ((string = strdup(nexttok)) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
273
if ((e_new->enum_str = strdup(enum_str)) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
557
if ((enum_tc->name = strdup(name)) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
251
if ((fstring = strdup(filename)) == NULL) {
usr.sbin/btxld/btxld.c
254
if (!(tname = strdup(name)))
usr.sbin/camdd/camdd.c
3434
tmpstr = strdup(args);
usr.sbin/camdd/camdd.c
3466
io_opts->dev_name = strdup(value);
usr.sbin/camdd/camdd.c
3474
io_opts->dev_name = strdup(value);
usr.sbin/certctl/certctl.c
52
if ((dup = strdup(str)) == NULL)
usr.sbin/config/config.h
278
#define ns(s) strdup(s)
usr.sbin/config/config.y
408
np->yyfile = strdup(yyfile);
usr.sbin/config/config.y
474
op->yyfile = strdup(yyfile);
usr.sbin/config/config.y
91
#define ns(s) strdup(s)
usr.sbin/config/main.cc
280
(pwd = strdup(pwd)) != NULL) {
usr.sbin/config/main.cc
450
cp = strdup(destdir);
usr.sbin/cron/cron/do_command.c
373
homedir = strdup(pwd->pw_dir);
usr.sbin/cron/cron/user.c
73
if ((u->name = strdup(name)) == NULL) {
usr.sbin/cron/lib/entry.c
325
e->class = strdup(s + 1);
usr.sbin/cron/lib/entry.c
329
e->class = strdup(RESOURCE_RC);
usr.sbin/cron/lib/entry.c
499
e->cmd = strdup(cmd);
usr.sbin/cron/lib/env.c
100
if ((envp[found] = strdup(envstr)) == NULL) {
usr.sbin/cron/lib/env.c
122
if ((p[count-1] = strdup(envstr)) == NULL) {
usr.sbin/cron/lib/env.c
64
if ((p[i] = strdup(envp[i])) == NULL) {
usr.sbin/crunch/crunchgen/crunchgen.c
1197
p2->str = strdup(str);
usr.sbin/crunch/crunchgen/crunchgen.c
145
if ((objprefix = strdup(p)) == NULL)
usr.sbin/crunch/crunchgen/crunchgen.c
164
if ((objprefix = strdup(optarg)) == NULL)
usr.sbin/crunch/crunchgen/crunchgen.c
420
p2->name = strdup(progname);
usr.sbin/crunch/crunchgen/crunchgen.c
529
if ((p->ident = strdup(argv[3])) == NULL)
usr.sbin/crunch/crunchgen/crunchgen.c
534
if ((p->srcdir = strdup(argv[3])) == NULL)
usr.sbin/crunch/crunchgen/crunchgen.c
539
if((p->objdir = strdup(argv[3])) == NULL)
usr.sbin/crunch/crunchgen/crunchgen.c
556
if ((p->objvar = strdup(argv[3])) == NULL)
usr.sbin/crunch/crunchgen/crunchgen.c
670
if ((p->objdir = strdup(line)) == NULL)
usr.sbin/crunch/crunchgen/crunchgen.c
959
if ((n = strdup(str)) == NULL)
usr.sbin/crunch/crunchgen/crunchgen.c
983
if ((srcdir = strdup(path)) == NULL)
usr.sbin/crunch/crunchide/crunchide.c
156
if(newp) newp->sym = strdup(symbol);
usr.sbin/ctladm/ctladm.c
1673
filename = strdup(optarg);
usr.sbin/ctladm/ctladm.c
2435
backend_name = strdup(optarg);
usr.sbin/ctladm/ctladm.c
2442
device_id = strdup(optarg);
usr.sbin/ctladm/ctladm.c
2452
tmpstr = strdup(optarg);
usr.sbin/ctladm/ctladm.c
2484
serial_num = strdup(optarg);
usr.sbin/ctladm/ctladm.c
2599
backend_name = strdup(optarg);
usr.sbin/ctladm/ctladm.c
2609
tmpstr = strdup(optarg);
usr.sbin/ctladm/ctladm.c
2702
backend_name = strdup(optarg);
usr.sbin/ctladm/ctladm.c
2712
tmpstr = strdup(optarg);
usr.sbin/ctladm/ctladm.c
2896
str = strdup(sbuf_data(islist->cur_sb[islist->level]));
usr.sbin/ctladm/ctladm.c
3103
initiator_name = strdup(optarg);
usr.sbin/ctladm/ctladm.c
3109
initiator_addr = strdup(optarg);
usr.sbin/ctladm/ctladm.c
3176
initiator_name = strdup(optarg);
usr.sbin/ctladm/ctladm.c
3182
initiator_addr = strdup(optarg);
usr.sbin/ctladm/ctladm.c
3329
str = strdup(sbuf_data(devlist->cur_sb[devlist->level]));
usr.sbin/ctladm/ctladm.c
3405
backend = strdup(optarg);
usr.sbin/ctladm/ctladm.c
3585
str = strdup(sbuf_data(portlist->cur_sb[portlist->level]));
usr.sbin/ctladm/ctladm.c
3697
frontend = strdup(optarg);
usr.sbin/ctladm/ctladm.c
3931
str = strdup(sbuf_data(nvlist->cur_sb[nvlist->level]));
usr.sbin/ctladm/ctladm.c
4114
hostnqn = strdup(optarg);
usr.sbin/ctladm/ctladm.c
4437
device = strdup(optarg);
usr.sbin/ctladm/ctladm.c
4460
device = strdup(CTL_DEFAULT_DEV);
usr.sbin/ctladm/ctladm.c
469
tmpstr = strdup(optarg);
usr.sbin/ctladm/ctladm.c
497
driver = strdup(optarg);
usr.sbin/ctladm/ctladm.c
549
driver = strdup("ioctl");
usr.sbin/ctladm/ctladm.c
744
delaytype = strdup(optarg);
usr.sbin/ctladm/ctladm.c
747
delayloc = strdup(optarg);
usr.sbin/ctladm/ctladm.c
921
tmpstr = strdup(optarg);
usr.sbin/cxgbetool/cxgbetool.c
3384
next = settings = strdup(settings_ro);
usr.sbin/efibootmgr/efibootmgr.c
242
opts.env = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
259
opts.kernel = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
263
opts.label = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
267
opts.loader = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
281
opts.order = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
295
opts.dev = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
346
nent->name = strdup(next_name);
usr.sbin/efibootmgr/efibootmgr.c
378
cp = strdup(order);
usr.sbin/efivar/efivar.c
373
fromfile = strdup(optarg);
usr.sbin/fdread/fdutil.c
182
s1 = strdup(s);
usr.sbin/fstyp/fstyp.c
148
c = strdup(s);
usr.sbin/fstyp/hammer.c
152
dup = strdup(blkdevs);
usr.sbin/fstyp/hammer2.c
183
p = strdup(devpath);
usr.sbin/fstyp/hammer2.c
197
p = strdup(p);
usr.sbin/inetd/inetd.c
2076
if ((cr = strdup(cp != NULL ? cp : "")))
usr.sbin/inetd/inetd.c
2281
chBest->ch_Service = strdup(sep->se_service);
usr.sbin/inetd/inetd.c
2294
chBest->ch_Service = strdup(sep->se_service);
usr.sbin/iovctl/iovctl.c
194
device = strdup(optarg);
usr.sbin/iovctl/parse.c
125
parse = strdup(val);
usr.sbin/ip6addrctl/ip6addrctl.c
313
if ((prefix = strdup(prefix0)) == NULL)
usr.sbin/jail/config.c
395
nv->name = strdup(v->name);
usr.sbin/jail/jail.c
612
ns = strdup(str);
usr.sbin/kbdmap/kbdmap.c
136
km->desc = strdup(desc);
usr.sbin/kbdmap/kbdmap.c
143
km_new->desc = strdup(desc);
usr.sbin/kbdmap/kbdmap.c
144
km_new->keym = strdup(keym);
usr.sbin/kbdmap/kbdmap.c
243
fnt = strdup(buf);
usr.sbin/kbdmap/kbdmap.c
275
tmp = strdup(fnt);
usr.sbin/kbdmap/kbdmap.c
332
tmp = strdup(km->keym);
usr.sbin/kbdmap/kbdmap.c
428
buffer_copy = strdup(buffer);
usr.sbin/kbdmap/kbdmap.c
626
char *tmp = strdup(lng);
usr.sbin/kbdmap/kbdmap.c
694
title = strdup(km->desc);
usr.sbin/kbdmap/kbdmap.c
698
menu = strdup(km->desc);
usr.sbin/kbdmap/kbdmap.c
702
font = strdup(km->desc);
usr.sbin/kbdmap/kbdmap.c
721
q = strdup(dp->d_name);
usr.sbin/kldxref/kldxref.c
651
ehdr_filename = strdup(filename);
usr.sbin/lpr/chkprintcap/chkprintcap.c
103
pcap_fname = strdup(_PATH_PRINTCAP);
usr.sbin/lpr/chkprintcap/chkprintcap.c
235
dp->printer = strdup(pp->printer);
usr.sbin/lpr/chkprintcap/chkprintcap.c
238
dp->path = strdup(pp->spool_dir);
usr.sbin/lpr/chkprintcap/chkprintcap.c
86
pcap_fname = strdup(optarg);
usr.sbin/lpr/common_source/ctlinfo.c
127
char *strdup(const char *_src);
usr.sbin/lpr/common_source/ctlinfo.c
308
cpriv->pub.cji_curqueue = strdup(ptrname);
usr.sbin/lpr/common_source/ctlinfo.c
337
cpriv->pub.cji_class = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
342
cpriv->pub.cji_accthost = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
345
cpriv->pub.cji_jobname = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
348
cpriv->pub.cji_headruser = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
360
cpriv->pub.cji_mailto = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
368
cpriv->pub.cji_acctuser = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
381
cpriv->pub.cji_accthost = strdup(".na.");
usr.sbin/lpr/common_source/ctlinfo.c
383
cpriv->pub.cji_acctuser = strdup(".na.");
usr.sbin/lpr/common_source/ctlinfo.c
455
return strdup(errm);
usr.sbin/lpr/common_source/ctlinfo.c
743
return strdup(errm);
usr.sbin/lpr/common_source/ctlinfo.c
744
return strdup("ctl_renametf internal (missed) error");
usr.sbin/lpr/common_source/ctlinfo.c
775
return strdup(errm);
usr.sbin/lpr/common_source/matchjobs.c
470
jspec->matcheduser = strdup(cfinf->cji_acctuser);
usr.sbin/lpr/common_source/printcap.c
376
*result = strdup(dflt);
usr.sbin/lpr/lpc/cmds.c
138
generic_nullarg = strdup("");
usr.sbin/lpr/lpc/cmds.c
255
return strdup("\n");
usr.sbin/lpr/lpc/cmds.c
267
return strdup(buf);
usr.sbin/lpr/lpc/cmds.c
909
generic_msg = strdup("printing disabled\n");
usr.sbin/lpr/lpd/lpd.c
708
from_ip = strdup(hostbuf);
usr.sbin/lpr/lpd/printjob.c
1638
daemon_uname = strdup(pwd->pw_name);
usr.sbin/lpr/lpd/printjob.c
1965
char *s = strdup(pp->mode_set), *tmp;
usr.sbin/lpr/pac/pac.c
330
hp->h_name = strdup(name);
usr.sbin/mailwrapper/mailwrapper.c
83
else if ((al->argv[al->argc++] = strdup(arg)) == NULL)
usr.sbin/makefs/mtree.c
292
res = (error == 0) ? strdup(sbuf_data(sb)) : NULL;
usr.sbin/memcontrol/memcontrol.c
165
owner = strdup(optarg);
usr.sbin/memcontrol/memcontrol.c
280
owner = strdup(optarg);
usr.sbin/mixer/mixer.c
146
if ((orig = p = strdup(*argv)) == NULL)
usr.sbin/mountd/mountd.c
1728
ep->ex_fsdir = strdup(fsb.f_mntonname);
usr.sbin/mountd/mountd.c
2983
ep->ex_indexfile = strdup(cpoptarg);
usr.sbin/mountd/mountd.c
3063
ai->ai_canonname = strdup(host);
usr.sbin/mountd/mountd.c
3531
if ((net->nt_name = strdup(name)) == NULL)
usr.sbin/mountd/mountd.c
501
svcport_str = strdup(optarg);
usr.sbin/mountd/mountd.c
516
hosts[nhosts - 1] = strdup(optarg);
usr.sbin/moused/moused/util.h
190
s = strdup(str);
usr.sbin/newsyslog/newsyslog.c
1127
errline = strdup(line);
usr.sbin/newsyslog/newsyslog.c
1472
working->pid_cmd_file = strdup(q);
usr.sbin/newsyslog/newsyslog.c
1530
working->pid_cmd_file = strdup(path_syslogpid);
usr.sbin/newsyslog/newsyslog.c
1676
if ((dirbuf = strdup(ent->log)) == NULL)
usr.sbin/newsyslog/newsyslog.c
1681
if ((basebuf = strdup(ent->log)) == NULL)
usr.sbin/newsyslog/newsyslog.c
1704
if ((oldlogs[logcnt].fname = strdup(dp->d_name)) == NULL)
usr.sbin/newsyslog/newsyslog.c
1820
inc->file = strdup(fname);
usr.sbin/newsyslog/newsyslog.c
2514
if ((dirbuf = strdup(file)) == NULL) {
usr.sbin/newsyslog/newsyslog.c
2519
if ((logfnamebuf = strdup(file)) == NULL) {
usr.sbin/newsyslog/newsyslog.c
416
tempwork->log = strdup(fname);
usr.sbin/newsyslog/newsyslog.c
425
tempwork->pid_cmd_file = strdup(src_entry->pid_cmd_file);
usr.sbin/newsyslog/newsyslog.c
666
ent->r_reason = strdup(temp_reason);
usr.sbin/newsyslog/newsyslog.c
728
timefnamefmt = strdup(DEFAULT_TIMEFNAME_FMT);
usr.sbin/newsyslog/newsyslog.c
730
timefnamefmt = strdup(optarg);
usr.sbin/newsyslog/newsyslog.c
764
requestor = strdup(optarg);
usr.sbin/nfsd/nfsd.c
1229
cp = strdup(optionarg);
usr.sbin/nfsd/nfsd.c
207
bindhost[bindhostc-1] = strdup(optarg);
usr.sbin/nfsd/nfsd.c
302
bindhost[bindhostc-1] = strdup("*");
usr.sbin/nscd/agents/group.c
228
retval->parent.name = strdup("group");
usr.sbin/nscd/agents/group.c
248
retval->parent.name = strdup("group");
usr.sbin/nscd/agents/passwd.c
236
retval->parent.name = strdup("passwd");
usr.sbin/nscd/agents/passwd.c
256
retval->parent.name = strdup("passwd");
usr.sbin/nscd/agents/services.c
249
retval->parent.name = strdup("services");
usr.sbin/nscd/agents/services.c
269
retval->parent.name = strdup("services");
usr.sbin/nscd/mp_rs_query.c
197
dec_cache_entry_name = strdup(
usr.sbin/nscd/nscd.c
642
user_config_entry_name = strdup(optarg);
usr.sbin/nscd/nscd.c
649
strdup(optarg);
usr.sbin/pciconf/pciconf.c
1128
if ((cv->desc = strdup(str)) == NULL) {
usr.sbin/pciconf/pciconf.c
1153
if ((cd->desc = strdup(str)) == NULL) {
usr.sbin/pkg/config.c
276
strdup(ucl_object_tostring(seq));
usr.sbin/pkg/config.c
283
strdup(ucl_object_toboolean(cur) ? "yes" : "no");
usr.sbin/pkg/config.c
298
temp_config[i].value = strdup(ucl_object_tostring(cur));
usr.sbin/pkg/config.c
389
repo->name = strdup(reponame);
usr.sbin/pkg/config.c
400
repo->url = strdup(ucl_object_tostring(cur));
usr.sbin/pkg/config.c
415
repo->fingerprints = strdup(ucl_object_tostring(cur));
usr.sbin/pkg/config.c
420
repo->pubkey = strdup(ucl_object_tostring(cur));
usr.sbin/pkg/config.c
593
strdup(env_list_item);
usr.sbin/pkg/config.c
618
cv->value = strdup("/etc/pkg");
usr.sbin/pkg/config.c
684
r->name = strdup("fallback");
usr.sbin/pkg/pkg.c
429
f->name = strdup(filename);
usr.sbin/pkg/pkg.c
527
return (strdup("rsa"));
usr.sbin/pkg/pkg.c
629
sc->type = strdup("rsa");
usr.sbin/pkg/pkg.c
804
sc->name = strdup(fingerprint->name);
usr.sbin/pmc/cmd_pmc_filter.cc
313
events = strdup(optarg);
usr.sbin/pmc/cmd_pmc_filter.cc
319
pids = strdup(optarg);
usr.sbin/pmc/cmd_pmc_filter.cc
322
processes = strdup(optarg);
usr.sbin/pmc/cmd_pmc_filter.cc
325
lwps = strdup(optarg);
usr.sbin/pmc/cmd_pmc_filter.cc
328
threads = strdup(optarg);
usr.sbin/pmc/cmd_pmc_stat.c
181
counters = strdup(arg);
usr.sbin/pmc/cmd_pmc_stat.c
203
pmc_args.pa_outputpath = strdup("/dev/null");
usr.sbin/pmc/cmd_pmc_stat.c
213
ev->ev_spec = strdup(stat_mode_cntrs[i]);
usr.sbin/pmc/cmd_pmc_stat.c
216
c = strcspn(strdup(stat_mode_cntrs[i]), ", \t");
usr.sbin/pmc/cmd_pmc_stat.c
331
r = event = strdup(optarg);
usr.sbin/pmcannotate/pmcannotate.c
164
agg->ag_name = strdup(name);
usr.sbin/pmcannotate/pmcannotate.c
284
obj->en_name = strdup(name);
usr.sbin/pmcstat/pmcpl_gprof.c
328
if ((snbuf = strdup(execpath)) == NULL)
usr.sbin/pmcstat/pmcstat.c
671
ev->ev_spec = strdup(optarg);
usr.sbin/ppp/auth.c
114
(*resp)[0].resp = strdup((const char *)data);
usr.sbin/ppp/bundle.c
1564
iov[0].iov_base = strdup(Version);
usr.sbin/ppp/chat.c
757
char *name = strdup(vector[0]);
usr.sbin/ppp/command.c
531
nargv[0] = strdup(oargv[0]);
usr.sbin/ppp/command.c
550
nargv[arg] = strdup(oargv[arg]);
usr.sbin/ppp/datalink.c
1329
dl->name = strdup(dl->name);
usr.sbin/ppp/datalink.c
1429
dl->physical->link.name = dl->name = strdup(name);
usr.sbin/ppp/datalink.c
843
dl->name = strdup(name);
usr.sbin/ppp/datalink.c
899
dl->name = strdup(name);
usr.sbin/ppp/iface.c
151
iface->name = strdup(name);
usr.sbin/ppp/iface.c
360
if ((newname = strdup(name)) == NULL) {
usr.sbin/pstat/pstat.c
172
nl[namelist[i].order].n_name = strdup(namelist[i].name);
usr.sbin/pw/pw_conf.c
234
if ((q = strdup(p)) == NULL)
usr.sbin/pw/pw_user.c
104
dirs = strdup(dir);
usr.sbin/pw/pw_user.c
215
pwd->pw_passwd = strdup(line);
usr.sbin/quot/quot.c
236
usr->name = strdup(pwd->pw_name);
usr.sbin/rarpd/rarpd.c
971
p = strdup("");
usr.sbin/rpc.lockd/lockd.c
161
hosts[nhosts - 1] = strdup(optarg);
usr.sbin/rpc.lockd/lockd.c
175
svcport_str = strdup(optarg);
usr.sbin/rpc.lockd/lockd.c
230
hosts[0] = strdup("*");
usr.sbin/rpc.lockd/lockd.c
245
hosts[nhosts - 2] = strdup("::1");
usr.sbin/rpc.lockd/lockd.c
259
hosts[nhosts - 1] = strdup("127.0.0.1");
usr.sbin/rpc.lockd/lockd.c
672
addrs[2 * naddrs] = strdup(nconf->nc_netid);
usr.sbin/rpc.statd/statd.c
116
hosts[nhosts - 1] = strdup(optarg);
usr.sbin/rpc.statd/statd.c
131
svcport_str = strdup(optarg);
usr.sbin/rpc.statd/statd.c
162
hosts[0] = strdup("*");
usr.sbin/rpc.statd/statd.c
178
hosts[nhosts - 2] = strdup("::1");
usr.sbin/rpc.statd/statd.c
192
hosts[nhosts - 1] = strdup("127.0.0.1");
usr.sbin/rpc.umntall/mounttab.c
192
host = strdup(hostp);
usr.sbin/rpcbind/rpcb_svc_com.c
179
a->r_netid = strdup(reg.r_netid);
usr.sbin/rpcbind/rpcb_svc_com.c
180
a->r_addr = strdup(reg.r_addr);
usr.sbin/rpcbind/rpcb_svc_com.c
181
a->r_owner = strdup(owner);
usr.sbin/rpcbind/rpcb_svc_com.c
296
reg.r_netid = strdup(rbl->rpcb_map.r_netid);
usr.sbin/rpcbind/rpcb_svc_com.c
327
uaddr = strdup(fnd->rpcb_map.r_addr);
usr.sbin/rpcbind/rpcb_svc_com.c
512
rmt->netid = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
603
tcptrans = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
615
udptrans = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
796
rbl->rpcb_map.r_netid = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
798
rbl->rpcb_map.r_owner = strdup(rpcbind_superuser);
usr.sbin/rpcbind/rpcbind.c
877
hosts[nhosts - 1] = strdup(optarg);
usr.sbin/rpcbind/rpcbind.c
900
pidfile_path = strdup(optarg);
usr.sbin/rpcbind/util.c
165
ret = strdup(serv_uaddr);
usr.sbin/rrenumd/parser.y
251
$$.cp = strdup($1.cp);
usr.sbin/rrenumd/parser.y
257
$$.cp = strdup(&$1.cp[1]);
usr.sbin/rrenumd/rrenumd.c
572
policy = strdup(optarg);
usr.sbin/rtadvctl/rtadvctl.c
357
action_argv = strdup(":reload=");
usr.sbin/rtadvctl/rtadvctl.c
376
action_argv = strdup("echo");
usr.sbin/rtadvctl/rtadvctl.c
385
action_argv = strdup("shutdown");
usr.sbin/rtadvctl/rtadvctl.c
397
action_argv = strdup(":version=");
usr.sbin/rtadvd/control_server.c
113
cp->cp_val = strdup("");
usr.sbin/rtadvd/control_server.c
124
cp->cp_val = strdup(CM_VERSION_STR);
usr.sbin/rtsold/rtsol.c
434
rao->rao_msg = strdup(nsbuf);
usr.sbin/rtsold/rtsol.c
493
rao->rao_msg = strdup(dname);
usr.sbin/rtsold/rtsold.c
911
argv[n] = strdup(ifa->ifa_name);
usr.sbin/services_mkdb/services_mkdb.c
173
(dbname_dirbuf = strdup(dbname)) == NULL ||
usr.sbin/services_mkdb/services_mkdb.c
319
if ((p2 = strdup(name)) == NULL)
usr.sbin/services_mkdb/services_mkdb.c
331
if ((p2 = strdup(alias)) == NULL)
usr.sbin/services_mkdb/services_mkdb.c
417
if ((p = strdup(str)) == NULL)
usr.sbin/sesutil/sesutil.c
598
*model = strdup("?");
usr.sbin/sesutil/sesutil.c
599
*serial = strdup("?");
usr.sbin/sesutil/sesutil.c
608
*model = strdup(arg.value.str);
usr.sbin/sesutil/sesutil.c
613
*serial = strdup(ident);
usr.sbin/setfmac/setfmac.c
336
entry->mactext = strdup(macstr);
usr.sbin/sndctl/sndctl.c
986
if ((s = strdup(*argv)) == NULL) {
usr.sbin/syslogd/syslogd.c
2761
filter = strdup(cfilter);
usr.sbin/syslogd/syslogd.c
3728
argv[0] = strdup("sh");
usr.sbin/syslogd/syslogd.c
3729
argv[1] = strdup("-c");
usr.sbin/syslogd/syslogd.c
3730
argv[2] = strdup(prog);
usr.sbin/syslogd/syslogd.c
3930
char *name2 = strdup(name);
usr.sbin/syslogd/syslogd.c
3933
sl->sl_name = strdup(basename(name2));
usr.sbin/syslogd/syslogd_cap_config.c
80
pfilter->pflt_strval = strdup(nvlist_get_string(nvl_prop_filter,
usr.sbin/traceroute/ifaddrlist.c
152
al->device = strdup(device);
usr.sbin/traceroute/traceroute.c
1934
hi->name = strdup(hostname);
usr.sbin/traceroute/traceroute.c
1960
hi->name = strdup(hp->h_name);
usr.sbin/traceroute6/traceroute6.c
642
hostname = res->ai_canonname ? strdup(res->ai_canonname) : *argv;
usr.sbin/tzsetup/tzsetup.c
246
cp = strdup(name);
usr.sbin/tzsetup/tzsetup.c
349
cp->name = strdup(name);
usr.sbin/tzsetup/tzsetup.c
352
cp->tlc = strdup(t);
usr.sbin/tzsetup/tzsetup.c
404
zp->descr = strdup(descr);
usr.sbin/tzsetup/tzsetup.c
410
zp->filename = strdup(file);
usr.sbin/tzsetup/tzsetup.c
529
p = q = strdup(country_list);
usr.sbin/uathload/uathload.c
90
dnbuf = strdup(udevname);
usr.sbin/uathload/uathload.c
94
bnbuf = strdup(udevname);
usr.sbin/uefisign/uefisign.c
64
c = strdup(s);
usr.sbin/uhsoctl/uhsoctl.c
1215
ctx->con_apn = strdup(apn);
usr.sbin/uhsoctl/uhsoctl.c
1237
ctx->con_apn = strdup(ctx->pdp_apn);
usr.sbin/uhsoctl/uhsoctl.c
1438
ctx.ifnam = strdup(ifnam);
usr.sbin/uhsoctl/uhsoctl.c
488
ctx->ns[i] = strdup(p);
usr.sbin/uhsoctl/uhsoctl.c
702
buf[i] = strdup(resp);
usr.sbin/uhsoctl/uhsoctl.c
795
ctx->con_oper = strdup(opr);
usr.sbin/usbconfig/dump.c
408
if ((cv->desc = strdup(str)) == NULL)
usr.sbin/usbconfig/dump.c
424
if ((cd->desc = strdup(str)) == NULL)
usr.sbin/valectl/valectl.c
134
w = strdup(conf);
usr.sbin/valectl/valectl.c
97
w = strdup(conf);
usr.sbin/vidcontrol/vidcontrol.c
617
param = dupparam = strdup(param);
usr.sbin/watchdogd/watchdogd.c
545
tofree = dupacts = strdup(acts);
usr.sbin/watchdogd/watchdogd.c
670
test_cmd = strdup(optarg);
usr.sbin/ypldap/aldap.c
574
if ((lu->buffer = p = strdup(url)) == NULL)
usr.sbin/ypldap/entries.c
84
ue->ue_netid_line = strdup(tmp);
usr.sbin/ypldap/parse.y
585
yylval.v.string = strdup(buf);
usr.sbin/ypldap/parse.y
644
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/ypldap/parse.y
686
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/ypldap/parse.y
795
sym->nam = strdup(nam);
usr.sbin/ypldap/parse.y
800
sym->val = strdup(val);
usr.sbin/ypldap/ypldap.c
396
(ue->ue_line = strdup(ir.ir_line)) == NULL) {
usr.sbin/ypldap/ypldap.c
422
(ge->ge_line = strdup(ir.ir_line)) == NULL) {
usr.sbin/yppoll/yppoll.c
120
*outname = (char *)strdup(yprm.master);
usr.sbin/yppush/yppush_main.c
401
job->server = strdup(server);
usr.sbin/yppush/yppush_main.c
402
job->map = strdup(map);
usr.sbin/yppush/yppush_main.c
522
tmp->name = strdup(optarg);
usr.sbin/ypserv/common/yplib_host.c
328
*outname = strdup(yprm.peer);
usr.sbin/ypserv/yp_dblookup.c
274
qptr->dbptr->name = strdup(name);
usr.sbin/ypserv/yp_dnslookup.c
448
q->name = strdup(name);
usr.sbin/ypserv/yp_dnslookup.c
536
q->name = strdup(buf);
usr.sbin/ypserv/yp_server.c
709
if ((cur->map = strdup(dirp->d_name)) == NULL) {
usr.sbin/zonectl/zonectl.c
419
filename = strdup(optarg);