bin/cpdup/hcproto.c
202
UseCpFile = strdup(HCC_STRING(item));
bin/cpdup/md5.c
167
node->md_Name = strdup(sfile);
bin/date/date.c
136
tmp = strdup(optarg);
bin/dd/args.c
108
if ((oper = strdup(oper)) == NULL)
bin/df/df.c
203
mntpath = strdup("/tmp/df.XXXXXX");
bin/df/df.c
523
listptr[cnt++] = strdup(ptr->vfc_name);
bin/expr/expr.y
132
if (vp == NULL || ((vp->u.s = strdup (s)) == NULL)) {
bin/ls/ls.c
703
flags = strdup("-");
bin/pax/ar_io.c
1219
if ((arcname = strdup(buf)) == NULL) {
bin/pax/options.c
1365
if ((str = strdup(str)) == NULL) {
bin/pax/pat_rep.c
325
if ((pt->pstr = strdup(arcn->name)) == NULL) {
bin/pax/tables.c
188
if ((pt->name = strdup(arcn->name)) != NULL) {
bin/pax/tables.c
537
if ((pt->nname = strdup(nname)) == NULL) {
bin/pax/tables.c
549
if ((pt->oname = strdup(oname)) != NULL) {
bin/pax/tables.c
550
if ((pt->nname = strdup(nname)) != NULL) {
bin/pax/tables.c
983
if ((pt->name = strdup(fname)) != NULL) {
bin/ps/keyword.c
233
op = p = strdup(fmt);
bin/ps/keyword.c
296
hp = strdup(v->header);
bin/ps/keyword.c
309
vent->header = strdup(hp);
crypto/libressl/apps/nc/netcat.c
305
if ((proxy = strdup(optarg)) == NULL)
crypto/libressl/apps/openssl/apps.c
1940
stmp = strdup(value);
crypto/libressl/apps/openssl/apps.c
446
return strdup(arg + 5);
crypto/libressl/apps/openssl/apps.c
454
return strdup(tmp);
crypto/libressl/apps/openssl/apps.c
510
return strdup(tpass);
crypto/libressl/apps/openssl/ca.c
1336
serialstr = strdup("00");
crypto/libressl/apps/openssl/ca.c
2109
row[DB_serial] = strdup("00");
crypto/libressl/apps/openssl/ca.c
2124
row[DB_name] = strdup(row[DB_serial]);
crypto/libressl/apps/openssl/ca.c
2466
row[DB_serial] = strdup("00");
crypto/libressl/apps/openssl/ca.c
2477
row[DB_name] = strdup(row[DB_serial]);
crypto/libressl/apps/openssl/ca.c
2926
if ((tmp = strdup(str)) == NULL) {
crypto/libressl/apps/openssl/certhash.c
255
if ((l = strdup(linkname)) == NULL)
crypto/libressl/apps/openssl/certhash.c
263
if ((hi->target = strdup(target)) == NULL)
crypto/libressl/apps/openssl/certhash.c
79
if ((hi->filename = strdup(filename)) == NULL) {
crypto/libressl/apps/openssl/cms.c
1508
pwri_tmp = strdup(cms_config.pwri_pass);
crypto/libressl/apps/openssl/ocsp.c
1309
itmp = strdup("00");
crypto/libressl/apps/openssl/req.c
1685
*palgnam = strdup(anam);
crypto/libressl/apps/openssl/req.c
1852
if ((kv = strdup(kv)) == NULL)
crypto/libressl/apps/openssl/s_socket.c
256
if ((host = strdup(h1->h_name)) == NULL) {
crypto/libressl/crypto/asn1/a_time_tm.c
366
if ((tmp = strdup(str)) == NULL)
crypto/libressl/crypto/asn1/ameth_lib.c
325
if ((ameth->info = strdup(info)) == NULL)
crypto/libressl/crypto/asn1/ameth_lib.c
330
if ((ameth->pem_str = strdup(pem_str)) == NULL)
crypto/libressl/crypto/asn1/asn_mime.c
849
if (!(tmpname = strdup(name)))
crypto/libressl/crypto/asn1/asn_mime.c
855
if (!(tmpval = strdup(value)))
crypto/libressl/crypto/asn1/asn_mime.c
883
tmpname = strdup(name);
crypto/libressl/crypto/asn1/asn_mime.c
890
tmpval = strdup(value);
crypto/libressl/crypto/bio/b_sock.c
132
if (host == NULL || (str = strdup(host)) == NULL)
crypto/libressl/crypto/bio/bss_acpt.c
356
data->param_addr = strdup(ptr);
crypto/libressl/crypto/bio/bss_conn.c
157
c->param_port = strdup(p);
crypto/libressl/crypto/bio/bss_conn.c
472
data->param_hostname = strdup(ptr);
crypto/libressl/crypto/bio/bss_conn.c
475
data->param_port = strdup(ptr);
crypto/libressl/crypto/conf/conf_def.c
233
section = strdup("default");
crypto/libressl/crypto/conf/conf_def.c
366
v->name = strdup(pname);
crypto/libressl/crypto/conf/conf_mod.c
296
tmod->name = strdup(name);
crypto/libressl/crypto/conf/conf_mod.c
351
imod->name = name ? strdup(name) : NULL;
crypto/libressl/crypto/conf/conf_mod.c
352
imod->value = value ? strdup(value) : NULL;
crypto/libressl/crypto/ct/ct_log.c
302
ret->name = strdup(name);
crypto/libressl/crypto/ct/ct_x509v3.c
71
return strdup("NULL");
crypto/libressl/crypto/dsa/dsa_meth.c
33
if ((meth->name = strdup(name)) == NULL) {
crypto/libressl/crypto/dsa/dsa_meth.c
60
if ((copy->name = strdup(meth->name)) == NULL) {
crypto/libressl/crypto/dsa/dsa_meth.c
79
if ((new_name = strdup(name)) == NULL) {
crypto/libressl/crypto/dso/dso_lib.c
359
copied = strdup(filename);
crypto/libressl/crypto/dso/dso_lib.c
410
result = strdup(filename);
crypto/libressl/crypto/malloc-wrapper.c
143
return strdup(str);
crypto/libressl/crypto/objects/obj_lib.c
105
sn = strdup(o->sn);
crypto/libressl/crypto/objects/obj_lib.c
98
ln = strdup(o->ln);
crypto/libressl/crypto/ocsp/ocsp_lib.c
197
host = strdup(url + 8);
crypto/libressl/crypto/ocsp/ocsp_lib.c
199
host = strdup(url + 7);
crypto/libressl/crypto/ocsp/ocsp_lib.c
210
path = strdup(tmp);
crypto/libressl/crypto/ocsp/ocsp_lib.c
213
path = strdup("/");
crypto/libressl/crypto/ocsp/ocsp_lib.c
216
port = strdup(tmp + 1);
crypto/libressl/crypto/ocsp/ocsp_lib.c
220
port = strdup("443");
crypto/libressl/crypto/ocsp/ocsp_lib.c
222
port = strdup("80");
crypto/libressl/crypto/rsa/rsa_meth.c
33
if ((meth->name = strdup(name)) == NULL) {
crypto/libressl/crypto/rsa/rsa_meth.c
60
if ((copy->name = strdup(meth->name)) == NULL) {
crypto/libressl/crypto/rsa/rsa_meth.c
73
if ((new_name = strdup(name)) == NULL)
crypto/libressl/crypto/ui/ui_lib.c
157
if ((uis->out_string = strdup(prompt)) == NULL) {
crypto/libressl/crypto/ui/ui_lib.c
225
strdup(action_desc)) == NULL) {
crypto/libressl/crypto/ui/ui_lib.c
230
if ((s->_.boolean_data.ok_chars = strdup(ok_chars)) == NULL) {
crypto/libressl/crypto/ui/ui_lib.c
234
if ((s->_.boolean_data.cancel_chars = strdup(cancel_chars)) ==
crypto/libressl/crypto/ui/ui_lib.c
545
ui_method->name = strdup(name);
crypto/libressl/crypto/x509/x509_addr.c
1566
s = strdup(t);
crypto/libressl/crypto/x509/x509_addr.c
1568
s = strdup(val->value);
crypto/libressl/crypto/x509/x509_asid.c
842
char *s = strdup(val->value);
crypto/libressl/crypto/x509/x509_constraints.c
359
candidate_domain = strdup(working);
crypto/libressl/crypto/x509/x509_constraints.c
396
candidate_local = strdup(working);
crypto/libressl/crypto/x509/x509_constraints.c
506
*hostpart = strdup("");
crypto/libressl/crypto/x509/x509_constraints.c
77
if (name->name != NULL && (new->name = strdup(name->name)) == NULL)
crypto/libressl/crypto/x509/x509_constraints.c
79
if (name->local != NULL && (new->local = strdup(name->local)) == NULL)
crypto/libressl/crypto/x509/x509_enum.c
104
return strdup(enam->lname);
crypto/libressl/crypto/x509/x509_purp.c
242
if ((name_dup = strdup(name)) == NULL)
crypto/libressl/crypto/x509/x509_purp.c
244
if ((sname_dup = strdup(sname)) == NULL)
crypto/libressl/crypto/x509/x509_trs.c
219
if ((name_dup = strdup(name)) == NULL)
crypto/libressl/crypto/x509/x509_utl.c
1143
iptmp = strdup(ipasc);
crypto/libressl/crypto/x509/x509_utl.c
335
if ((linebuf = strdup(line)) == NULL) {
crypto/libressl/crypto/x509/x509_utl.c
653
emtmp = strdup((char *)email->data);
crypto/libressl/crypto/x509/x509_utl.c
93
if ((vtmp->name = strdup(name)) == NULL)
crypto/libressl/crypto/x509/x509_utl.c
97
if ((vtmp->value = strdup(value)) == NULL)
crypto/libressl/crypto/x509/x509_verify.c
771
if ((candidate = strdup(name)) == NULL) {
crypto/libressl/crypto/x509/x509_vpm.c
339
sk_deep_copy(id->hosts, strdup, str_free);
crypto/libressl/crypto/x509/x509_vpm.c
385
if ((tmp = strdup(src)) == NULL)
crypto/libressl/crypto/x509/x509_vpm.c
410
param->name = strdup(name);
crypto/libressl/ssl/s3_lib.c
1826
if ((s->tlsext_hostname = strdup(name)) == NULL) {
crypto/libressl/ssl/ssl_ciphers.c
220
if ((s = strdup(str)) == NULL)
crypto/libressl/ssl/ssl_sess.c
401
ss->tlsext_hostname = strdup(s->tlsext_hostname);
crypto/libressl/ssl/ssl_tlsext.c
854
strdup(s->tlsext_hostname)) == NULL) {
crypto/libressl/ssl/t1_lib.c
571
if ((gs = strdup(groups)) == NULL)
crypto/libressl/tls/tls_client.c
288
if ((ctx->servername = strdup(servername)) == NULL) {
crypto/libressl/tls/tls_config.c
226
if ((s = strdup(protostr)) == NULL)
crypto/libressl/tls/tls_config.c
302
if ((s = strdup(alpn)) == NULL) {
crypto/libressl/tls/tls_config.c
570
if ((cs = strdup(curves)) == NULL) {
crypto/libressl/tls/tls_conninfo.c
244
if ((ctx->conninfo->cipher = strdup(tmp)) == NULL)
crypto/libressl/tls/tls_conninfo.c
250
strdup(ctx->servername)) == NULL)
crypto/libressl/tls/tls_conninfo.c
256
if ((ctx->conninfo->version = strdup(tmp)) == NULL)
crypto/libressl/tls/tls_ocsp.c
189
ocsp->ocsp_url = strdup(sk_OPENSSL_STRING_value(ocsp_urls, 0));
crypto/libressl/tls/tls_server.c
113
if ((conn_ctx->servername = strdup(name)) == NULL)
crypto/libressl/tls/tls_signer.c
441
ecdsa_method->name = strdup("libtls ECDSA method");
crypto/libressl/tls/tls_util.c
60
if ((*dest = strdup(src)) == NULL)
crypto/libressl/tls/tls_util.c
82
if ((s = strdup(hostport)) == NULL)
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
1156
if ((reply[i].resp = strdup(input)) == NULL)
crypto/openssh/auth-pam.c
1310
if ((reply[i].resp = strdup(sshpam_password)) == NULL)
crypto/openssh/auth-pam.c
1323
if ((reply[i].resp = strdup("")) == NULL)
crypto/openssh/authfile.c
244
*commentp = strdup(*cp ?
crypto/openssh/cipher.c
222
if ((cipher_list = cp = strdup(names)) == NULL)
crypto/openssh/kex-names.c
165
if ((s = cp = strdup(names)) == NULL)
crypto/openssh/kex-names.c
203
return strdup(b);
crypto/openssh/kex-names.c
205
return strdup(a);
crypto/openssh/kex-names.c
209
if ((tmp = cp = strdup(b)) == NULL ||
crypto/openssh/kex-names.c
247
if ((*listp = strdup(def)) == NULL)
crypto/openssh/kex-names.c
289
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
172
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
604
p = os = strdup(s); /* deal with const */
crypto/openssh/misc.c
898
if ((sdup = tmp = strdup(s)) == NULL)
crypto/openssh/misc.c
905
if ((user = strdup(tmp)) == NULL)
crypto/openssh/scp.c
963
if ((cp = strdup(pattern)) == NULL)
crypto/openssh/servconf.c
2289
item->selector = strdup(arg);
crypto/openssh/servconf.c
2299
item->selector = strdup(arg);
crypto/openssh/servconf.c
2300
item->filename = strdup(gbuf.gl_pathv[n]);
crypto/openssh/ssh_api.c
539
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
1446
else if ((to->key_id = strdup(from->key_id)) == NULL) {
crypto/openssh/sshkey.c
1458
(to->signature_type = strdup(from->signature_type)) == NULL) {
crypto/openssh/sshkey.c
1473
to->principals[i] = strdup(from->principals[i]);
crypto/openssh/sshkey.c
1497
if ((to->sk_application = strdup(from->sk_application)) == NULL)
crypto/openssh/sshkey.c
356
if ((s = cp = strdup(names)) == NULL)
crypto/openssh/sshkey.c
3683
if ((k->xmss_filename = strdup(filename)) == NULL)
crypto/openssh/sshsig.c
759
if ((principals = strdup(tmp)) == NULL) {
games/battlestar/init.c
80
return strdup(ptr->pw_name);
games/fortune/fortune/fortune.c
1391
path = strdup(Fortune_path);
games/fortune/fortune/fortune.c
1418
Fortune_path_arr[0] = strdup(FORTDIR);
games/monop/execute.c
595
pp->name = strdup(txt);
games/monop/monop.c
278
name_list[i] = play[i].name = strdup(buf);
games/quiz/quiz.c
133
if ((qp->q_text = strdup(lp)) == NULL)
games/sail/pl_7.c
325
copy = strdup(text);
games/snake/snscore/snscore.c
93
players[noplayers].name = strdup(q);
include/string.h
99
char *strdup(const char *) __malloclike;
lib/libc/citrus/citrus_db_factory.c
143
tmp = strdup(key);
lib/libc/citrus/citrus_db_factory.c
202
p = strdup(data);
lib/libc/citrus/citrus_esdb.c
106
esdb->db_encname = strdup(str);
lib/libc/citrus/citrus_esdb.c
117
esdb->db_variable = strdup(str);
lib/libc/citrus/citrus_esdb.c
161
esdb->db_charsets[i].ec_csname = strdup(str);
lib/libc/citrus/citrus_esdb.c
307
list[num] = strdup(buf);
lib/libc/citrus/citrus_esdb.c
344
list[num] = strdup(buf);
lib/libc/citrus/citrus_lookup.c
121
cl->cl_key = strdup(key);
lib/libc/citrus/citrus_lookup.c
231
cl->cl_key = strdup(key);
lib/libc/citrus/citrus_mapper.c
100
ma->ma_dir = strdup(area);
lib/libc/citrus/citrus_mapper.c
351
cm->cm_key = strdup(mapname);
lib/libc/citrus/citrus_module.c
285
_pathI18nModule = strdup(p);
lib/libc/citrus/citrus_pivot_factory.c
71
se->se_name = strdup(name);
lib/libc/gen/fmtmsg.c
61
if ((msgverb = strdup(env)) == NULL)
lib/libc/gen/fmtmsg.c
69
if ((msgverb = strdup(DFLT_MSGVERB)) == NULL)
lib/libc/gen/getcap.c
538
namebuf = strdup(name);
lib/libc/gen/getpwent.c
1448
(template->pw_passwd = strdup(src->pw_passwd)) == NULL)
lib/libc/gen/getpwent.c
1456
(template->pw_gecos = strdup(src->pw_gecos)) == NULL)
lib/libc/gen/getpwent.c
1459
(template->pw_dir = strdup(src->pw_dir)) == NULL)
lib/libc/gen/getpwent.c
1462
(template->pw_shell = strdup(src->pw_shell)) == NULL)
lib/libc/gen/getpwent.c
1871
st->name = strdup(&pw_name[1]);
lib/libc/gen/getusershell.c
132
sl_add(sl, strdup(sp));
lib/libc/gen/posix_spawn.c
300
fae->fae_path = strdup(path);
lib/libc/locale/setlocale.c
386
_PathLocale = strdup(p);
lib/libc/net/eui64.c
101
linehead = strdup(l);
lib/libc/net/getaddrinfo.c
1195
hostname2 = strdup(hostname);
lib/libc/net/getaddrinfo.c
1229
ai->ai_canonname = strdup(str);
lib/libc/net/hesiod.c
212
ret = strdup(bindname);
lib/libc/net/hesiod.c
276
ctx->lhs = strdup(DEF_LHS);
lib/libc/net/hesiod.c
277
ctx->rhs = strdup(DEF_RHS);
lib/libc/net/hesiod.c
309
*which = strdup(data);
lib/libc/net/nsdispatch.c
476
mod.name = strdup(source);
lib/libc/nls/msgcat.c
173
if ((plang = cptr1 = strdup(lang)) == NULL)
lib/libc/nls/msgcat.c
190
if ((base = cptr = strdup(nlspath)) == NULL) {
lib/libc/nls/msgcat.c
452
np->name = strdup(name);
lib/libc/nls/msgcat.c
453
np->path = strdup(path);
lib/libc/nls/msgcat.c
455
np->lang = (lang == NULL) ? NULL : strdup(lang);
lib/libc/nls/msgcat.c
81
np->name = strdup(n); \
lib/libc/nls/msgcat.c
86
strdup(l); \
lib/libc/resolv/res_debug.c
1081
sizestr = strdup(precsize_ntoa(sizeval));
lib/libc/resolv/res_debug.c
1082
hpstr = strdup(precsize_ntoa(hpval));
lib/libc/resolv/res_debug.c
1083
vpstr = strdup(precsize_ntoa(vpval));
lib/libc/resolv/res_findzonecut.c
553
nsrr->name = strdup(tname);
lib/libc/resolv/res_mkupdate.c
1029
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
178
ep->uaddr = strdup(hname);
lib/libc/rpc/auth_time.c
179
ep->family = strdup("inet");
lib/libc/rpc/auth_time.c
180
ep->proto = strdup("tcp");
lib/libc/rpc/auth_time.c
193
ep->uaddr = strdup(hname);
lib/libc/rpc/auth_time.c
194
ep->family = strdup("inet");
lib/libc/rpc/auth_time.c
195
ep->proto = strdup("udp");
lib/libc/rpc/auth_time.c
484
*uaddr = strdup(useua);
lib/libc/rpc/clnt_generic.c
320
cl->cl_netid = strdup(nconf->nc_netid);
lib/libc/rpc/clnt_generic.c
322
cl->cl_tp = strdup(nconf->nc_device);
lib/libc/rpc/clnt_generic.c
409
cl->cl_netid = strdup(nconf->nc_netid);
lib/libc/rpc/clnt_generic.c
410
cl->cl_tp = strdup(nconf->nc_device);
lib/libc/rpc/rpc_generic.c
263
netid_tcp = strdup(nconf->nc_netid);
lib/libc/rpc/rpc_generic.c
271
netid_udp = strdup(nconf->nc_netid);
lib/libc/rpc/rpc_generic.c
655
addrstr = strdup(uaddr);
lib/libc/rpc/rpcb_clnt.c
222
ad_cache->ac_host = strdup(host);
lib/libc/rpc/rpcb_clnt.c
223
ad_cache->ac_netid = strdup(netid);
lib/libc/rpc/rpcb_clnt.c
224
ad_cache->ac_uaddr = uaddr ? strdup(uaddr) : NULL;
lib/libc/rpc/rpcb_clnt.c
323
*targaddr = strdup(ad_cache->ac_uaddr);
lib/libc/rpc/svc.c
180
netid = strdup(xprt->xp_netid);
lib/libc/rpc/svc.c
183
netid = strdup(nconf->nc_netid);
lib/libc/rpc/svc.c
186
netid = strdup(tnconf->nc_netid);
lib/libc/rpc/svc.c
219
((SVCXPRT *) xprt)->xp_netid = strdup(netid);
lib/libc/rpc/svc_generic.c
288
xprt->xp_netid = strdup(nconf->nc_netid);
lib/libc/rpc/svc_generic.c
289
xprt->xp_tp = strdup(nconf->nc_device);
lib/libc/rpc/svc_simple.c
164
((netid = strdup(nconf->nc_netid)) == NULL)) {
lib/libc/rpc/svc_vc.c
270
xprt->xp_netid = strdup(netid);
lib/libc/stdlib/getenv.c
351
strdup(environ[envVarsTotal - envNdx - 1]);
lib/libc/stdlib/strfmon.c
236
currency_symbol = strdup(lc->int_curr_symbol);
lib/libc/stdlib/strfmon.c
240
currency_symbol = strdup(lc->currency_symbol);
lib/libc/uuid/uuid_name_lookup.c
125
*strp = strdup(node->name);
lib/libc/uuid/uuid_name_lookup.c
217
node->name = strdup(name);
lib/libc/yp/yplib.c
1036
*outname = (char *)strdup(yprm.peer);
lib/libc/yp/yplib.c
204
new->ypc_map = strdup(map);
lib/libcam/camlib.c
141
newpath = (char *)strdup(path);
lib/libcompat/4.3/rexec.c
329
ahostbuf = strdup (res0->ai_canonname);
lib/libdevstat/devstat.c
893
matchbuf = matchbuf_orig = strdup(match_str);
lib/libefivar/efivar-dp-xlate.c
109
*dev = strdup(part);
lib/libefivar/efivar-dp-xlate.c
478
return strdup(efimedia);
lib/libefivar/efivar-dp-xlate.c
493
rp = strdup(relpath);
lib/libefivar/efivar-dp-xlate.c
651
modpath = strdup(path);
lib/libefivar/efivar.c
313
*name = strdup(guid_tbl[i].name);
lib/libevtr/evtr.c
559
DEFINE_MAP_INSERT(string, const char *, strcmp, strdup)
lib/libevtr/evtr.c
688
str = strdup(str);
lib/libevtr/evtr.c
730
name = strdup(name);
lib/libevtr/evtr.c
838
if (!(td->comm = strdup(buf))) {
lib/libevtr/ktrfmt.tab.c
122
if (!(var->name = strdup(name))) {
lib/libevtr/ktrfmt.y
49
if (!(var->name = strdup(name))) {
lib/libevtr/ktrfmt.yy.c
545
if (!(r = strdup(s)))
lib/libevtr/ktrfmt.yy.c
876
yylval->tok->str = strdup(__ktrfmttext); /* parser detects oom */
lib/libevtr/ktrfmt.yy.c
887
yylval->tok->str = strdup(__ktrfmttext); /* parser detects oom */
lib/libexecinfo/symtab.c
144
s->st_name = strdup(
lib/libfetch/fetch.c
280
if ((u->doc = strdup(doc ? doc : "/")) == NULL) {
lib/libfetch/fetch.c
468
} else if ((u->doc = strdup(p)) == NULL) {
lib/libfetch/http.c
1057
char *str = strdup(p);
lib/libfetch/http.c
1069
if ((parms->scheme = strdup(v)) == NULL) {
lib/libfetch/http.c
1079
if ((parms->realm = strdup(v)) == NULL) {
lib/libfetch/http.c
1089
if ((parms->user = strdup(v)) == NULL) {
lib/libfetch/http.c
1096
if ((parms->password = strdup(v)) == NULL) {
lib/libfetch/http.c
1262
c->algo = strdup("");
lib/libfetch/http.c
1270
c->qop = strdup("");
lib/libfetch/http.c
1646
aparams.user = strdup(purl->user);
lib/libfetch/http.c
1647
aparams.password = strdup(purl->pwd);
lib/libfetch/http.c
1655
aparams.user = strdup(purl->user);
lib/libfetch/http.c
1656
aparams.password = strdup(purl->pwd);
lib/libfetch/http.c
1676
aparams.user = strdup(url->user);
lib/libfetch/http.c
1677
aparams.password = strdup(url->pwd);
lib/libfetch/http.c
1685
aparams.user = strdup(url->user);
lib/libfetch/http.c
1686
aparams.password = strdup(url->pwd);
lib/libfetch/http.c
1689
aparams.user = strdup(url->user);
lib/libfetch/http.c
1690
aparams.password = strdup(url->pwd);
lib/libfetch/http.c
817
strdup(value);
lib/libfetch/http.c
820
strdup(value);
lib/libfetch/http.c
823
strdup(value);
lib/libfetch/http.c
826
strdup(value);
lib/libfetch/http.c
829
strdup(value);
lib/libftpio/ftpio.c
398
prev_host = strdup(host);
lib/libhammer/misc.c
107
retval = strdup(mnt->f_mntonname);
lib/libhammer/snapshot.c
79
path = strdup(pip->mountedon);
lib/libpam/libpam/pam_debug_log.c
51
tmpbuf = strdup(file);
lib/libposix1e/acl_from_text.c
127
mybuf_p = strdup(buf_p);
lib/libposix1e/acl_to_text.c
61
buf = strdup("");
lib/libssh/openbsd-compat/bsd-misc.c
60
if ((q = strdup(p)) == NULL) {
lib/libssh/openbsd-compat/port-net.c
189
if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)) == NULL)
lib/libssh/openbsd-compat/port-net.c
279
if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)) == NULL)
lib/libssh/openbsd-compat/port-net.c
62
return strdup(dev);
lib/libtcplay/tcplay.c
1969
if ((tmp_chain = strdup(cipher_chain)) == NULL) {
lib/libtelnet/getent.c
49
tempnam = strdup(name);
lib/libtelnet/getent.c
62
tempid = strdup(id);
lib/libtelnet/misc.c
79
UserNameRequested = name ? strdup(name) : NULL;
lib/libtelnet/sra.c
475
#define COPY_STRING(s) (s ? strdup(s) : NULL)
lib/libu4bhid/usage.c
105
n = strdup(name);
lib/libutil/efun.c
86
char *d = strdup(s);
lib/libutil/getmntopts.c
55
if ((optbuf = strdup(options)) == NULL)
lib/libutil/gr_util.c
618
if ((line_copy = strdup(line)) == NULL)
lib/libutil/login_cap.c
257
if ((lc->lc_class = strdup(name)) != NULL) {
lib/libutil/login_cap.c
811
if (authtypes[i] != NULL && (auths = strdup(authtypes[i])) != NULL)
lib/libutil/login_cap.c
815
lc->lc_style = strdup(lc->lc_style);
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
312
execlp(editor, basename(strdup(editor)), tempname, NULL);
lib/libutil/pw_util.c
649
if ((bp = strdup(line)) == NULL)
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/dma/conf.c
126
data = strdup(line);
libexec/dma/conf.c
185
data = strdup(data);
libexec/dma/dma.c
125
sender = strdup(addr);
libexec/dma/dma.c
189
it->addr = strdup(str);
libexec/dma/mail.c
338
addr = strdup(ps->addr);
libexec/dma/net.c
562
if ((addrtmp = strdup(it->addr)) == NULL) {
libexec/dma/spool.c
187
s = strdup(s);
libexec/dma/spool.c
93
queue->tmpf = strdup(fn);
libexec/fingerd/fingerd.c
123
if ((t = strdup(line)) == NULL)
libexec/ftpd/ftpcmd.y
1709
if ((p = strdup(s)) == NULL)
libexec/ftpd/ftpcmd.y
1725
q = strdup(ppw->pw_dir);
libexec/ftpd/ftpcmd.y
1765
rval = strdup(s);
libexec/ftpd/ftpcmd.y
1767
rval = strdup(p);
libexec/ftpd/ftpcmd.y
237
tmp = strdup($4);
libexec/ftpd/ftpd.c
1119
if ((*residue = strdup(p)) == NULL)
libexec/ftpd/ftpd.c
1175
#define COPY_STRING(s) (s ? strdup(s) : NULL)
libexec/ftpd/ftpd.c
1471
chrootdir = strdup(chrootdir); /* make it permanent */
libexec/ftpd/ftpd.c
1481
(chrootdir = strdup(pw->pw_dir)) == NULL)
libexec/ftpd/ftpd.c
1561
ident = strdup(passwd);
libexec/ftpd/ftpd.c
729
if (*cp != '-' && (cp = strdup(cp)))
libexec/ftpd/ftpd.c
831
(hrp->hostname = strdup(vhost)) == NULL) {
libexec/ftpd/popen.c
102
gargv[gargc++] = strdup(argv[argc]);
libexec/ftpd/popen.c
106
gargv[gargc++] = strdup(*pop);
libexec/getty/subr.c
166
sp->defalt = strdup(sp->value);
libexec/getty/subr.c
187
: strdup(sp->defalt);
libexec/mknetid/hash.c
159
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/telnetd/sys_term.c
1237
*cpp++ = strdup(val);
libexec/telnetd/sys_term.c
1294
if ((*cpp2++ = strdup(*cpp)) == NULL) {
libexec/telnetd/telnetd.c
875
IM = strdup("");
libexec/telnetd/telnetd.c
877
IM = strdup(DEFAULT_IM);
libexec/telnetd/utility.c
357
pat = strdup("");
libexec/ypxfr/ypxfr_main.c
320
ypxfr_master = ypxfr_source_host = strdup(dptr);
sbin/camcontrol/camcontrol.c
3981
device = strdup(name);
sbin/camcontrol/camcontrol.c
4016
device = (char *)strdup(tstr);
sbin/camcontrol/modeedit.c
141
(newentry->name = strdup(name)) == NULL)
sbin/camcontrol/modeedit.c
326
(newentry->name = strdup(name)) == NULL)
sbin/ccdconfig/ccdconfig.c
424
return (strdup(name));
sbin/ccdconfig/ccdconfig.c
641
if ((cp = strdup(flags)) == NULL)
sbin/devd/parse.y
140
{ $$ = new_match(strdup("device-name"), $2); }
sbin/devd/parse.y
142
{ $$ = new_media(strdup("media-type"), $2); }
sbin/devd/parse.y
144
{ $$ = new_match(strdup("class"), $2); }
sbin/devd/parse.y
146
{ $$ = new_match(strdup("subdevice"), $2); }
sbin/devfsctl/devfsctl.c
210
rule->dest = strdup(tokens[2]);
sbin/devfsctl/devfsctl.c
302
id->name = strdup(name);
sbin/devfsctl/devfsctl.c
586
file_stack[line_stack_depth] = strdup(name);
sbin/devfsctl/devfsctl.c
736
rt->mntpoint = strdup(tokens[0]);
sbin/devfsctl/devfsctl.c
737
rt->rule_file = strdup(tokens[i]);
sbin/devfsctl/devfsctl.c
906
chdir(dirname(strdup(config_name)));
sbin/dhclient/dhclient.c
1556
client->scriptEnv[0] = strdup(CLIENT_PATH);
sbin/dhclient/parse.c
124
s = strdup(val);
sbin/dump/dumprmt.c
83
if ((rmtpeer = strdup(hostname)) == NULL)
sbin/dump/main.c
266
if ((host = strdup(tape)) == NULL)
sbin/dump/optr.c
271
(new->fs_file = strdup(fs->fs_file)) == NULL ||
sbin/dump/optr.c
272
(new->fs_type = strdup(fs->fs_type)) == NULL ||
sbin/dump/optr.c
273
(new->fs_spec = strdup(fs->fs_spec)) == NULL)
sbin/ffsinfo/ffsinfo.c
179
out_file = strdup(optarg);
sbin/fsck_hammer2/fsck_hammer2.c
65
p = strdup(names);
sbin/fsck_hammer2/fsck_hammer2.c
78
PFSNames[NumPFSNames++] = strdup(name);
sbin/fsdb/fsdb.c
235
line = strdup(elline);
sbin/fsid/fsid.c
85
fsid->dev_path = strdup(dev);
sbin/fsid/fsid.c
86
fsid->link_path = strdup(link_path);
sbin/gpt/label.c
204
name = strdup(optarg);
sbin/hammer/cmd_config.c
170
editor = strdup(tmp);
sbin/hammer/cmd_config.c
172
editor = strdup("vi");
sbin/hammer/cmd_history.c
71
ca.path = strdup(av[i]);
sbin/hammer/cmd_pfs.c
110
tmpbuf = strdup(path);
sbin/hammer/cmd_pfs.c
181
tmpbuf = strdup(path);
sbin/hammer/cmd_pfs.c
284
tmpbuf = strdup(path);
sbin/hammer/cmd_pfs.c
77
linkpath = strdup(path);
sbin/hammer/cmd_remote.c
54
dup = env = strdup(env);
sbin/hammer/cmd_show.c
841
char *p = strdup(data->config.text);
sbin/hammer/cmd_show.c
930
s = strdup(arg);
sbin/hammer/cmd_snapshot.c
369
softlink_fmt = strdup(softlink_dir);
sbin/hammer/cmd_snapshot.c
81
tsym = strdup(av[0]);
sbin/hammer/cmd_snapshot.c
90
dirpath = strdup(av[0]);
sbin/hammer/hammer.c
107
SplitupOptStr = strdup(optarg);
sbin/hammer/hammer.c
244
dup = ptr = strdup(restrictcmd);
sbin/hammer/hammer.c
535
dup = ptr = strdup(av[2]);
sbin/hammer/hammer.c
606
copy = strdup(blkdevs);
sbin/hammer/ondisk.c
97
volume->name = strdup(volname);
sbin/hammer2/cmd_cleanup.c
106
ptr = strdup(from);
sbin/hammer2/cmd_cleanup.c
130
ptr = strdup(from);
sbin/hammer2/cmd_debug.c
346
info->label = strdup("client");
sbin/hammer2/cmd_debug.c
634
name = strdup("?");
sbin/hammer2/cmd_debug.c
74
info->label = strdup("debug");
sbin/hammer2/cmd_recover.c
1190
iscan->link_file_path = strdup(path1);
sbin/hammer2/cmd_recover.c
673
topo->path = strdup(path);
sbin/hammer2/cmd_rsa.c
60
str1 = strdup(dir_path);
sbin/hammer2/cmd_service.c
274
info->label = strdup("client");
sbin/hammer2/cmd_service.c
616
ac->host = strdup(host);
sbin/hammer2/cmd_service.c
838
info->label = strdup("hammer2");
sbin/hammer2/cmd_service.c
909
dc->disk = strdup(disk);
sbin/hammer2/cmd_service.c
921
info->label = strdup(dc->disk);
sbin/hammer2/cmd_setcomp.c
53
str = strdup(comp_str);
sbin/hammer2/main.c
107
sel_path = strdup(optarg);
sbin/hammer2/ondisk.c
516
o = p = strdup(blkdevs);
sbin/hammer2/ondisk.c
84
vol->path = strdup(path);
sbin/hammer2/subs.c
443
av[w++] = strdup(fs[i].f_mntonname);
sbin/ifconfig/ifbridge.c
124
pad = strdup(prefix);
sbin/ifconfig/ifconfig.c
1197
newdescr = strdup(val);
sbin/ifconfig/ifconfig.c
311
formatstr = strdup(input);
sbin/ifconfig/ifconfig.c
337
*fp = strdup(modifier);
sbin/ifconfig/ifieee80211.c
1083
temp = strdup(val);
sbin/ifconfig/iflagg.c
98
str = tmp = strdup(val);
sbin/ifconfig/ifmedia.c
523
optlist = strdup(val);
sbin/ifconfig/regdomain.c
102
mt->country->rd = (void *)strdup(ref);
sbin/ifconfig/regdomain.c
106
mt->rd->cc = (void *)strdup(ref);
sbin/ifconfig/regdomain.c
159
mt->netband->band = (void *)strdup(ref);
sbin/ifconfig/regdomain.c
165
mt->country->isoname = strdup(id);
sbin/ifconfig/regdomain.c
174
mt->freqband->id = strdup(id);
sbin/ifconfig/regdomain.c
285
mt->rd->name = strdup(p);
sbin/ifconfig/regdomain.c
321
mt->country->name = strdup(p);
sbin/ifconfig/regdomain.c
98
mt->rd->name = strdup(id);
sbin/init/init.c
1092
sp->se_getty_argv_space = strdup(sp->se_getty);
sbin/init/init.c
1109
sp->se_window = strdup(typ->ty_window);
sbin/init/init.c
1110
sp->se_window_argv_space = strdup(sp->se_window);
sbin/init/init.c
1123
sp->se_type = typ->ty_type ? strdup(typ->ty_type) : 0;
sbin/init/init.c
1453
old_getty = sp->se_getty ? strdup(sp->se_getty) : 0;
sbin/init/init.c
1454
old_window = sp->se_window ? strdup(sp->se_window) : 0;
sbin/init/init.c
1455
old_type = sp->se_type ? strdup(sp->se_type) : 0;
sbin/init/init.c
553
res = strdup(sbuf + ichlen);
sbin/iscontrol/config.c
276
*ar++ = strdup(lp);
sbin/iscontrol/fsm.c
674
sess->target.address = strdup(op->targetAddress);
sbin/iscontrol/login.c
173
q = op->targetAddress = strdup(eq+1);
sbin/iscontrol/login.c
179
op->targetAddress = strdup(ta+1);
sbin/iscontrol/login.c
87
return strdup(lp->name);
sbin/jscan/jfile.c
134
jf->jf_prefix = strdup(prefix);
sbin/jscan/jfile.c
87
dirname = data = strdup(prefix);
sbin/kldconfig/kldconfig.c
183
((pe->path = strdup(pathbuf)) == NULL)) {
sbin/kldconfig/kldconfig.c
266
((pe->path = strdup(p)) == NULL)) {
sbin/kldconfig/kldconfig.c
283
s = strdup("");
sbin/kldconfig/kldconfig.c
340
if ((pathctl = strdup(PATHCTL)) == NULL) {
sbin/kldconfig/kldconfig.c
378
if ((pathctl = strdup(optarg)) == NULL) {
sbin/kldconfig/kldconfig.c
404
if ((origpath = strdup(modpath)) == NULL) {
sbin/ldconfig/elfhints.c
179
if ((sp = strdup(sp)) == NULL)
sbin/mount/mount.c
774
char* ret = strdup(str);
sbin/mount/mount.c
811
char *path = strdup(devpath);
sbin/mount_fuse/mount_fusefs.c
143
args.subtype = strdup(p);
sbin/mount_fuse/mount_fusefs.c
177
args.from = strdup(fusedev);
sbin/mount_fuse/mount_fusefs.c
95
char *ret = strdup(ptr);
sbin/mount_hammer/mount_hammer.c
213
ary[idx++] = strdup(*av);
sbin/mount_hammer/mount_hammer.c
215
orig = next = strdup(*av);
sbin/mount_hammer/mount_hammer.c
221
ary[idx++] = strdup(ptr);
sbin/mount_hammer2/mount_hammer2.c
124
devpath = strdup(av[0]);
sbin/mount_msdos/mount_msdos.c
126
cs_local = strdup(quirk);
sbin/mount_msdos/mount_msdos.c
131
cs_dos = strdup(optarg);
sbin/mount_msdos/mount_msdos.c
297
cs_dos = strdup("CP437");
sbin/mount_ntfs/mount_ntfs.c
107
cs_local = strdup(quirk);
sbin/mount_ufs/mount.c
731
char* ret = strdup(str);
sbin/mount_ufs/mount_ufs.c
105
char *dev_name = strdup(args.fspec);
sbin/mountctl/mountctl.c
209
tmp = strdup(mountpt);
sbin/mountctl/mountctl.c
301
char *str = strdup(opt);
sbin/mountd/mountd.c
1210
ep->ex_fsdir = strdup(fsb.f_mntonname);
sbin/mountd/mountd.c
1803
ep->ex_indexfile = strdup(cpoptarg);
sbin/mountd/mountd.c
1855
ai->ai_canonname = strdup(host);
sbin/mountd/mountd.c
2177
if ((net->nt_name = strdup(name)) == NULL)
sbin/mountd/mountd.c
306
svcport_str = strdup(optarg);
sbin/mountd/mountd.c
321
hosts[nhosts - 1] = strdup(optarg);
sbin/natd/natd.c
1211
ifName = strdup(strValue);
sbin/newfs/newfs.c
429
char *dev_name = strdup(special);
sbin/newfs_hammer/newfs_hammer.c
508
dev_name = strdup(volume->name);
sbin/newfs_hammer2/mkfs_hammer2.c
134
opt->Label[opt->NLabels++] = strdup("BOOT");
sbin/newfs_hammer2/mkfs_hammer2.c
137
opt->Label[opt->NLabels++] = strdup("ROOT");
sbin/newfs_hammer2/mkfs_hammer2.c
140
opt->Label[opt->NLabels++] = strdup("DATA");
sbin/newfs_hammer2/mkfs_hammer2.c
97
opt->Label[opt->NLabels++] = strdup("LOCAL");
sbin/newfs_hammer2/newfs_hammer2.c
114
opt.Label[opt.NLabels++] = strdup(optarg);
sbin/newfs_hammer2/newfs_hammer2.c
172
o = p = strdup(arg);
sbin/nfsd/nfsd.c
162
bindhost[bindhostc-1] = strdup(optarg);
sbin/nfsd/nfsd.c
220
bindhost[bindhostc-1] = strdup("*");
sbin/ping6/ping6.c
2479
return strdup(hbuf);
sbin/rconfig/client.c
75
host = strdup(tag->name);
sbin/rconfig/client.c
78
tagName = strdup(tagName);
sbin/rconfig/client.c
80
tagName = strdup("auto");
sbin/rconfig/client.c
90
host = strdup(hp->h_name);
sbin/rconfig/server.c
72
host = strdup(hp->h_name);
sbin/rconfig/server.c
75
host = strdup(tag->name);
sbin/rconfig/subs.c
144
*bufp = strdup(buf);
sbin/rconfig/subs.c
241
*bufp = strdup(buf);
sbin/rcorder/rcorder.c
348
pnode->name = strdup(s);
sbin/rcorder/rcorder.c
543
pnode->name = strdup(buffer);
sbin/restore/tape.c
148
magtape = strdup(source);
sbin/routed/main.c
197
q = strdup(optarg);
sbin/slattach/slattach.c
120
exit_cmd = (char*) strdup (optarg);
sbin/slattach/slattach.c
135
redial_cmd = (char*) strdup (optarg);
sbin/slattach/slattach.c
141
config_cmd = (char*) strdup (optarg);
sbin/startslip/startslip.c
130
dials[diali++] = strdup(optarg);
sbin/startslip/startslip.c
142
annex = strdup(optarg);
sbin/startslip/startslip.c
145
upscript = strdup(optarg);
sbin/startslip/startslip.c
148
downscript = strdup(optarg);
sbin/startslip/startslip.c
181
devicename = strdup(argv[0]);
sbin/startslip/startslip.c
182
username = strdup(argv[1]);
sbin/startslip/startslip.c
183
password = strdup(argv[2]);
sbin/svc/remote.c
220
conn->label = strdup(cmd->label);
sbin/svc/remote.c
240
conn->label = strdup(lconn->label);
sbin/svc/remote.c
76
conn->label = strdup(label);
sbin/svc/subs.c
55
*strp = strdup(orig);
sbin/svc/subs.c
62
*strp = strdup(*strp);
sbin/svc/subs.c
92
nary[i] = strdup(nary[i]);
sbin/svc/svc.c
176
cpy = strdup(optarg);
sbin/svc/svc.c
250
cmd->directive = strdup(av[i]);
sbin/svc/svc.c
257
cmd->label = strdup(av[i]);
sbin/svc/svc.c
407
plab = strdup(p1);
sbin/svc/svc.c
467
char *cpy = strdup(spec);
sbin/swapon/swapon.c
169
fs_spec = strdup(fsp->fs_spec);
sbin/swapon/swapon.c
197
fs_spec = strdup(ospec);
sbin/swapon/swapon.c
274
res = strdup(fs_spec);
sbin/sysctl/sysctl.c
389
p1 = strdup(ctime(&tv_sec));
sbin/sysctl/sysctl.c
409
p1 = strdup(ctime(&tv_sec));
sbin/umount/umount.c
282
if ((origname = strdup(name)) == NULL)
sbin/umount/umount.c
297
char *host = strdup(hostp);
sbin/umount/umount.c
370
if ((mntfromnamerev = strdup(getmntname(getmntname(mntfromname,
sbin/umount/umount.c
417
if ((nfsdirname = strdup(mntfromname)) == NULL)
sbin/usched/usched.c
80
sched_cpustr = strdup(av[0]);
stand/boot/common/boot.c
114
exported_module_path = strdup(exported_module_path);
stand/boot/common/boot.c
117
local_module_path = strdup(local_module_path);
stand/boot/common/boot.c
337
dev = strdup(lbuf);
stand/boot/common/boot.c
356
fstyp = strdup(ep);
stand/boot/common/commands.c
148
subtopic = strdup(argv[2]);
stand/boot/common/commands.c
151
topic = strdup(argv[1]);
stand/boot/common/commands.c
154
topic = strdup("help");
stand/boot/common/commands.c
81
*topic = strdup(cp + 1);
stand/boot/common/commands.c
85
*subtopic = strdup(cp + 1);
stand/boot/common/commands.c
87
*desc = strdup(cp + 1);
stand/boot/common/do_dloader.c
171
argvbuf[i] = strdup(argv[i]);
stand/boot/common/do_dloader.c
199
argvbuf[i] = strdup(argv[i]);
stand/boot/common/do_dloader.c
338
pr = p = strdup(cp);
stand/boot/common/interp_parse.c
206
args[(*argcp)++] = strdup(buf);
stand/boot/common/load_elf.c
198
fp->f_type = strdup(ef.kernel ? __elfN(kerneltype) : __elfN(moduletype));
stand/boot/common/load_elf_obj.c
156
fp->f_type = strdup(__elfN(obj_moduletype));
stand/boot/common/module.c
444
fp->f_type = strdup(type);
stand/boot/common/module.c
754
return(strdup(name));
stand/boot/common/module.c
882
mp->m_name = strdup(modname);
stand/boot/common/pnp.c
111
id->id_ident = strdup(ident);
stand/boot/common/rel_open.c
160
DirBase = strdup("/");
stand/boot/common/rel_open.c
177
*abspathp = strdup(path);
stand/boot/common/rel_open.c
192
DirBase = strdup("/");
stand/boot/common/rel_open.c
217
DirBase = strdup("/");
stand/boot/common/rel_open.c
225
abspath = strdup(path);
stand/boot/common/rel_open.c
92
DirBase = strdup("/");
stand/boot/dloader/cmds.c
239
argv[1] = strdup("kernel");
stand/boot/dloader/cmds.c
262
mod_name = strdup(dvar->name);
stand/boot/dloader/cmds.c
274
tmp_str = strdup(dvar2->name);
stand/boot/dloader/cmds.c
289
tmp_str = strdup(dvar2->name);
stand/boot/dloader/cmds.c
294
mod_name = strdup(mod_fname);
stand/boot/dloader/subs.c
81
var->data[count] = strdup(data[count]);
stand/boot/dloader/subs.c
98
var->data[count] = strdup(ovar->data[count]);
stand/boot/pc32/btxld/btxld.c
248
if (!(tname = strdup(name)))
stand/boot/pc32/libi386/biospci.c
290
pi->pi_desc = strdup(desc);
stand/lib/environment.c
128
ev->ev_value = strdup(value);
stand/lib/environment.c
168
copy = strdup(string);
stand/lib/environment.c
86
ev->ev_name = strdup(name);
stand/lib/ext2fs.c
416
path = strdup(upath);
stand/lib/nfs.c
441
cp = path = strdup(upath);
stand/lib/splitfs.c
136
sf->filesv[sf->filesc - 1] = strdup(buf);
stand/lib/splitfs.c
137
sf->descsv[sf->filesc - 1] = strdup(cp);
stand/lib/tftp.c
296
tftpfile->path = strdup(path);
stand/lib/ufs.c
460
cp = path = strdup(upath);
sys/platform/vkernel64/platform/init.c
323
netifFile[netifFileNum++] = strdup(optarg);
sys/platform/vkernel64/platform/init.c
330
diskFile[diskFileNum] = strdup(optarg);
sys/platform/vkernel64/platform/init.c
339
cdFile[cdFileNum++] = strdup(optarg);
test/crypto/cryptoapi/cryptoapi_test.c
101
fixture->cipher_name = strdup(token);
test/crypto/cryptoapi/cryptoapi_test.c
93
fixture->raw_line = strdup(line);
test/stress/stress2/lib/options.c
175
op->wd = strdup(optarg);
test/stress/webstress/webstress.c
281
node->url_host = strdup(hostname);
test/stress/webstress/webstress.c
282
node->url_path = strdup(base);
usr.bin/apply/apply.c
113
shell = (tmpshell != NULL) ? strdup(tmpshell) : strdup(_PATH_BSHELL);
usr.bin/bc/bc.y
1105
if ((cmdexpr = strdup("")) == NULL)
usr.bin/bc/bc.y
780
instructions[current].u.astr = strdup(str);
usr.bin/bc/bc.y
880
entry.key = strdup(str);
usr.bin/c99/c99.c
101
if ((args[nargs++] = strdup(item)) == NULL)
usr.bin/calendar/utils.c
133
char *p = strdup(str);
usr.bin/cap_mkdb/cap_mkdb.c
109
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
146
if ((bp = gecos = strdup(pw->pw_gecos)) == NULL) {
usr.bin/chpass/edit.c
153
p = strdup(p ? p : "");
usr.bin/chpass/edit.c
159
p = strdup(p ? p : "");
usr.bin/chpass/edit.c
165
p = strdup(p ? p : "");
usr.bin/chpass/edit.c
171
p = strdup(p ? p : "");
usr.bin/chpass/edit.c
176
bp = strdup(bp ? bp : "");
usr.bin/chpass/field.c
152
if (!(pw->pw_class = strdup(p))) {
usr.bin/chpass/field.c
184
if (!(ep->save = strdup(p))) {
usr.bin/chpass/field.c
199
if (!(pw->pw_dir = strdup(p))) {
usr.bin/chpass/field.c
213
pw->pw_shell = strdup(_PATH_BSHELL);
usr.bin/chpass/field.c
226
pw->pw_shell = strdup(p);
usr.bin/chpass/field.c
67
if (!(pw->pw_name = strdup(p))) {
usr.bin/chpass/field.c
85
if (!(pw->pw_passwd = strdup(p))) {
usr.bin/chpass/util.c
163
return (strdup(name));
usr.bin/chpass/util.c
167
ret = strdup(sh);
usr.bin/crunch/crunchgen/crunchgen.c
1209
if ((pathcopy = strdup(path)) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
1221
if ((objdir = strdup(line)) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
1302
p2->str = strdup(str);
usr.bin/crunch/crunchgen/crunchgen.c
145
else if ((objprefix = strdup(p)) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
164
if ((objprefix = strdup(optarg)) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
424
p2->name = strdup(progname);
usr.bin/crunch/crunchgen/crunchgen.c
553
if ((p->ident = strdup(argv[3])) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
558
if ((p->srcdir = strdup(argv[3])) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
563
if ((p->objdir = strdup(argv[3])) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
580
if ((p->objvar = strdup(argv[3])) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
685
p->realsrcdir = strdup(path);
usr.bin/crunch/crunchgen/crunchgen.c
695
if ((p->objdir = strdup(line)) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
974
if ((n = strdup(str)) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
998
if ((srcdir = strdup(path)) == NULL)
usr.bin/crunch/crunchide/crunchide.c
152
if(newp) newp->sym = strdup(symbol);
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/dc/dc.c
52
if ((buf = strdup("")) == NULL)
usr.bin/dc/mem.c
89
q = strdup(p);
usr.bin/dc/stack.c
87
copy->u.string = strdup(a->u.string);
usr.bin/dfregress/testcase.c
677
opts->pre_cmd = strdup(parameter);
usr.bin/dfregress/testcase.c
684
opts->post_cmd = strdup(parameter);
usr.bin/dfregress/testcase.c
703
opts->interpreter = strdup(parameter);
usr.bin/dfregress/testcase.c
709
opts->make_cmd = strdup(parameter);
usr.bin/diff/xmalloc.c
66
if ((cp = strdup(str)) == NULL)
usr.bin/dsynth/bulk.c
164
bulk->s1 = strdup(s1);
usr.bin/dsynth/bulk.c
166
bulk->s2 = strdup(s2);
usr.bin/dsynth/bulk.c
168
bulk->s3 = strdup(s3);
usr.bin/dsynth/bulk.c
170
bulk->s4 = strdup(s4);
usr.bin/dsynth/config.c
299
VersionFromParamHeader = strdup(ptr);
usr.bin/dsynth/config.c
361
Profile = strdup(ProfileOverrideOpt);
usr.bin/dsynth/config.c
419
Profile = strdup(l2);
usr.bin/dsynth/config.c
432
l2 = strdup(l2);
usr.bin/dsynth/config.c
660
return(strdup(buf));
usr.bin/dsynth/html.c
75
buf = strdup(reason);
usr.bin/dsynth/mount.c
465
src = strdup(spath);
usr.bin/dsynth/pkglist.c
201
l1 = strdup(ary[i]);
usr.bin/dsynth/pkglist.c
351
l1 = strdup(data);
usr.bin/dsynth/pkglist.c
357
l3 = strdup(l3);
usr.bin/dsynth/pkglist.c
729
flavor_base = strdup(flavors);
usr.bin/dsynth/pkglist.c
746
s1 = strdup(pkg->portdir);
usr.bin/dsynth/pkglist.c
805
copy_base = strdup(depstr);
usr.bin/dsynth/repo.c
164
bulk->r1 = strdup("");
usr.bin/dsynth/repo.c
571
item->spath = strdup(den->d_name);
usr.bin/dsynth/subs.c
106
return(strdup(str));
usr.bin/dsynth/subs.c
261
env->a1 = strdup(label);
usr.bin/dsynth/subs.c
262
env->a2 = strdup(data);
usr.bin/dsynth/subs.c
320
*strp = strdup(*strp);
usr.bin/dsynth/subs.c
597
einfo->logid = strdup(logid);
usr.bin/dsynth/subs.c
968
pav[0] = strdup(path);
usr.bin/du/du.c
474
ign->mask = strdup(mask);
usr.bin/env/env.c
67
altpath = strdup(optarg);
usr.bin/env/envopts.c
131
*argv = strdup(candidate);
usr.bin/evtranalyze/evtranalyze.c
1039
tmpbuf = strdup(ev.file);
usr.bin/evtranalyze/plotter.c
42
if (!(ctx->basepath = strdup(base)))
usr.bin/find/function.c
560
if ((plan->e_argv[plan->e_ppos] = strdup(file)) == NULL)
usr.bin/finger/finger.c
303
if ((*p = strdup(conf_realname+1)) == NULL) {
usr.bin/finger/net.c
131
iov[msg.msg_iovlen].iov_base = strdup(name);
usr.bin/finger/util.c
316
if ((pn->name = strdup(pw->pw_name)) == NULL)
usr.bin/finger/util.c
318
if ((pn->dir = strdup(pw->pw_dir)) == NULL)
usr.bin/finger/util.c
320
if ((pn->shell = strdup(pw->pw_shell)) == NULL)
usr.bin/finger/util.c
346
if ((pn->realname = strdup(name)) == NULL)
usr.bin/finger/util.c
349
strdup(p) : NULL;
usr.bin/finger/util.c
351
strdup(p) : NULL;
usr.bin/finger/util.c
353
strdup(p) : NULL;
usr.bin/flame_graph/process.c
116
scan->id = strdup(s);
usr.bin/gencat/gencat.c
238
if ((nstr = strdup(str)) == NULL)
usr.bin/gzip/gzip.c
481
s = strdup(gzip);
usr.bin/iconv/iconv.c
162
opt_f = opt_t = strdup("");
usr.bin/iconv/iconv.c
188
opt_f = strdup(optarg);
usr.bin/iconv/iconv.c
193
opt_t = strdup(optarg);
usr.bin/indent/lexi.c
624
typenames[++typename_top] = copy = strdup(key);
usr.bin/indent/lexi.c
629
typenames[++typename_top] = copy = strdup(key);
usr.bin/indent/lexi.c
640
typenames[p] = copy = strdup(key);
usr.bin/kcollect/kcollect.c
944
char *copy = strdup(fields);
usr.bin/keylogin/keylogin.c
75
netst.st_netname = strdup(fullname);
usr.bin/killall/killall.c
259
tty = strdup(tty);
usr.bin/ktrdump/ktrdump.c
628
char *t = strdup(kvm_string(((char **)fmtdata)[0],
usr.bin/ktrdump/ktrdump.c
789
sym->symname = strdup(s3);
usr.bin/locale/locale.c
405
s = strdup(dp->d_name);
usr.bin/localedef/collate.c
545
((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/lock/lock.c
108
mypw = strdup(pw->pw_passwd);
usr.bin/login/login.c
217
username = strdup(*argv);
usr.bin/login/login.c
400
pwd->pw_dir = strdup("/");
usr.bin/login/login.c
416
pwd->pw_shell = strdup(_PATH_BSHELL);
usr.bin/login/login.c
423
if ((shell = strdup(shell)) == NULL) {
usr.bin/m4/gnum4.c
116
envpath = strdup(envpath);
usr.bin/m4/gnum4.c
79
n->name = strdup(dirname);
usr.bin/m4/misc.c
337
char *p = strdup(s);
usr.bin/mail/temp.c
52
if ((tmpdir = strdup(tmpdir)) == NULL)
usr.bin/ministat/ministat.c
474
s->name = strdup(n);
usr.bin/mkcsmapper/yacc.y
697
output = strdup(optarg);
usr.bin/mkesdb/yacc.y
310
output = strdup(optarg);
usr.bin/mktemp/mktemp.c
110
name = strdup(argv[0]);
usr.bin/newgrp/newgrp.c
297
if (asprintf(args, "-%s", basename(strdup(shell))) < 0)
usr.bin/newgrp/newgrp.c
313
execl(shell, basename(strdup(shell)), NULL);
usr.bin/objformat/objformat.c
184
path = strdup(objformat_path);
usr.bin/patch/backupfile.c
61
tmp_file = strdup(file);
usr.bin/patch/backupfile.c
68
tmp_file = strdup(file);
usr.bin/patch/util.c
194
rv = strdup(s);
usr.bin/patch/util.c
214
rv = strdup(s);
usr.bin/patch/util.c
334
if ((tmpbuf = strdup(filename)) == NULL)
usr.bin/pathchk/pathchk.c
103
if ((pathd = strdup(path)) == NULL)
usr.bin/pctrack/pctrack.c
275
sym->symname = strdup(s3);
usr.bin/pkill/pkill.c
223
if ((tdev = strdup(tdev)) == NULL)
usr.bin/pkill/pkill.c
788
li->li_name = strdup(sp);
usr.bin/pr/pr.c
1816
timefrmt = strdup(d_first ? TIMEFMTD : TIMEFMTM);
usr.bin/printf/printf.c
367
if ((p = strdup(getstr())) == NULL) {
usr.bin/relpath/relpath.c
58
path = strdup(av[2]);
usr.bin/rpcgen/rpc_cout.c
671
upp_case = strdup("LONG");
usr.bin/rpcgen/rpc_cout.c
677
upp_case = strdup("U_LONG");
usr.bin/rpcgen/rpc_util.c
482
if ((p = strdup(str)) == NULL) {
usr.bin/rpcinfo/rpcinfo.c
767
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
739
s->wfile = strdup(wfile);
usr.bin/sed/main.c
414
if ((dirbuf = strdup(fname)) == NULL ||
usr.bin/sed/main.c
415
(basebuf = strdup(fname)) == NULL)
usr.bin/shlock/shlock.c
113
tmpbuf = strdup(file);
usr.bin/sort/mem.c
78
if ((dup = strdup(str)) == NULL)
usr.bin/sort/sort.c
1210
random_source = strdup(optarg);
usr.bin/sort/sort.c
1214
compress_program = strdup(optarg);
usr.bin/su/su.c
260
username = strdup(pwd->pw_name);
usr.bin/systat/altqs.c
458
qc->qname = strdup(q->pa.altq.qname);
usr.bin/systat/devs.c
334
strdup(tmpstr);
usr.bin/systat/symbols.c
109
sym->symname = strdup(s3);
usr.bin/talk/io.c
71
his_machine_name = strdup(hp->h_name);
usr.bin/talk/io.c
76
his_machine_name = strdup(inet_ntoa(his_machine_addr));
usr.bin/telnet/commands.c
132
*argp++ = strdup("!"); /* No room in string to get this */
usr.bin/telnet/commands.c
1663
ep->var = strdup(var);
usr.bin/telnet/commands.c
1664
ep->value = strdup(value);
usr.bin/telnet/commands.c
2236
portp = strdup("telnet");
usr.bin/telnet/main.c
314
*argp++ = strdup("-l");
usr.bin/telnet/main.c
318
*argp++ = strdup("-s");
usr.bin/tip/remote.c
88
*path = strdup (buffer);
usr.bin/top/color.c
107
color_ansi[num_color_ansi] = strdup(str);
usr.bin/top/color.c
231
bytag_names[tagcnt] = strdup(tag);
usr.bin/top/commands.c
856
gstate->pselect.command = strdup(linebuf);
usr.bin/top/display.c
1718
message_buf[i] = strdup(msg);
usr.bin/top/hash.c
1015
hi->key = strdup(key);
usr.bin/top/hash.c
1097
hi->key = strdup(key);
usr.bin/top/hash.c
68
char *strdup();
usr.bin/top/utils.c
257
to = fr = ans = strdup(str);
usr.bin/tr/tr.c
188
if ((s2.str = strdup(argv[1])) == NULL)
usr.bin/truss/syscalls.c
208
tmp = strdup(temp);
usr.bin/tset/map.c
153
mapp->porttype = strdup(port);
usr.bin/tset/map.c
73
copy = strdup(arg);
usr.bin/tset/tset.c
264
argv[0] = strdup("-e^H");
usr.bin/tset/tset.c
267
argv[0] = strdup("-i^C");
usr.bin/tset/tset.c
270
argv[0] = strdup("-k^U");
usr.bin/tset/wrterm.c
57
sep = strdup("");
usr.bin/tset/wrterm.c
61
sep = strdup("|");
usr.bin/u4bhidctl/usbhid.c
118
tmp1 = tmp2 = strdup(names[i]);
usr.bin/uname/uname.c
170
*varp = strdup(buf);
usr.bin/undo/undo.c
633
dirname = strdup(filename);
usr.bin/undo/undo.c
636
dirname = strdup(".");
usr.bin/units/units.c
108
ret = strdup(str);
usr.bin/usbhidaction/usbhidaction.c
448
cmd->name = strdup(name);
usr.bin/usbhidaction/usbhidaction.c
449
cmd->action = strdup(action);
usr.bin/vknet/vknet.c
473
remoteHost = strdup(remoteSide);
usr.bin/vknet/vknet.c
477
remotePath = strdup("/var/run/vknet");
usr.bin/vmstat/vmstat.c
1066
ss->ks_shortdesc = strdup(buf);
usr.bin/whereis/whereis.c
437
bin = strdup(cp);
usr.bin/whereis/whereis.c
511
man = strdup(cp2);
usr.bin/whereis/whereis.c
550
src = strdup(cp);
usr.bin/whereis/whereis.c
617
src = strdup(buf);
usr.bin/xargs/xargs.c
510
if ((*tmp++ = strdup(*avj++)) == NULL) {
usr.bin/xargs/xargs.c
533
if ((*tmp = strdup(*tmp)) == NULL) {
usr.bin/xinstall/xinstall.c
537
to_name_copy = strdup(to_name);
usr.bin/xstr/xstr.c
113
strings = strdup(_PATH_TMP);
usr.bin/xstr/xstr.c
356
if (!(hp->hstr = strdup(str)))
usr.sbin/asf/asf.c
265
modpath = findmodule(strdup(modules_path), token[4]);
usr.sbin/asf/asf.c
308
modpath = findmodule(strdup(modules_path), token[4]);
usr.sbin/authpf/authpf.c
666
if ((fn = strdup(PATH_PFRULES)) == NULL)
usr.sbin/autofs/common.c
180
n->n_options = strdup("");
usr.sbin/autofs/common.c
211
n->n_options = strdup("");
usr.sbin/autofs/common.c
65
c = strdup(s);
usr.sbin/boot0cfg/boot0cfg.c
376
if (!(s = strdup(arg)))
usr.sbin/bthcid/parser.y
127
key->name = strdup($2);
usr.sbin/bthcid/parser.y
173
key->pin = strdup($2);
usr.sbin/config/config.y
183
op->op_name = strdup("KERNEL");
usr.sbin/config/config.y
202
$$ = strdup(buf);
usr.sbin/config/config.y
209
$$ = strdup(buf);
usr.sbin/config/config.y
217
$$ = strdup(buf);
usr.sbin/config/config.y
225
$$ = strdup(buf);
usr.sbin/config/config.y
272
$$ = strdup(buf);
usr.sbin/config/mkheaders.c
159
inw = strdup(inw);
usr.sbin/config/mkheaders.c
190
fl->f_fn = strdup(name);
usr.sbin/config/mkmakefile.c
288
this = strdup(wd);
usr.sbin/config/mkmakefile.c
374
depends = strdup(wd);
usr.sbin/config/mkmakefile.c
384
clean = strdup(wd);
usr.sbin/config/mkmakefile.c
394
special = strdup(wd);
usr.sbin/config/mkmakefile.c
408
warning = strdup(wd);
usr.sbin/config/mkmakefile.c
425
needs = strdup(wd);
usr.sbin/config/mkmakefile.c
444
dp->d_name = strdup(wd);
usr.sbin/config/mkoptions.c
127
value = strdup("1");
usr.sbin/config/mkoptions.c
171
inw = strdup(inw);
usr.sbin/config/mkoptions.c
176
invalue = strdup(cp); /* malloced */
usr.sbin/config/mkoptions.c
223
op->op_name = strdup(name);
usr.sbin/config/mkoptions.c
224
op->op_value = value != NULL ? strdup(value) : NULL;
usr.sbin/config/mkoptions.c
327
this = strdup(wd);
usr.sbin/config/mkoptions.c
334
s = strdup(this);
usr.sbin/config/mkoptions.c
339
val = strdup(val);
usr.sbin/config/mkoptions.c
63
op->op_name = strdup(cp->cpu_name);
usr.sbin/config/mkoptions.c
81
op->op_name = strdup("MAXUSERS");
usr.sbin/config/mkoptions.c
83
op->op_value = strdup(buf);
usr.sbin/cron/cron/externs.h
118
extern char *strdup(char *);
usr.sbin/cron/cron/user.c
71
if ((u->name = strdup(name)) == NULL) {
usr.sbin/cron/lib/entry.c
279
e->class = strdup(s + 1);
usr.sbin/cron/lib/entry.c
283
e->class = strdup(RESOURCE_RC);
usr.sbin/cron/lib/entry.c
406
e->cmd = strdup(cmd);
usr.sbin/cron/lib/env.c
119
if ((p[count-1] = strdup(envstr)) == NULL) {
usr.sbin/cron/lib/env.c
60
if ((p[i] = strdup(envp[i])) == NULL) {
usr.sbin/cron/lib/env.c
96
if ((envp[found] = strdup(envstr)) == NULL) {
usr.sbin/dntpd/main.c
306
info.target = strdup(target);
usr.sbin/dntpd/main.c
353
info->target = strdup(target);
usr.sbin/dntpd/main.c
398
info->ipstr = strdup(ipstr);
usr.sbin/efibootmgr/efibootmgr.c
232
opts.env = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
249
opts.kernel = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
253
opts.label = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
257
opts.loader = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
271
opts.order = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
332
nent->name = strdup(next_name);
usr.sbin/efibootmgr/efibootmgr.c
364
cp = strdup(order);
usr.sbin/efivar/efivar.c
330
fromfile = strdup(optarg);
usr.sbin/fstyp/fstyp.c
125
c = strdup(s);
usr.sbin/fstyp/hammer.c
171
dup = strdup(blkdevs);
usr.sbin/fstyp/hammer2.c
255
p = strdup(devpath);
usr.sbin/fstyp/hammer2.c
269
p = strdup(p);
usr.sbin/fstyp/hammer2.c
411
p = dup = strdup(blkdevs);
usr.sbin/hotplugd/hotplugd.c
200
execl(file, basename(strdup(file)), strclass, name, NULL);
usr.sbin/ifmcstat/ifmcstat.c
248
nam = strdup(ifname(ifa.ifa_ifp));
usr.sbin/inetd/inetd.c
1862
if ((cr = strdup(cp != NULL ? cp : "")))
usr.sbin/inetd/inetd.c
2061
chBest->ch_Service = strdup(sep->se_service);
usr.sbin/inetd/inetd.c
2075
chBest->ch_Service = strdup(sep->se_service);
usr.sbin/installer/dfuibe_installer/fn_subpart_hammer.c
903
res = strdup("ROOT");
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
112
c->zt_cc = strdup(zp.tok);
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
116
c->zt_coords = strdup(zp.tok);
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
120
c->zt_region = strdup(zp.tok);
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
124
c->zt_locale = strdup(zp.tok);
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
128
c->zt_locale = strdup(zp.tok);
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
135
c->zt_comments = strdup(zp.tok);
usr.sbin/installer/libaura/mem.c
73
if ((ptr = strdup(string)) == NULL) {
usr.sbin/iostat/iostat.c
529
(*deletions)[*num_deletions - 1] = strdup(tmpstr);
usr.sbin/ip6addrctl/ip6addrctl.c
264
if ((prefix = strdup(prefix0)) == NULL)
usr.sbin/kbdmap/kbdmap.c
132
km->desc = strdup(desc);
usr.sbin/kbdmap/kbdmap.c
139
km_new->desc = strdup(desc);
usr.sbin/kbdmap/kbdmap.c
140
km_new->keym = strdup(keym);
usr.sbin/kbdmap/kbdmap.c
249
tmp = strdup(fnt);
usr.sbin/kbdmap/kbdmap.c
307
tmp = strdup(km->keym);
usr.sbin/kbdmap/kbdmap.c
420
buffer_copy = strdup(buffer);
usr.sbin/kbdmap/kbdmap.c
617
char *tmp = strdup(lng);
usr.sbin/kbdmap/kbdmap.c
685
menu = strdup(km->desc);
usr.sbin/kbdmap/kbdmap.c
689
font = strdup(km->desc);
usr.sbin/kbdmap/kbdmap.c
707
q = strdup(dp->d_name);
usr.sbin/keyserv/setkey.c
351
new->keynetdata.st_netname = strdup(netstore->st_netname);
usr.sbin/keyserv/setkey.c
379
strdup(l->keynetdata.st_netname);
usr.sbin/lpr/chkprintcap/chkprintcap.c
102
pcap_fname = strdup(_PATH_PRINTCAP);
usr.sbin/lpr/chkprintcap/chkprintcap.c
226
dp->printer = strdup(pp->printer);
usr.sbin/lpr/chkprintcap/chkprintcap.c
229
dp->path = strdup(pp->spool_dir);
usr.sbin/lpr/chkprintcap/chkprintcap.c
85
pcap_fname = strdup(optarg);
usr.sbin/lpr/common_source/ctlinfo.c
270
cpriv->pub.cji_curqueue = strdup(ptrname);
usr.sbin/lpr/common_source/ctlinfo.c
299
cpriv->pub.cji_class = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
304
cpriv->pub.cji_accthost = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
307
cpriv->pub.cji_jobname = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
310
cpriv->pub.cji_username = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
322
cpriv->pub.cji_mailto = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
330
cpriv->pub.cji_acctuser = strdup(lbuff);
usr.sbin/lpr/common_source/ctlinfo.c
343
cpriv->pub.cji_accthost = strdup(".na.");
usr.sbin/lpr/common_source/ctlinfo.c
345
cpriv->pub.cji_acctuser = strdup(".na.");
usr.sbin/lpr/common_source/ctlinfo.c
417
return strdup(errm);
usr.sbin/lpr/common_source/ctlinfo.c
668
return strdup(errm);
usr.sbin/lpr/common_source/ctlinfo.c
669
return strdup("ctl_renametf internal (missed) error");
usr.sbin/lpr/common_source/ctlinfo.c
700
return strdup(errm);
usr.sbin/lpr/common_source/matchjobs.c
484
jspec->matcheduser = strdup(cfinf->cji_username);
usr.sbin/lpr/common_source/printcap.c
378
*result = strdup(dflt);
usr.sbin/lpr/lpc/cmds.c
138
generic_nullarg = strdup("");
usr.sbin/lpr/lpc/cmds.c
247
return strdup("\n");
usr.sbin/lpr/lpc/cmds.c
259
return strdup(buf);
usr.sbin/lpr/lpc/cmds.c
905
generic_msg = strdup("printing disabled\n");
usr.sbin/lpr/lpd/lpd.c
696
from_ip = strdup(hostbuf);
usr.sbin/lpr/lpd/printjob.c
1506
daemon_uname = strdup(pwd->pw_name);
usr.sbin/lpr/lpd/printjob.c
1832
char *s = strdup(pp->mode_set), *tmp;
usr.sbin/mailwrapper/mailwrapper.c
73
if ((al->argv[al->argc++] = strdup(arg)) == NULL)
usr.sbin/makefs/hammer2.c
1543
o = p = name = strdup(f);
usr.sbin/makefs/hammer2.c
1666
o = p = strdup(f);
usr.sbin/makefs/hammer2.c
1783
o = p = strdup(f);
usr.sbin/makefs/hammer2.c
1957
o = p = name = strdup(f);
usr.sbin/makefs/hammer2.c
203
opt->Label[opt->NLabels++] = strdup(buf);
usr.sbin/makefs/hammer2.c
2321
o = p = name = strdup(f);
usr.sbin/makefs/hammer2.c
544
o = p = strdup(buf);
usr.sbin/makefs/hammer2.c
589
o = p = strdup(buf);
usr.sbin/makefs/hammer2/hammer2_compat.h
72
#define kstrdup(s, type) strdup(s)
usr.sbin/makefs/mtree.c
294
res = (error == 0) ? strdup(sbuf_data(sb)) : NULL;
usr.sbin/memcontrol/memcontrol.c
166
owner = strdup(optarg);
usr.sbin/memcontrol/memcontrol.c
282
owner = strdup(optarg);
usr.sbin/mixer/mixer.c
117
if ((name = strdup(basename(argv[0]))) == NULL)
usr.sbin/mtree/only.c
88
if ((x = strdup(str)) == NULL)
usr.sbin/mtree/spec.c
502
if ((cur->slink = strdup(new->slink)) == NULL)
usr.sbin/mtree/spec.c
582
if ((ip->md5digest = strdup(md)) == NULL)
usr.sbin/mtree/spec.c
602
if ((ip->rmd160digest = strdup(md)) == NULL)
usr.sbin/mtree/spec.c
610
if ((ip->sha1digest = strdup(md)) == NULL)
usr.sbin/mtree/spec.c
619
if ((ip->slink = strdup(val)) == NULL)
usr.sbin/mtree/spec.c
660
if ((ip->sha256digest = strdup(md)) == NULL)
usr.sbin/mtree/spec.c
668
if ((ip->sha384digest = strdup(md)) == NULL)
usr.sbin/mtree/spec.c
676
if ((ip->sha512digest = strdup(md)) == NULL)
usr.sbin/mtree/stat_flags.c
90
return strdup(string);
usr.sbin/mtree/stat_flags.c
91
return strdup(def);
usr.sbin/newsyslog/newsyslog.c
1092
errline = strdup(line);
usr.sbin/newsyslog/newsyslog.c
1366
working->pid_cmd_file = strdup(q);
usr.sbin/newsyslog/newsyslog.c
1424
working->pid_cmd_file = strdup(path_syslogpid);
usr.sbin/newsyslog/newsyslog.c
1566
if ((dirbuf = strdup(ent->log)) == NULL)
usr.sbin/newsyslog/newsyslog.c
1571
if ((basebuf = strdup(ent->log)) == NULL)
usr.sbin/newsyslog/newsyslog.c
1594
if ((oldlogs[logcnt].fname = strdup(dp->d_name)) == NULL)
usr.sbin/newsyslog/newsyslog.c
1710
inc->file = strdup(fname);
usr.sbin/newsyslog/newsyslog.c
2065
args[0] = strdup(pgm_name);
usr.sbin/newsyslog/newsyslog.c
2393
if ((dirbuf = strdup(file)) == NULL) {
usr.sbin/newsyslog/newsyslog.c
2398
if ((logfnamebuf = strdup(file)) == NULL) {
usr.sbin/newsyslog/newsyslog.c
415
tempwork->log = strdup(fname);
usr.sbin/newsyslog/newsyslog.c
424
tempwork->pid_cmd_file = strdup(src_entry->pid_cmd_file);
usr.sbin/newsyslog/newsyslog.c
629
ent->r_reason = strdup(temp_reason);
usr.sbin/newsyslog/newsyslog.c
689
timefnamefmt = strdup(DEFAULT_TIMEFNAME_FMT);
usr.sbin/newsyslog/newsyslog.c
691
timefnamefmt = strdup(optarg);
usr.sbin/newsyslog/newsyslog.c
721
requestor = strdup(optarg);
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
235
retval->parent.name = strdup("passwd");
usr.sbin/nscd/agents/passwd.c
255
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
196
dec_cache_entry_name = strdup(
usr.sbin/nscd/nscd.c
636
user_config_entry_name = strdup(optarg);
usr.sbin/nscd/nscd.c
643
strdup(optarg);
usr.sbin/pciconf/pciconf.c
687
if ((cv->desc = strdup(str)) == NULL) {
usr.sbin/pciconf/pciconf.c
712
if ((cd->desc = strdup(str)) == NULL) {
usr.sbin/pfctl/parse.y
1018
if ((loadanchor->filename = strdup($5)) == NULL)
usr.sbin/pfctl/parse.y
5600
yylval.v.string = strdup(buf);
usr.sbin/pfctl/parse.y
5681
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/pfctl/parse.y
5720
(nfile->name = strdup(name)) == NULL) {
usr.sbin/pfctl/parse.y
5727
if ((nfile->name = strdup("stdin")) == NULL) {
usr.sbin/pfctl/parse.y
5869
sym->nam = strdup(nam);
usr.sbin/pfctl/parse.y
5874
sym->val = strdup(val);
usr.sbin/pfctl/parse.y
693
if (($$ = strdup("all")) == NULL) {
usr.sbin/pfctl/pfctl.c
1764
pf->ifname = strdup(ifname);
usr.sbin/pfctl/pfctl_osfp.c
359
if ((wr_name = strdup(name)) == NULL)
usr.sbin/pfctl/pfctl_parser.c
1208
if ((n->ifname = strdup(ifa->ifa_name)) == NULL)
usr.sbin/pfctl/pfctl_parser.c
1243
if ((n->ifname = strdup(ifa_name)) == NULL)
usr.sbin/pfctl/pfctl_parser.c
1424
if ((ps = strdup(s)) == NULL)
usr.sbin/pfctl/pfctl_parser.c
1462
if ((ps = strdup(s)) == NULL)
usr.sbin/pfctl/pfctl_parser.c
1569
if ((ps = strdup(s)) == NULL)
usr.sbin/ppp/bundle.c
1558
iov[0].iov_base = strdup(Version);
usr.sbin/ppp/chat.c
752
char *name = strdup(vector[0]);
usr.sbin/ppp/command.c
508
nargv[0] = strdup(oargv[0]);
usr.sbin/ppp/command.c
527
nargv[arg] = strdup(oargv[arg]);
usr.sbin/ppp/datalink.c
1323
dl->name = strdup(dl->name);
usr.sbin/ppp/datalink.c
1423
dl->physical->link.name = dl->name = strdup(name);
usr.sbin/ppp/datalink.c
842
dl->name = strdup(name);
usr.sbin/ppp/datalink.c
898
dl->name = strdup(name);
usr.sbin/ppp/iface.c
153
iface->name = strdup(name);
usr.sbin/ppp/libradius/radlib.c
439
if ((srvp->secret = strdup(secret)) == NULL) {
usr.sbin/ppp/libradius/radlib.c
579
if ((host_dup = strdup(host)) == NULL) {
usr.sbin/pw/pw_group.c
325
if ((valueCopy = strdup(arg->val)) == NULL)
usr.sbin/rarpd/rarpd.c
921
p = strdup("");
usr.sbin/rpc.lockd/lockd.c
134
hosts[nhosts - 1] = strdup(optarg);
usr.sbin/rpc.lockd/lockd.c
148
svcport_str = strdup(optarg);
usr.sbin/rpc.umntall/mounttab.c
186
host = strdup(hostp);
usr.sbin/rpcbind/rpcb_svc_com.c
181
a->r_netid = strdup(reg.r_netid);
usr.sbin/rpcbind/rpcb_svc_com.c
182
a->r_addr = strdup(reg.r_addr);
usr.sbin/rpcbind/rpcb_svc_com.c
183
a->r_owner = strdup(owner);
usr.sbin/rpcbind/rpcb_svc_com.c
301
reg.r_netid = strdup(rbl->rpcb_map.r_netid);
usr.sbin/rpcbind/rpcb_svc_com.c
328
uaddr = strdup(fnd->rpcb_map.r_addr);
usr.sbin/rpcbind/rpcb_svc_com.c
517
rmt->netid = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
535
tcptrans = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
547
udptrans = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
658
rbl->rpcb_map.r_netid = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
660
rbl->rpcb_map.r_owner = strdup(superuser);
usr.sbin/rpcbind/rpcbind.c
717
hosts[nhosts - 1] = strdup(optarg);
usr.sbin/rpcbind/util.c
169
ret = strdup(serv_uaddr);
usr.sbin/rrenumd/parser.y
254
$$.cp = strdup($1.cp);
usr.sbin/rrenumd/parser.y
260
$$.cp = strdup(&$1.cp[1]);
usr.sbin/rtadvctl/rtadvctl.c
356
action_argv = strdup(":reload=");
usr.sbin/rtadvctl/rtadvctl.c
375
action_argv = strdup("echo");
usr.sbin/rtadvctl/rtadvctl.c
384
action_argv = strdup("shutdown");
usr.sbin/rtadvctl/rtadvctl.c
396
action_argv = strdup(":version=");
usr.sbin/rtadvd/control_server.c
111
cp->cp_val = strdup("");
usr.sbin/rtadvd/control_server.c
122
cp->cp_val = strdup(CM_VERSION_STR);
usr.sbin/sshlockout/sshlockout.c
415
ip->ips = strdup(ips);
usr.sbin/syslogd/syslogd.c
1154
wmsg = strdup(msg); /* XXX iov_base needs a `const' sibling. */
usr.sbin/syslogd/syslogd.c
1785
f->f_host = strdup(host);
usr.sbin/syslogd/syslogd.c
1800
f->f_program = strdup(prog);
usr.sbin/syslogd/syslogd.c
2491
argv[0] = strdup("sh");
usr.sbin/syslogd/syslogd.c
2492
argv[1] = strdup("-c");
usr.sbin/syslogd/syslogd.c
2493
argv[2] = strdup(prog);
usr.sbin/traceroute/traceroute.c
487
if ((hostname = strdup(hp->h_name)) == NULL)
usr.sbin/traceroute6/traceroute6.c
559
hostname = res->ai_canonname ? strdup(res->ai_canonname) : *argv;
usr.sbin/tzsetup/tzsetup.c
376
cp->name = strdup(name);
usr.sbin/tzsetup/tzsetup.c
379
cp->tlc = strdup(t);
usr.sbin/tzsetup/tzsetup.c
415
zp->descr = strdup(descr);
usr.sbin/tzsetup/tzsetup.c
418
zp->filename = strdup(file);
usr.sbin/tzsetup/tzsetup.c
432
cp->filename = strdup(file);
usr.sbin/uefisign/uefisign.c
65
c = strdup(s);
usr.sbin/vknetd/vknetd.c
144
str = strdup(av[0]);
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
508
tmp->name = strdup(optarg);
usr.sbin/ypserv/yp_dblookup.c
272
qptr->dbptr->name = strdup(name);
usr.sbin/ypserv/yp_dnslookup.c
453
q->name = strdup(name);
usr.sbin/ypserv/yp_dnslookup.c
541
q->name = strdup(buf);
usr.sbin/ypserv/yp_server.c
706
if ((cur->map = strdup(dirp->d_name)) == NULL) {