Symbol: strdup
bin/dd/args.c
137
if ((oper = strdup(oper)) == NULL) {
bin/pax/ar_io.c
1556
if ((arcfree = strdup(buf)) == NULL) {
bin/pax/options.c
1269
dir = strdup(str + 3);
bin/pax/options.c
1963
if ((dstr = strdup(str)) == NULL) {
bin/pax/pat_rep.c
176
if ((rep->nstr = strdup(pt1)) == NULL) {
bin/pax/pat_rep.c
369
if ((pt->pstr = strdup(arcn->name)) == NULL) {
bin/pax/tables.c
1000
if ((pt->name = strdup(fname)) != NULL) {
bin/pax/tables.c
1202
(dblk->name = strdup(name)) == NULL) {
bin/pax/tables.c
204
if ((pt->name = strdup(arcn->name)) != NULL) {
bin/pax/tables.c
553
if ((pt->nname = strdup(nname)) == NULL) {
bin/pax/tables.c
565
if ((pt->oname = strdup(oname)) != NULL) {
bin/pax/tables.c
566
if ((pt->nname = strdup(nname)) != NULL) {
bin/rcp/rcp.c
153
if ((pwname = strdup(pwd->pw_name)) == NULL)
bin/setfacl/setfacl.c
113
files_list[i] = strdup(filename);
bin/sh/histedit.c
1006
matches[0] = strdup(text);
bin/sh/histedit.c
310
HistFile = strdup(hs);
bin/sh/histedit.c
947
if ((free_path = path = strdup(pathval())) == NULL)
bin/sh/histedit.c
983
matches[i] = strdup(entry->d_name);
bin/sh/histedit.c
994
matches[0] = strdup(matches[1]);
bin/sh/var.c
357
vp->text = strdup(ip->text);
bin/sh/var.c
380
vps1.text = strdup(u != 0 ? "PS1=$ " : "PS1=# ");
crypto/dist/ipsec-tools/src/racoon/debugrm.c
199
p = strdup(str);
crypto/dist/ipsec-tools/src/racoon/debugrm.h
53
#define racoon_strdup(p) strdup((p))
crypto/dist/ipsec-tools/src/racoon/gcmalloc.h
123
#define racoon_strdup(s) strdup((s))
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
651
if ((reply[i].resp = strdup(PAM_usr)) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
661
if ((reply[i].resp = strdup(PAM_pwd)) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
715
if ((remote = strdup(saddrwop2str(raddr))) == NULL) {
crypto/dist/ipsec-tools/src/racoon/misc.h
52
char *strdup(const char *);
crypto/dist/ipsec-tools/src/racoon/sainfo.c
102
dpeer = strdup("NULL");
crypto/dist/ipsec-tools/src/racoon/sainfo.c
107
dclient = strdup("NULL");
crypto/dist/ipsec-tools/src/racoon/sainfo.c
365
idloc = strdup("ANONYMOUS");
crypto/dist/ipsec-tools/src/racoon/sainfo.c
370
idrmt = strdup("ANONYMOUS");
crypto/dist/ipsec-tools/src/racoon/sainfo.c
372
idrmt = strdup("CLIENTADDR");
crypto/dist/ipsec-tools/src/racoon/sainfo.c
377
id_i = strdup("ANY");
crypto/dist/ipsec-tools/src/racoon/sainfo.c
90
dloc = strdup("ANONYMOUS");
crypto/dist/ipsec-tools/src/racoon/sainfo.c
95
drmt = strdup("ANONYMOUS");
crypto/dist/ipsec-tools/src/racoon/sainfo.c
97
drmt = strdup("CLIENTADDR");
crypto/dist/ipsec-tools/src/setkey/parse.y
1644
sport->buf = strdup(sp);
crypto/dist/ipsec-tools/src/setkey/parse.y
1652
dport->buf = strdup(dp);
crypto/dist/ipsec-tools/src/setkey/parse.y
823
$$.buf = strdup("0");
crypto/dist/ipsec-tools/src/setkey/parse.y
836
$$.buf = strdup("0");
crypto/dist/ipsec-tools/src/setkey/parse.y
847
$$.buf = strdup(buf);
crypto/dist/ipsec-tools/src/setkey/parse.y
895
$$.buf = strdup($1.buf);
dist/pf/sbin/pfctl/parse.y
5168
yylval.v.string = strdup(buf);
dist/pf/sbin/pfctl/parse.y
5213
if ((yylval.v.string = strdup(buf)) == NULL)
dist/pf/sbin/pfctl/parse.y
5285
sym->nam = strdup(nam);
dist/pf/sbin/pfctl/parse.y
5290
sym->val = strdup(val);
dist/pf/sbin/pfctl/parse.y
886
if ((loadanchor->filename = strdup($5)) == NULL)
dist/pf/sbin/pfctl/pfctl.c
1729
pf->ifname = strdup(ifname);
dist/pf/sbin/pfctl/pfctl_osfp.c
360
if ((wr_name = strdup(name)) == NULL)
dist/pf/sbin/pfctl/pfctl_parser.c
1205
if ((n->ifname = strdup(ifa->ifa_name)) == NULL)
dist/pf/sbin/pfctl/pfctl_parser.c
1244
if ((n->ifname = strdup(ifa_name)) == NULL)
dist/pf/sbin/pfctl/pfctl_parser.c
1428
if ((ps = strdup(s)) == NULL)
dist/pf/sbin/pfctl/pfctl_parser.c
1466
if ((ps = strdup(s)) == NULL)
dist/pf/sbin/pfctl/pfctl_parser.c
1573
if ((ps = strdup(s)) == NULL)
dist/pf/usr.sbin/authpf/authpf.c
677
if ((fn = strdup(PATH_PFRULES)) == NULL)
distrib/utils/more/main.c
334
p = strdup(s);
games/battlestar/init.c
88
return strdup(ptr->pw_name);
games/fortune/fortune/fortune.c
452
char *tpath, *offensive, *tfile = strdup(file), *tf;
games/monop/execute.c
602
pp->name = strdup(txt);
games/monop/monop.c
290
name_list[i] = play[i].name = strdup(buf);
games/sail/pl_7.c
325
copy = strdup(text);
games/snake/snscore/snscore.c
106
players[noplayers].name = strdup(q);
include/string.h
88
char *strdup(const char *);
lib/libc/citrus/citrus_db_factory.c
151
tmp = strdup(key);
lib/libc/citrus/citrus_db_factory.c
210
p = strdup(data);
lib/libc/citrus/citrus_esdb.c
107
esdb->db_encname = strdup(str);
lib/libc/citrus/citrus_esdb.c
118
esdb->db_variable = strdup(str);
lib/libc/citrus/citrus_esdb.c
162
esdb->db_charsets[i].ec_csname = strdup(str);
lib/libc/citrus/citrus_esdb.c
306
list[num] = strdup(buf);
lib/libc/citrus/citrus_esdb.c
327
list[num] = strdup(buf);
lib/libc/citrus/citrus_lc_messages.c
116
*p = strdup(s);
lib/libc/citrus/citrus_lc_monetary.c
145
*p_string = strdup(s);
lib/libc/citrus/citrus_lc_numeric.c
117
*p = strdup(s);
lib/libc/citrus/citrus_lc_time.c
170
*p = strdup(s);
lib/libc/citrus/citrus_lookup.c
123
cl->cl_key = strdup(key);
lib/libc/citrus/citrus_lookup.c
231
cl->cl_key = strdup(key);
lib/libc/citrus/citrus_mapper.c
103
ma->ma_dir = strdup(area);
lib/libc/citrus/citrus_mapper.c
352
cm->cm_key = strdup(mapname);
lib/libc/citrus/citrus_module.c
324
_pathI18nModule = strdup(p);
lib/libc/citrus/citrus_pivot_factory.c
77
se->se_name = strdup(name);
lib/libc/compat/stdlib/compat_putenv.c
75
if ((copy = strdup(name)) == NULL)
lib/libc/gen/extattr.c
62
strdup(EXTATTR_NAMESPACE_USER_STRING)) == NULL)
lib/libc/gen/extattr.c
70
strdup(EXTATTR_NAMESPACE_SYSTEM_STRING)) == NULL)
lib/libc/gen/getgrent.c
1466
state->name = strdup("");
lib/libc/gen/getgrent.c
1473
state->name = strdup(filebuf + 1);
lib/libc/gen/getnetgrent.c
238
*line = strdup(data.data);
lib/libc/gen/getnetgrent.c
726
ng_copy = strdup(ng);
lib/libc/gen/getnetgrent.c
810
if ((grcpy = strdup(grp)) == NULL) {
lib/libc/gen/getpwent.c
2118
state->user = strdup(pw->pw_name + 1);
lib/libc/gen/posix_spawn_fileactions.c
118
faepath = strdup(path);
lib/libc/gen/posix_spawn_fileactions.c
187
dirpath = strdup(path);
lib/libc/net/getaddrinfo.c
1430
hostname2 = strdup(hostname);
lib/libc/net/getaddrinfo.c
1469
ai->ai_canonname = strdup(str);
lib/libc/net/hesiod.c
252
ret = strdup(bindname);
lib/libc/net/hesiod.c
324
ctx->lhs = strdup(DEF_LHS);
lib/libc/net/hesiod.c
325
ctx->rhs = strdup(DEF_RHS);
lib/libc/net/hesiod.c
365
*which = strdup(data);
lib/libc/net/nsdispatch.c
302
mod.name = strdup(source);
lib/libc/posix1e/acl_from_text.c
201
mybuf_p = strdup(buf_p);
lib/libc/posix1e/acl_support_nfs4.c
152
str = strdup(strp);
lib/libc/posix1e/acl_to_text.c
74
buf = strdup("");
lib/libc/posix1e/acl_to_text_nfs4.c
243
return strdup("");
lib/libc/resolv/res_debug.c
1125
sizestr = strdup(precsize_ntoa((u_int32_t)sizeval));
lib/libc/resolv/res_debug.c
1126
hpstr = strdup(precsize_ntoa((u_int32_t)hpval));
lib/libc/resolv/res_debug.c
1127
vpstr = strdup(precsize_ntoa((u_int32_t)vpval));
lib/libc/rpc/clnt_generic.c
257
cl->cl_netid = strdup(nconf->nc_netid);
lib/libc/rpc/clnt_generic.c
262
cl->cl_tp = strdup(nconf->nc_device);
lib/libc/rpc/clnt_generic.c
358
cl->cl_netid = strdup(nconf->nc_netid);
lib/libc/rpc/clnt_generic.c
361
cl->cl_tp = strdup(nconf->nc_device);
lib/libc/rpc/rpc_generic.c
288
netid_tcp = strdup(nconf->nc_netid);
lib/libc/rpc/rpc_generic.c
302
netid_udp = strdup(nconf->nc_netid);
lib/libc/rpc/rpc_generic.c
677
ret = strdup(sun->sun_path);
lib/libc/rpc/rpc_generic.c
702
addrstr = strdup(uaddr);
lib/libc/rpc/rpcb_clnt.c
232
ad_cache->ac_host = strdup(host);
lib/libc/rpc/rpcb_clnt.c
233
ad_cache->ac_netid = strdup(netid);
lib/libc/rpc/rpcb_clnt.c
234
ad_cache->ac_uaddr = uaddr ? strdup(uaddr) : NULL;
lib/libc/rpc/svc.c
265
netid = strdup(xprt->xp_netid);
lib/libc/rpc/svc.c
268
netid = strdup(nconf->nc_netid);
lib/libc/rpc/svc.c
271
netid = strdup(tnconf->nc_netid);
lib/libc/rpc/svc.c
297
if ((((SVCXPRT *) xprt)->xp_netid = strdup(netid)) == NULL) {
lib/libc/rpc/svc_generic.c
313
xprt->xp_netid = strdup(nconf->nc_netid);
lib/libc/rpc/svc_generic.c
314
xprt->xp_tp = strdup(nconf->nc_device);
lib/libc/rpc/svc_simple.c
172
((netid = strdup(nconf->nc_netid)) == NULL)) {
lib/libc/rpc/svc_vc.c
285
if ((xprt->xp_netid = strdup(netid)) == NULL)
lib/libc/stdio/vfwprintf.c
1100
result = convbuf = strdup(dtoaresult);
lib/libc/stdio/vfwprintf.c
1152
result = convbuf = strdup(dtoaresult);
lib/libc/stdlib/strfmon.c
249
currency_symbol = strdup(lc->int_curr_symbol);
lib/libc/stdlib/strfmon.c
256
currency_symbol = strdup(lc->currency_symbol);
lib/libc/string/strdup.c
49
__weak_alias(strdup,_strdup)
lib/libc/string/strdup.c
53
strdup(const char *str)
lib/libc/string/strerror_r.c
68
errlist_prefix = strdup(catgets(catd, 1, 0xffff, UPREFIX));
lib/libc/string/strerror_r.c
85
errlist[i] = strdup(catgets(catd, 1, i, sys_errlist[i]));
lib/libc/time/zic.c
665
return memcheck(strdup(str));
lib/libc/yp/yp_master.c
86
if ((*outname = strdup(yprm.master)) == NULL)
lib/libc/yp/yp_match.c
118
if ((ep->map = strdup(map)) == NULL)
lib/libc/yp/yp_match.c
122
if ((ep->map = strdup(map)) == NULL)
lib/libcompat/4.3/regex.c
102
re_errstr = strdup(s);
lib/libcompat/4.3/ruserpass.c
160
*aname = strdup(tokval);
lib/libcompat/4.3/ruserpass.c
178
*apass = strdup(tokval);
lib/libcrypt/crypt-argon2.c
262
in = (char *)strdup(option);
lib/libcrypt/pw_gensalt.c
183
in = strdup(option);
lib/libedit/TEST/test_filecompletion.c
508
return strdup(inputs[i].expanded_text[last_index++]);
lib/libedit/filecomplete.c
114
return strdup(txt);
lib/libedit/filecomplete.c
365
filename = strdup(text);
lib/libedit/filecomplete.c
383
if ((dirname = strdup("")) == NULL)
lib/libedit/filecomplete.c
385
dirpath = strdup("./");
lib/libedit/filecomplete.c
389
dirpath = strdup(dirname);
lib/libedit/filecomplete.c
733
completion = strdup(matches[0]);
lib/libedit/filecomplete.c
77
return strdup(txt);
lib/libedit/filecomplete.c
81
temp = strdup(txt + 1);
lib/libedit/history.c
68
#define Strdup(s) strdup(s)
lib/libedit/readline.c
1015
*output = strdup(str);
lib/libedit/readline.c
1915
return strdup(pass->pw_name);
lib/libedit/readline.c
2155
if ((wbuf = strdup(buf)) != NULL)
lib/libedit/readline.c
2425
if ((list[0] = strdup(list[1])) == NULL)
lib/libedit/readline.c
2440
if ((list[0] = strdup(str)) == NULL)
lib/libedit/readline.c
271
rl_prompt = strdup(prompt);
lib/libedit/readline.c
290
rl_prompt_saved = strdup(rl_prompt);
lib/libedit/readline.c
486
buf = strdup(ret);
lib/libedit/readline.c
670
last_search_match = strdup(pat);
lib/libedit/readline.c
722
*fromp = strdup(search);
lib/libedit/readline.c
799
aptr = strdup(aptr + 1); // XXX: check
lib/libedit/readline.c
865
*result = strdup(aptr ? aptr : ptr);
lib/libedit/readline.c
878
tmp = strdup(last_search_match ? last_search_match : "");
lib/libedit/readline.c
919
tmp = strdup(aptr? aptr:ptr);
lib/libedit/readline.c
999
*output = strdup(str);
lib/libedit/tokenizer.c
75
#define tok_strdup(s) strdup(s)
lib/libexecinfo/symtab.c
161
s->st_name = strdup(
lib/libform/field.c
490
return strdup(field->buffers[buffer].string);
lib/libintl/gettext.c
1011
odomainname = strdup(domainname);
lib/libintl/gettext.c
1012
ocname = strdup(cname);
lib/libintl/gettext.c
720
mohandle->mo.mo_charset = strdup(value + 8);
lib/libintl/textdomain.c
119
p->codeset = strdup(codeset);
lib/libpam/libpam/pam_std_option.c
109
= strdup(&argv[j][arglen + 1]);
lib/libpam/modules/pam_krb5/pam_krb5.c
158
if ((srvdup = strdup(service)) == NULL) {
lib/libpam/modules/pam_krb5/pam_krb5.c
237
principal = strdup(user);
lib/libpam/modules/pam_krb5/pam_krb5.c
851
if ((passdup = strdup(pass)) == NULL) {
lib/libpam/modules/pam_ksu/pam_ksu.c
232
ccname = strdup(p);
lib/libpam/modules/pam_radius/pam_radius.c
235
msgs[num_msgs].msg = strdup("(null RADIUS challenge): ");
lib/libpam/modules/pam_skey/pam_skey.c
87
response = strdup(pass);
lib/libpam/modules/pam_unix/pam_unix.c
298
yppwd.oldpass = strdup(old_pass);
lib/libpam/modules/pam_unix/pam_unix.c
299
if ((yppwd.newpw.pw_passwd = strdup(pwd->pw_passwd)) == NULL)
lib/libpam/modules/pam_unix/pam_unix.c
301
if ((yppwd.newpw.pw_name = strdup(pwd->pw_name)) == NULL)
lib/libpam/modules/pam_unix/pam_unix.c
305
if ((yppwd.newpw.pw_gecos = strdup(pwd->pw_gecos)) == NULL)
lib/libpam/modules/pam_unix/pam_unix.c
307
if ((yppwd.newpw.pw_dir = strdup(pwd->pw_dir)) == NULL)
lib/libpam/modules/pam_unix/pam_unix.c
309
if ((yppwd.newpw.pw_shell = strdup(pwd->pw_shell)) == NULL)
lib/libperfuse/perfuse.c
126
if ((string = strdup(data)) == NULL)
lib/libperfuse/perfuse.c
458
if ((ps->ps_source = strdup(pmi->pmi_source)) == NULL)
lib/libperfuse/perfuse.c
467
ps->ps_filesystemtype = strdup(pmi->pmi_filesystemtype);
lib/libperfuse/perfuse.c
477
if ((fstype = strdup("perfuse")) == NULL)
lib/libperfuse/perfuse.c
481
if ((ps->ps_target = strdup(pmi->pmi_target)) == NULL)
lib/libperfuse/perfuse.c
604
if ((po_root->po_path = strdup("/")) == NULL)
lib/libpthread/pthread.c
457
if ((name = strdup(p->ptap_name)) == NULL)
lib/libpthread/pthread.c
844
cp = strdup(newname);
lib/libquota/quota_nfs.c
164
path = strdup(qh->qh_mountdevice);
lib/libquota/quota_oldfiles.c
155
ofe->ofe_userquotafile = strdup(s);
lib/libquota/quota_oldfiles.c
164
ofe->ofe_groupquotafile = strdup(s);
lib/libquota/quota_oldfiles.c
173
ofe->ofe_mountpoint = strdup(fs->fs_file);
lib/libquota/quota_open.c
105
qh->qh_mountpoint = strdup(stv.f_mntonname);
lib/libquota/quota_open.c
113
qh->qh_mountdevice = strdup(stv.f_mntfromname);
lib/libradius/radlib.c
375
if ((srvp->secret = strdup(secret)) == NULL) {
lib/librefuse/refuse.c
1140
if ((po_root->po_path = strdup("/")) == NULL)
lib/librefuse/refuse/chan.c
79
chan->mountpoint = strdup(mountpoint);
lib/librefuse/refuse_opt.c
137
if ((args->argv[pos] = strdup(arg)) == NULL)
lib/librefuse/refuse_opt.c
304
char* dup = strdup(param);
lib/librefuse/refuse_opt.c
69
if ((args->argv[args->argc++] = strdup(arg)) == NULL)
lib/librefuse/refuse_opt.c
91
if ((ap->argv[i] = strdup(argv[i])) == NULL)
lib/libresolv/dst_api.c
178
new_key->dk_key_name = strdup(name);
lib/libresolv/dst_api.c
901
pk_key->dk_key_name = strdup(name);
lib/libresolv/res_findzonecut.c
557
nsrr->name = strdup(tname);
lib/libresolv/res_mkupdate.c
1021
slp->name = strdup(pp->p_name);
lib/libresolv/res_mkupdate.c
930
if (!rrecp || !(rrecp->r_dname = strdup(dname))) {
lib/libresolv/res_mkupdate.c
976
slp->name = strdup(sp->s_name);
lib/libresolv/res_mkupdate.c
977
slp->proto = strdup(sp->s_proto);
lib/librumphijack/hijack.c
1955
dup2str = strdup(buf);
lib/librumphijack/hijack.c
731
if ((rumpprefix = strdup(buf)) == NULL)
lib/librumphijack/hijack.c
757
blanket[i].pfx = strdup(p);
lib/librumphijack/hijack.c
920
if ((hijackcopy = strdup(hijack)) == NULL)
lib/librumpuser/rumpfiber.c
231
thread->name = strdup(name);
lib/librumpuser/rumpfiber.c
404
thread->name = strdup("init");
lib/librumpuser/rumpuser_sp.c
1316
p = strdup(url);
lib/libtelnet/misc.c
76
UserNameRequested = name ? strdup(name) : 0;
lib/libtelnet/sra.c
506
#define COPY_STRING(s) (s ? strdup(s) : NULL)
lib/libterminfo/compile.c
293
return strdup(orig);
lib/libterminfo/compile.c
652
tic->desc = strdup(desc);
lib/libterminfo/term.c
374
c = strdup(c);
lib/libterminfo/term.c
386
e = strdup(e); /* So we don't destroy env */
lib/libukfs/ukfs.c
1224
lf->pname = strdup(nbuf);
lib/libukfs/ukfs.c
1332
f1 = f2 = strdup(pathname);
lib/libukfs/ukfs.c
625
fs->ukfs_devpath = strdup(devpath);
lib/libukfs/ukfs.c
627
fs->ukfs_mountpath = strdup(mountpath);
lib/libukfs/ukfs.c
636
fs->ukfs_cwd = strdup("/");
lib/libusbhid/usage.c
106
n = strdup(name);
lib/libutil/efun.c
95
char *d = strdup(s);
lib/libutil/getmntopts.c
140
if ((mp->optbuf = strdup(options)) == NULL) {
lib/libutil/if_media.c
149
optlist = strdup(val);
lib/libutil/login_cap.c
98
if ((lc->lc_class = strdup(class)) == NULL) {
lib/libutil/pidfile.c
313
pf_path = strdup(path);
lib/libutil/stat_flags.c
97
return strdup(string);
lib/libutil/stat_flags.c
98
return strdup(def);
libexec/ftpd/ftpd.c
3747
char *new = strdup(s);
libexec/httpd/bozohttpd.c
2498
p = strdup(str);
libexec/mail.local/mail.local.c
139
tn = strdup(_PATH_LOCTMP);
libexec/rshd/rshd.c
668
if(!(sh = strdup(sh))) {
libexec/telnetd/sys_term.c
589
user = (user != NULL) ? strdup(user) : NULL;
sbin/ccdconfig/ccdconfig.c
312
cp = strdup(buf);
sbin/devpubd/devpubd.c
214
ev->device = strdup(laa.l_childname[n]);
sbin/drvctl/drvctl.c
221
s = strdup(prop);
sbin/dump/dumprmt.c
122
if ((name = strdup(pwd->pw_name)) == NULL)
sbin/dump/dumprmt.c
89
if ((rmtpeer = strdup(host)) == NULL)
sbin/dump/main.c
875
p = strdup(str);
sbin/dump/snapshot.c
168
*snap_dev = strdup(fss_dev);
sbin/fdisk/fdisk.c
1061
boot_path = strdup(name);
sbin/fsck_ffs/main.c
315
path = strdup(blockcheck(*argv));
sbin/fsck_ffs/main.c
317
path = strdup(*argv);
sbin/fsck_udf/main.c
3103
this->fname = strdup(fname);
sbin/fsck_udf/main.c
3424
node, &node->streamdir_loc, strdup(""));
sbin/fsck_udf/main.c
3875
root_node = udf_new_fsck_node(NULL, &root_icb, strdup(""));
sbin/fsck_udf/main.c
3883
sys_stream_node = udf_new_fsck_node(NULL, &sys_stream_icb, strdup("#"));
sbin/fsck_v7fs/fsck_v7fs.c
211
s = strdup(o);
sbin/fsdb/fsdb.c
382
line = strdup(elline);
sbin/gpt/biosboot.c
105
bp = strdup(DEFAULT_BOOTDIR "/" DEFAULT_BOOTCODE);
sbin/gpt/biosboot.c
107
bp = strdup(bootpath);
sbin/gpt/gpt.c
1472
*name = strdup(optarg);
sbin/ifconfig/parse.c
347
if ((arg = strdup(arg0)) == NULL)
sbin/init/init.c
1154
sp->se_window = strdup(typ->ty_window);
sbin/ldconfig/ldconfig.c
320
shp->name = strdup(name);
sbin/ldconfig/ldconfig.c
338
shp->name = strdup(name);
sbin/ldconfig/ldconfig.c
580
shp->name = strdup(strtab + bp->hi_namex);
sbin/ldconfig/ldconfig.c
581
shp->path = strdup(strtab + bp->hi_pathx);
sbin/ldconfig/ldconfig.c
589
dir_list = strdup(strtab + hdr->hh_dirlist);
sbin/ldconfig/shlib.c
82
search_dirs[n_search_dirs - 2] = strdup(name);
sbin/modload/main.c
228
name = strdup(origstr);
sbin/mount/vfslist.c
78
if ((fsl = strdup(fslist)) == NULL) {
sbin/mount_nfs/mount_nfs.c
186
if ((tspec = strdup(spec)) == NULL) {
sbin/mount_portal/conf.c
160
key = strdup(cline);
sbin/mount_portal/conf.c
186
p->p_args = strdup(cline);
sbin/newfs_msdos/mkfs_msdos.c
466
if (!(bname = strdup(buf))) {
sbin/newfs_msdos/newfs_msdos.c
193
if ((fname = strdup(device)) == NULL)
sbin/newfs_udf/newfs_udf.c
152
format_str = strdup("");
sbin/newfs_udf/newfs_udf.c
188
context.logvol_name = strdup(optarg);
sbin/newfs_udf/newfs_udf.c
215
context.volset_name = strdup(optarg);
sbin/newfs_udf/newfs_udf.c
222
context.primary_name = strdup(optarg);
sbin/newfs_udf/udf_core.c
3333
dev_name = strdup(device);
sbin/newfs_udf/udf_core.c
4508
context.logvol_name = strdup("anonymous");
sbin/newfs_udf/udf_core.c
4530
context.fileset_name = strdup("anonymous");
sbin/ping/ping.c
427
policy_in = strdup(optarg);
sbin/ping/ping.c
431
policy_out = strdup(optarg);
sbin/ping6/ping6.c
2499
return strdup(hbuf);
sbin/ping6/ping6.c
540
if ((policy_in = strdup(optarg)) == NULL)
sbin/ping6/ping6.c
543
if ((policy_out = strdup(optarg)) == NULL)
sbin/raidctl/raidctl.c
257
parityconf = strdup(optarg);
sbin/route/route.c
986
n = strdup(s);
sbin/routed/main.c
214
q = strdup(optarg);
sbin/savecore/savecore.c
817
if ((dp = strdup(device)) == NULL) {
sbin/swapctl/swapctl.c
780
spec = strdup(s + strlen(NFSMNTPT));
sbin/sysctl/sysctl.c
2732
if (s == NULL && (s = strdup("")) == NULL)
sbin/sysctl/sysctl.c
2740
char *s = strdup(v);
sbin/wsconsctl/mouse.c
191
calibration_samples = strdup("");
sbin/wsconsctl/util.c
417
if ((*((char **) f->valp) = strdup(val)) == NULL)
share/examples/puffs/icfs/icfs.c
136
po_new->po_path = strdup(src);
share/examples/refuse/fanoutfs/fanoutfs.c
237
names.v[names.c++] = strdup(dp->d_name);
share/examples/refuse/fanoutfs/fanoutfs.c
88
dirs.v[dirs.c++] = strdup(cp);
share/examples/refuse/ian/ian/ian.c
256
cachedir = strdup(DEFAULT_CACHE_DIR);
share/examples/refuse/ian/ian/ian.c
261
cachedir = strdup(optarg);
share/examples/refuse/ian/libfetch/fetch.c
272
if ((u->doc = strdup(doc ? doc : "/")) == NULL) {
share/examples/refuse/ian/libfetch/fetch.c
398
} else if ((u->doc = strdup(p)) == NULL) {
share/examples/refuse/ian/libfetch/http.c
659
if ((str = strdup(p)) == NULL)
share/examples/refuse/virtdir/virtdir.c
127
tp->rootdir = strdup(rootdir);
share/examples/refuse/virtdir/virtdir.c
213
dirp->dirname = strdup(d);
share/examples/rump/sdread/sdread.c
114
args.fspec = strdup("/dev/sd0e");
share/examples/rump/sdread/sdread.c
118
uargs.fspec = strdup("/dev/sd0e");
share/examples/rump/sdread/sdread.c
121
iargs.fspec = strdup("/dev/cd0a");
sys/arch/hpc/hpc/platid_gen/platid_gen.c
313
np->ptr2 = strdup(buf);
sys/arch/ia64/stand/common/boot.c
315
dev = strdup(lbuf);
sys/arch/ia64/stand/common/boot.c
334
fstyp = strdup(ep);
sys/arch/ia64/stand/common/bootstrap.h
99
char *strdup(const char*);
sys/arch/ia64/stand/common/commands.c
103
*subtopic = strdup(cp + 1);
sys/arch/ia64/stand/common/commands.c
105
*desc = strdup(cp + 1);
sys/arch/ia64/stand/common/commands.c
162
subtopic = strdup(argv[2]);
sys/arch/ia64/stand/common/commands.c
164
topic = strdup(argv[1]);
sys/arch/ia64/stand/common/commands.c
167
topic = strdup("help");
sys/arch/ia64/stand/common/commands.c
99
*topic = strdup(cp + 1);
sys/arch/ia64/stand/common/console.c
74
prefconsole = strdup(prefconsole);
sys/arch/ia64/stand/common/environment.c
131
ev->ev_value = strdup(value);
sys/arch/ia64/stand/common/environment.c
171
copy = strdup(string);
sys/arch/ia64/stand/common/environment.c
89
ev->ev_name = strdup(name);
sys/arch/ia64/stand/common/interp.c
173
argvbuf[i] = strdup(argv[i]);
sys/arch/ia64/stand/common/interp.c
334
pr = p = strdup(cp);
sys/arch/ia64/stand/common/interp_backslash.c
49
if ((new_str = strdup(str)) == NULL)
sys/arch/ia64/stand/common/interp_parse.c
199
args[(*argcp)++] = strdup(buf);
sys/arch/ia64/stand/common/load_elf64.c
73
fp->f_name = strdup(filename);
sys/arch/ia64/stand/common/load_elf64.c
74
fp->f_type = strdup(ELF64_KERNELTYPE);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
920
march = strdup(sup_plats[i]);
sys/arch/sgimips/stand/haudfw/haudfw.c
147
char *line_copy = strdup(line);
sys/arch/sgimips/stand/undist/undist.c
133
cpy = strdup(str);
sys/dev/microcode/aic7xxx/aicasm.c
240
include_dir->directory = strdup(optarg);
sys/dev/microcode/aic7xxx/aicasm_gram.y
1576
cur_symbol->info.macroinfo->body = strdup(bodytext);
sys/dev/microcode/aic7xxx/aicasm_gram.y
274
prefix = strdup($3);
sys/dev/microcode/aic7xxx/aicasm_gram.y
286
patch_arg_list = strdup($3);
sys/dev/microcode/aic7xxx/aicasm_macro_gram.y
155
marg->replacement_text = strdup(argtext);
sys/dev/microcode/aic7xxx/aicasm_symbol.c
389
lower_name = strdup(regnode->symbol->name);
sys/dev/microcode/aic7xxx/aicasm_symbol.c
80
new_symbol->name = strdup(name);
sys/dev/microcode/cyclades-z/cyzfirm2h.c
85
include_name = strdup(argv[2]);
sys/fs/nfs/client/nfs_clvfsops.c
833
*hostnamep = strdup(nam, M_NEWNFSMNT);
sys/fs/nfs/common/bootp_subr.c
1499
p = strdup(p + 4, M_TEMP);
sys/fs/nfs/common/nfs_diskless.c
110
opts = strdup(envopts, M_TEMP);
sys/fs/nfs/nlm/nlm_prot_impl.c
2075
strdup(argp->alock.caller_name, M_RPC);
tests/kernel/h_ps_strings2.c
58
if ((argv[i] = strdup(buf)) == NULL)
tests/kernel/kqueue/t_proc1.c
64
if ((argv[0] = strdup("true")) == NULL)
tests/kernel/kqueue/t_proc1.c
67
if ((envp[0] = strdup("FOO=BAZ")) == NULL)
tests/lib/libc/gen/t_dir.c
98
wasname = strdup(entry->d_name);
tests/lib/libc/gen/t_vis.c
184
ol = strdup(ol);
tests/lib/libc/regex/t_regex_att.c
371
ATF_REQUIRE((res = strdup(matches)) != NULL);
tests/lib/libc/regex/t_regex_att.c
454
ATF_REQUIRE((lastpattern = strdup(pattern)) != NULL);
tests/lib/libc/stdio/h_intr.c
109
char *s = strdup(argv[i]);
tests/lib/libc/stdlib/h_getopt.c
60
optstring = strdup(optstring);
tests/lib/libc/stdlib/h_getopt.c
73
args[nargs] = strdup(args[nargs]);
tests/lib/libc/stdlib/h_getopt.c
75
args[nargs] = strdup(args[nargs]);
tests/lib/libc/stdlib/h_getopt.c
91
result = strdup(result);
tests/lib/libc/stdlib/h_getopt_long.c
109
longopts[nlongopts].name = strdup(longopt);
tests/lib/libc/stdlib/h_getopt_long.c
157
args[nargs] = strdup(args[nargs]);
tests/lib/libc/stdlib/h_getopt_long.c
159
args[nargs] = strdup(args[nargs]);
tests/lib/libc/stdlib/h_getopt_long.c
174
result = strdup(result);
tests/lib/libc/stdlib/h_getopt_long.c
66
optstring = strdup(optstring);
tests/lib/libc/stdlib/t_hsearch.c
254
e.key = strdup(ch); /* ptr to provided key is kept! */
tests/lib/libc/stdlib/t_hsearch.c
99
e.key = strdup(ch); /* ptr to provided key is kept! */
tests/lib/libc/stdlib/t_strtoi.c
74
emsg = strdup(emsg);
tests/lib/libc/string/t_bm.c
83
ATF_REQUIRE((text = strdup(testcases[ts].text)));
tests/lib/libc/sys/t_clock_gettime.c
181
REQUIRE_LIBC(save = strdup(cbuf), NULL);
tests/lib/libcurses/director/director.c
280
if ((cur_file = strdup(argv[0])) == NULL)
tests/lib/libcurses/director/testlang_parse.y
1395
if ((input_str = strdup(s)) == NULL)
tests/lib/libpthread/h_resolv.c
86
sl_add(hosts, strdup(ptr));
tests/lib/librefuse/t_refuse_opt.c
174
config->nonopt = strdup(arg);
tests/net/inpcb/inpcb_bind.c
373
any->ai_canonname = strdup("*");
usr.bin/audio/common/decode.c
80
char *copy = strdup(arg);
usr.bin/bdes/bdes.c
203
argv[i] = strdup(av[i]);
usr.bin/cap_mkdb/cap_mkdb.c
131
if ((capname = strdup(outfile)) == NULL)
usr.bin/cdplay/cdplay.c
302
line = strdup(elline);
usr.bin/checknr/checknr.c
606
if ((*loc = strdup(mac)) == NULL)
usr.bin/chpass/chpass.c
200
old_pw.pw_gecos = strdup(old_pw.pw_gecos);
usr.bin/chpass/edit.c
126
bp = strdup(pw->pw_gecos);
usr.bin/chpass/field.c
164
if (!(pw->pw_class = strdup(p))) {
usr.bin/chpass/field.c
199
if (!(ep->save = strdup(p))) {
usr.bin/chpass/field.c
215
if (!(pw->pw_dir = strdup(p))) {
usr.bin/chpass/field.c
229
if (!(pw->pw_shell = strdup(_PATH_BSHELL))) {
usr.bin/chpass/field.c
248
if (!(pw->pw_shell = strdup(p))) {
usr.bin/chpass/field.c
69
if (!(pw->pw_name = strdup(p))) {
usr.bin/chpass/field.c
88
if (!(pw->pw_passwd = strdup(p))) {
usr.bin/chpass/pw_yp.c
161
yppw.newpw.pw_name = strdup(pw->pw_name);
usr.bin/chpass/pw_yp.c
166
yppw.newpw.pw_passwd = strdup(pw->pw_passwd);
usr.bin/chpass/pw_yp.c
173
yppw.newpw.pw_gecos = strdup(pw->pw_gecos);
usr.bin/chpass/pw_yp.c
178
yppw.newpw.pw_dir = strdup(pw->pw_dir);
usr.bin/chpass/pw_yp.c
183
yppw.newpw.pw_shell = strdup(pw->pw_shell);
usr.bin/crunch/crunchgen/crunchgen.c
144
makebin = strdup("make");
usr.bin/crunch/crunchgen/crunchgen.c
147
makeflags = strdup("");
usr.bin/crunch/crunchgen/crunchgen.c
622
p->objdir = strdup(path);
usr.bin/crunch/crunchgen/crunchgen.c
627
p->objdir = strdup(path);
usr.bin/crunch/crunchgen/crunchgen.c
632
p->objdir = strdup(path);
usr.bin/crunch/crunchgen/crunchgen.c
928
if ((n = strdup(str)) == NULL)
usr.bin/crunch/crunchide/crunchide.c
161
newp->sym = strdup(symbol);
usr.bin/csplit/csplit.c
375
if ((ecopy = strdup(expr)) == NULL)
usr.bin/ctags/tree.c
87
if (!(np->entry = strdup(name)))
usr.bin/ctags/tree.c
92
if (!(np->pat = strdup(lbuf)))
usr.bin/dc/dc.c
51
if ((buf = strdup("")) == NULL)
usr.bin/dc/mem.c
87
q = strdup(p);
usr.bin/dc/stack.c
85
copy->u.string = strdup(a->u.string);
usr.bin/deroff/deroff.c
446
q->datap = strdup(fname);
usr.bin/diff/xmalloc.c
67
if ((cp = strdup(str)) == NULL)
usr.bin/diff3/diff3.c
210
(*dd)[i].line = strdup(p);
usr.bin/diff3/diff3.c
547
de[j].line = strdup(diff->line);
usr.bin/error/pi.c
269
nwordv[0] = strdup(currentfilename);
usr.bin/error/pi.c
270
nwordv[1] = strdup(c_linenumber);
usr.bin/error/pi.c
274
nwordv[4] = strdup("%%%\n");
usr.bin/error/pi.c
295
nwordv[0] = strdup(currentfilename);
usr.bin/error/pi.c
345
nwordv[0] = strdup(currentfilename);
usr.bin/error/pi.c
357
nwordv[0] = strdup(currentfilename);
usr.bin/error/pi.c
358
nwordv[1] = strdup(c_header[0]);
usr.bin/error/pi.c
359
nwordv[2] = strdup(c_header[1]);
usr.bin/error/pi.c
360
nwordv[3] = strdup(c_header[2]);
usr.bin/error/pi.c
374
nwordv[0] = strdup(currentfilename);
usr.bin/error/pi.c
375
nwordv[1] = strdup(c_linenumber);
usr.bin/error/pi.c
388
currentfilename = strdup(cur_wordv[6]);
usr.bin/error/pi.c
429
nwordv[0] = strdup(currentfilename);
usr.bin/error/subr.c
190
*r_perd = strdup(cp+1);
usr.bin/error/subr.c
193
*r_pers = strdup(string);
usr.bin/error/subr.c
221
*r_perd = strdup(cp+1);
usr.bin/error/subr.c
224
*r_pers = strdup(string + 1);
usr.bin/error/subr.c
89
ret = strdup(s);
usr.bin/finger/util.c
406
pn->name = strdup(pw->pw_name);
usr.bin/finger/util.c
407
pn->dir = strdup(pw->pw_dir);
usr.bin/finger/util.c
408
pn->shell = strdup(pw->pw_shell);
usr.bin/finger/util.c
416
pn->realname = strdup(name);
usr.bin/finger/util.c
418
strdup(p) : NULL;
usr.bin/finger/util.c
420
strdup(p) : NULL;
usr.bin/finger/util.c
422
strdup(p) : NULL;
usr.bin/flock/flock.c
143
if ((v = strdup(*av++)) == NULL)
usr.bin/ftp/extern.h
258
#define ftp_strdup(a) strdup(a)
usr.bin/ftp/util.c
1603
s = strdup(str);
usr.bin/gencat/gencat.c
271
if ((nstr = strdup(str)) == NULL)
usr.bin/grep/util.c
435
if ((ret = strdup(str)) == NULL)
usr.bin/gzip/gzip.c
563
s = strdup(gzip);
usr.bin/indent/lexi.c
324
typenames.items[pos] = nonnull(strdup(name));
usr.bin/kdump/kdump.c
215
emul_name = strdup(optarg); /* it's safer to copy it */
usr.bin/ktrace/ktrace.c
124
emul_name = strdup(optarg); /* it's safer to copy it */
usr.bin/locale/locale.c
416
s = strdup(dp->d_name);
usr.bin/locate/locate/locate.c
157
char *lp = strdup(locate_path);
usr.bin/lock/lock.c
145
mypw = strdup(pw->pw_passwd);
usr.bin/login/k5login.c
374
principal = strdup(pw->pw_name);
usr.bin/login/login.c
279
nested = strdup(user_from_uid(getuid(), 0));
usr.bin/login/login.c
606
if ((shell = strdup(shell)) == NULL) {
usr.bin/login/login_pam.c
219
nested = strdup(user_from_uid(getuid(), 0));
usr.bin/login/login_pam.c
578
if ((pwd->pw_shell = strdup(shell)) == NULL) {
usr.bin/m4/misc.c
378
char *p = strdup(s);
usr.bin/man/man.c
173
if ((m.manpath = strdup(optarg)) == NULL)
usr.bin/man/man.c
822
if ((*pathp = strdup(tpath)) == NULL) {
usr.bin/menuc/mdb.c
79
temp->id = strdup(name);
usr.bin/menuc/util.c
102
char *res = strdup(mc_buff);
usr.bin/mkcsmapper/yacc.y
696
output = strdup(optarg);
usr.bin/mkdep/findcc.c
80
return strdup(buffer);
usr.bin/mkesdb/yacc.y
313
output = strdup(optarg);
usr.bin/mklocale/yacc.y
143
rl_variable = strdup($1);
usr.bin/mktemp/mktemp.c
132
name = strdup(argv[0]);
usr.bin/mkubootimage/mkubootimage.c
516
image_name = strdup(optarg);
usr.bin/nbsvtool/nbsvtool.c
393
file = strdup(sigfile);
usr.bin/nc/netcat.c
347
if ((proxy = strdup(optarg)) == NULL)
usr.bin/passwd/yp_passwd.c
107
*old_pass = strdup(p);
usr.bin/passwd/yp_passwd.c
144
result = strdup(crypt(buf, salt));
usr.bin/paste/paste.c
73
delim = strdup(optarg);
usr.bin/patch/backupfile.c
69
tmp_file = strdup(file);
usr.bin/patch/backupfile.c
76
tmp_file = strdup(file);
usr.bin/patch/inp.c
189
tmp_filename1 = strdup(filename);
usr.bin/patch/inp.c
190
tmp_filename2 = strdup(filename);
usr.bin/patch/util.c
199
rv = strdup(s);
usr.bin/patch/util.c
323
if ((tmpbuf = strdup(filename)) == NULL)
usr.bin/pathchk/pathchk.c
98
if ((pathd = strdup(path)) == NULL)
usr.bin/pwhash/pwhash.c
271
if ((string = strdup(argv[optind])) == NULL)
usr.bin/rlogin/rlogin.c
152
host = strdup(getprogname());
usr.bin/rlogin/rlogin.c
221
if ((name = strdup(pw->pw_name)) == NULL)
usr.bin/rpcgen/rpc_cout.c
477
sizestr = strdup(ptemp);
usr.bin/rpcgen/rpc_main.c
371
dos_cppfile = strdup(cppfile);
usr.bin/rpcgen/rpc_main.c
502
guard = strdup(filename);
usr.bin/rpcgen/rpc_main.c
572
guard = strdup("STDIN_");
usr.bin/rpcgen/rpc_parse.c
487
dec->name = strdup(name);
usr.bin/rpcgen/rpc_parse.c
501
dec->name = strdup(tok.str);
usr.bin/rpcinfo/rpcinfo.c
770
list->rpcb_map.r_netid = strdup("udp");
usr.bin/rpcinfo/rpcinfo.c
772
list->rpcb_map.r_netid = strdup("tcp");
usr.bin/rsh/rsh.c
122
host = strdup(getprogname());
usr.bin/rsh/rsh.c
153
if ((name = strdup(pw->pw_name)) == NULL)
usr.bin/rump_dhcpclient/common.c
190
if ((value = strdup(str)) != NULL)
usr.bin/rup/rup.c
195
rup_data[rup_data_idx].host = strdup(host);
usr.bin/sdiff/sdiff.c
795
if (!(*s = strdup(append)))
usr.bin/sed/compile.c
768
s->wfile = strdup(wfile);
usr.bin/soelim/soelim.c
101
if ((p->list[p->c++] = strdup(dir)) == NULL)
usr.bin/systat/globalcmds.c
57
if ((p = strdup(s)) == NULL)
usr.bin/systat/globalcmds.c
69
p = strdup(s + len + 1);
usr.bin/systat/ifcmds.c
73
matchline = strdup(args);
usr.bin/tabs/tabs.c
147
tabs = strdup(spec);
usr.bin/talk/get_names.c
86
names = strdup(argv[1]);
usr.bin/telnet/commands.c
1695
ep->var = strdup(var);
usr.bin/telnet/commands.c
1696
ep->value = strdup(value);
usr.bin/telnet/main.c
264
ipsec_policy_in = strdup(optarg);
usr.bin/telnet/main.c
266
ipsec_policy_out = strdup(optarg);
usr.bin/tic/tic.c
367
tic->alias = strdup(rtic->alias);
usr.bin/tic/tic.c
372
tic->desc = strdup(rtic->desc);
usr.bin/tip/tip.c
623
value(PARITY) = curpar = strdup(defparity);
usr.bin/tip/value.c
108
if ((p->v_value = strdup(v)) == NULL) {
usr.bin/tset/map.c
80
copy = strdup(arg);
usr.bin/units/units.c
102
ret = strdup(str);
usr.bin/videoctl/videoctl.c
120
video_dev = strdup(optarg);
usr.bin/videoctl/videoctl.c
520
buf = strdup(name);
usr.bin/videoctl/videoctl.c
601
buf = strdup(name);
usr.bin/wall/wall.c
178
g->mem[i] = strdup(grp->gr_mem[i]);
usr.bin/whois/whois.c
273
nhost = strdup(ip_whois[i]);
usr.bin/xargs/xargs.c
462
if ((*tmp++ = strdup(*avj++)) == NULL)
usr.bin/xargs/xargs.c
480
if ((*tmp = strdup(*tmp)) == NULL)
usr.bin/xinstall/xinstall.c
194
afterinstallcmd = strdup(optarg);
usr.bin/xinstall/xinstall.c
298
stripArgs = strdup(optarg);
usr.bin/xlint/common/mem.c
85
return not_null(strdup(s));
usr.sbin/altq/libaltq/qop.c
342
ifinfo->ifname = strdup(ifname);
usr.sbin/altq/libaltq/qop.c
496
clinfo->clname = strdup(clname);
usr.sbin/altq/libaltq/qop.c
498
clinfo->clname = strdup("(null)"); /* dummy name */
usr.sbin/altq/libaltq/qop.c
600
fltrinfo->flname = strdup(flname);
usr.sbin/altq/libaltq/qop.c
602
fltrinfo->flname = strdup("(null)"); /* dummy name */
usr.sbin/altq/libaltq/qop_cdnr.c
426
clinfo->clname = strdup(cdnr_name);
usr.sbin/apmd/apmd.c
173
socketname = strdup(sockname);
usr.sbin/autofs/common.c
188
n->n_options = strdup("");
usr.sbin/autofs/common.c
219
n->n_options = strdup("");
usr.sbin/autofs/common.c
71
c = strdup(s);
usr.sbin/btdevctl/btdevctl.c
225
str = strdup(arg);
usr.sbin/edquota/edquota.c
479
*idtypename_p = strdup(idtypename);
usr.sbin/eeprom/main.c
186
keyword = strdup(line);
usr.sbin/envstat/config.c
196
s = strdup(prop);
usr.sbin/envstat/config.c
426
db->dev_key = strdup(key);
usr.sbin/envstat/envstat.c
256
s = strdup(sensors);
usr.sbin/envstat/envstat.c
837
if ((s = strdup(str)) == NULL)
usr.sbin/faithd/faithd.c
251
serverpath = strdup(argv[NUMPRG]);
usr.sbin/faithd/faithd.c
255
serverarg[i] = strdup(argv[i + NUMARG]);
usr.sbin/faithd/prefix.c
67
p = strdup(s);
usr.sbin/fstyp/fstyp.c
134
c = strdup(s);
usr.sbin/fstyp/hammer.c
175
dup = strdup(blkdevs);
usr.sbin/fstyp/hammer2.c
268
p = strdup(devpath);
usr.sbin/fstyp/hammer2.c
282
p = strdup(p);
usr.sbin/fstyp/hammer2.c
426
p = dup = strdup(blkdevs);
usr.sbin/fwctl/eui64.c
109
linehead = strdup(l);
usr.sbin/fwctl/fwcontrol.c
792
crom_string = strdup(optarg);
usr.sbin/fwctl/fwcontrol.c
806
crom_string_hex = strdup(optarg);
usr.sbin/fwctl/fwcontrol.c
909
recv_data = strdup(optarg);
usr.sbin/fwctl/fwcontrol.c
918
send_data = strdup(optarg);
usr.sbin/hdaudioctl/hdaudioctl.c
330
devpath = strdup(optarg);
usr.sbin/ifwatchd/ifwatchd.c
438
char * names = strdup(ifnames);
usr.sbin/ifwatchd/ifwatchd.c
449
p->ifname = strdup(name);
usr.sbin/inetd/ipsec.c
63
p0 = p = strdup("in entrust; out entrust");
usr.sbin/inetd/ipsec.c
65
p0 = p = strdup(policy);
usr.sbin/inetd/ipsec.c
97
p0 = p = strdup(policy);
usr.sbin/inetd/parse.c
885
if ((dp = strdup((cp != NULL) ? cp : "")) != NULL)
usr.sbin/installboot/evboards.c
1187
*board_namep = strdup(compatible);
usr.sbin/installboot/installboot.c
436
cp = strdup(option);
usr.sbin/ip6addrctl/ip6addrctl.c
264
if ((prefix = strdup(prefix0)) == NULL)
usr.sbin/kvm_mkdb/nlist_coff.c
317
data.data = strdup(&mappedfile[vma]);
usr.sbin/kvm_mkdb/nlist_ecoff.c
246
data.data = strdup(&mappedfile[vma]);
usr.sbin/kvm_mkdb/nlist_elf32.c
351
data.data = strdup(&mappedfile[nbuf.n_value -
usr.sbin/lpr/lpc/lpc.c
180
cmdline = strdup(elline);
usr.sbin/lpr/lpd/lpd.c
174
blist[blist_addrs++] = strdup(optarg);
usr.sbin/lpr/lpd/printjob.c
1577
p = strdup(MS);
usr.sbin/lpr/lpd/printjob.c
1580
*ap++ = strdup(val);
usr.sbin/lpr/pac/pac.c
346
hp->h_name = strdup(name);
usr.sbin/mailwrapper/mailwrapper.c
77
if ((al->argv[al->argc++] = strdup(arg)) == NULL)
usr.sbin/makefs/udf.c
262
context.logvol_name = strdup(buf);
usr.sbin/makefs/udf.c
269
context.volset_name = strdup(buf);
usr.sbin/makefs/udf.c
277
context.primary_name = strdup(buf);
usr.sbin/memswitch/memswitch.c
207
buf = strdup(expr);
usr.sbin/mmcformat/mmcformat.c
705
progname = strdup(argv[0]);
usr.sbin/mmcformat/mmcformat.c
810
dev.dev_name = strdup(*argv);
usr.sbin/mountd/mountd.c
1840
ep->ex_indexfile = strdup(cpoptarg);
usr.sbin/mrouted/cfparse.y
207
boundlist[numbounds].name = strdup($2);
usr.sbin/mtree/only.c
96
if ((x = strdup(str)) == NULL)
usr.sbin/mtree/spec.c
515
if ((cur->slink = strdup(new->slink)) == NULL)
usr.sbin/mtree/spec.c
596
if ((ip->md5digest = strdup(md)) == NULL)
usr.sbin/mtree/spec.c
616
if ((ip->rmd160digest = strdup(md)) == NULL)
usr.sbin/mtree/spec.c
624
if ((ip->sha1digest = strdup(md)) == NULL)
usr.sbin/mtree/spec.c
633
if ((ip->slink = strdup(val)) == NULL)
usr.sbin/mtree/spec.c
674
if ((ip->sha256digest = strdup(md)) == NULL)
usr.sbin/mtree/spec.c
682
if ((ip->sha384digest = strdup(md)) == NULL)
usr.sbin/mtree/spec.c
690
if ((ip->sha512digest = strdup(md)) == NULL)
usr.sbin/ndbootd/ndbootd.c
688
boot2_file_name = strdup(boot2_x_name);
usr.sbin/npf/npfd/npfd_log.c
229
ctx->filter = strdup(filter);
usr.sbin/puffs/mount_psshfs/psshfs.c
282
user = strdup(argv[0]);
usr.sbin/quotarestore/quotarestore.c
163
idtypenames[i] = strdup(quota_idtype_getname(qh, i));
usr.sbin/quotarestore/quotarestore.c
176
objtypenames[i] = strdup(quota_objtype_getname(qh, i));
usr.sbin/rarpd/rarpd.c
213
p->ii_name = strdup(ifname);
usr.sbin/rbootd/utils.c
334
if ((stmp = strdup(str)) == NULL) {
usr.sbin/route6d/route6d.c
3088
char *buf = strdup(p);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1210
alias[num_aliases].a_printer = strdup(printer);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1212
(strcmp(alias_for, "-") ? strdup(alias_for) : NULL);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1214
alias[num_aliases].a_command = strdup(command);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1241
curr->pn = strdup(alias[i].a_printer);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1243
curr->device = strdup("");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1245
curr->device = strdup(alias[i].a_alias_for);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1246
curr->remhost = strdup("");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1247
curr->cm = strdup("(alias)");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
426
curr->pn = strdup(cp);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
429
curr->cm = strdup("-");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
443
curr->remhost = strdup(cp);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
447
curr->device = strdup(curr->pn);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
464
curr->device = strdup(cp);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
484
curr->device = strdup(cp);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
495
curr->remhost = strdup(cp);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
498
curr->device = strdup(cp);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
499
curr->remhost = strdup("");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
552
curr->pn = strdup(cp);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
553
curr->device = strdup(cp);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
554
curr->remhost = strdup("");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
555
curr->cm = strdup("-");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
693
curr->id = strdup(job);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
694
curr->size = strdup(totsize);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
695
curr->status = strdup("");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
696
curr->system = strdup("");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
697
curr->user = strdup(owner);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
698
curr->file = strdup("");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
699
curr->cm = strdup("-");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
792
curr->id = strdup(job);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
793
curr->size = strdup(totsize);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
794
curr->status = strdup(rank);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
795
curr->system = strdup("");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
796
curr->user = strdup(owner);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
797
curr->file = strdup(files);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
798
curr->cm = strdup("-");
usr.sbin/rpcbind/rpcb_svc_com.c
189
a->r_netid = strdup(reg.r_netid);
usr.sbin/rpcbind/rpcb_svc_com.c
190
a->r_addr = strdup(reg.r_addr);
usr.sbin/rpcbind/rpcb_svc_com.c
191
a->r_owner = strdup(owner);
usr.sbin/rpcbind/rpcb_svc_com.c
309
reg.r_netid = strdup(rbl->rpcb_map.r_netid);
usr.sbin/rpcbind/rpcb_svc_com.c
340
uaddr = strdup(fnd->rpcb_map.r_addr);
usr.sbin/rpcbind/rpcb_svc_com.c
528
rmt->netid = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
605
tcptrans = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
624
udptrans = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
823
rbl->rpcb_map.r_netid = strdup(nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
825
rbl->rpcb_map.r_owner = strdup(rpcbind_superuser);
usr.sbin/rpcbind/rpcbind.c
905
hosts[nhosts - 1] = strdup(optarg);
usr.sbin/rpcbind/util.c
128
return strdup(clnt_uaddr);
usr.sbin/rpcbind/util.c
146
return strdup(serv_uaddr);
usr.sbin/schedctl/schedctl.c
248
cpustr = strdup(str);
usr.sbin/sysinst/arch/i386/md.c
296
bootxx_filename = strdup(target_expand(p));
usr.sbin/sysinst/disklabel.c
167
parts->dp.disk = strdup(dev);
usr.sbin/sysinst/disklabel.c
249
parts->dp.disk = strdup(disk);
usr.sbin/sysinst/disks.c
2001
l->fmt = strdup("/dev/%s %s ffs %s");
usr.sbin/sysinst/disks.c
2007
l->fmt = strdup("/dev/%s %s ufs %s");
usr.sbin/sysinst/disks.c
2013
l->fmt = strdup(NAME_PREFIX "%s %s ffs %s");
usr.sbin/sysinst/disks.c
2024
l->fmt = strdup(devdev);
usr.sbin/sysinst/disks.c
2032
l->fmt = strdup(devdev);
usr.sbin/sysinst/disks.c
2044
l->fmt = strdup(devdev);
usr.sbin/sysinst/disks.c
2052
l->fmt = strdup(devdev);
usr.sbin/sysinst/gpt.c
1090
p->last_mounted = strdup(info->last_mounted);
usr.sbin/sysinst/gpt.c
415
parts->dp.disk = strdup(dev);
usr.sbin/sysinst/gpt.c
436
char *path = strdup(lm);
usr.sbin/sysinst/gpt.c
511
parts->dp.disk = strdup(disk);
usr.sbin/sysinst/gpt.c
829
gpt_ptype_descs[gpt_ptype_cnt].gent.short_desc = strdup(name);
usr.sbin/sysinst/gpt.c
830
gpt_ptype_descs[gpt_ptype_cnt].gent.description = strdup(desc);
usr.sbin/sysinst/main.c
415
res->fnames[res->num_lang] = strdup(fname);
usr.sbin/sysinst/main.c
416
res->lang_msg[res->num_lang++] = strdup(cp);
usr.sbin/sysinst/main.c
437
found.lang_msg[0] = strdup(msg_string(MSG_sysinst_message_language));
usr.sbin/sysinst/mbr.c
1791
m->last_mounted[i] = strdup(data.last_mounted);
usr.sbin/sysinst/mbr.c
2277
m->last_mounted[0] = strdup(data.last_mounted);
usr.sbin/sysinst/mbr.c
2332
strdup(data.last_mounted);
usr.sbin/sysinst/mbr.c
2351
strdup(data.last_mounted);
usr.sbin/sysinst/mbr.c
2414
m->last_mounted[free_primary] = strdup(data.last_mounted);
usr.sbin/sysinst/mbr.c
631
char *p = strdup(mount);
usr.sbin/sysinst/mbr.c
921
parts->dp.disk = strdup(disk);
usr.sbin/sysinst/mbr.c
994
parts->dp.disk = strdup(disk);
usr.sbin/sysinst/part_edit.c
1412
str[used] = strdup(buf);
usr.sbin/sysinst/part_edit.c
1415
str[used] = strdup(msg_string(p->name));
usr.sbin/sysinst/partman.c
299
p->mounted[id] = strdup(path);
usr.sbin/sysinst/util.c
1774
new = strdup(m->opts[m->cursel].opt_name);
usr.sbin/sysinst/util.c
1903
tz_names[nfiles] = strdup(zoneinfo_dir + zonerootlen);
usr.sbin/sysinst/util.c
1957
tz_selected = strdup(tz_default);
usr.sbin/sysinst/util.c
2223
path = strdup(path);
usr.sbin/syslogd/sign.c
757
*hash = strdup((char *)md_b64);
usr.sbin/syslogd/sign.c
857
buffer->sd = strdup(sd);
usr.sbin/syslogd/sign.c
900
*signature = strdup((char *)sig_b64);
usr.sbin/syslogd/syslogd.c
1276
buffer->recvhost = strdup(hname);
usr.sbin/syslogd/syslogd.c
1375
buffer->host = strdup(hname);
usr.sbin/syslogd/syslogd.c
1498
buffer->recvhost = strdup(hname);
usr.sbin/syslogd/syslogd.c
1668
buffer->prog = strdup(_PATH_UNIX);
usr.sbin/syslogd/syslogd.c
1734
if (sd) buffer->sd = strdup(sd);
usr.sbin/syslogd/syslogd.c
1813
*to_buf = strdup("-");
usr.sbin/syslogd/syslogd.c
2122
&& (shorthostname = strdup(hostname))) {
usr.sbin/syslogd/syslogd.c
3233
strdup(TypeInfo[i].default_length_string);
usr.sbin/syslogd/syslogd.c
3240
strdup(TypeInfo[i].default_size_string);
usr.sbin/syslogd/syslogd.c
3839
f->f_host = strdup(host);
usr.sbin/syslogd/syslogd.c
3847
f->f_program = strdup(prog);
usr.sbin/syslogd/syslogd.c
4813
return strdup(timestamp);
usr.sbin/syslogd/syslogd.c
899
if (((*lp)[(*szp)++] = strdup(new)) == NULL) {
usr.sbin/syslogd/tls.c
313
return strdup(statusmsg);
usr.sbin/tadpolectl/tadpolectl.c
631
table[num].value = atoi(strdup(buf));
usr.sbin/tadpolectl/tadpolectl.c
646
table[num].value = atoi(strdup(buf));
usr.sbin/tadpolectl/tadpolectl.c
721
p = strdup(string);
usr.sbin/tpctl/data.c
373
elem->name = strdup(name);
usr.sbin/traceroute/ifaddrlist.c
127
if ((al[i].device = strdup(ifa->ifa_name)) == NULL)
usr.sbin/traceroute/traceroute.c
1658
hi->name = strdup(hname);
usr.sbin/traceroute/traceroute.c
1674
hi->name = strdup(hp->h_name);
usr.sbin/traceroute6/traceroute6.c
504
hostname = res->ai_canonname ? strdup(res->ai_canonname) : *argv;
usr.sbin/veriexecgen/veriexecgen.c
482
v.from_filename = strdup(optarg);
usr.sbin/wgconfig/wgconfig.c
521
addr = addr_port = strdup(_addr_port);
usr.sbin/wgconfig/wgconfig.c
584
allowed_ips = strdup(_allowed_ips);
usr.sbin/wsmoused/config_yacc.y
103
$$->b_name = strdup($2); }
usr.sbin/wsmoused/config_yacc.y
119
p->p_name = strdup($1);
usr.sbin/wsmoused/config_yacc.y
120
p->p_value = strdup($3);
usr.sbin/wsmoused/config_yacc.y
78
Conf->b_name = strdup("global"); }
usr.sbin/wsmoused/config_yacc.y
99
{ $4->b_name = strdup($2);
usr.sbin/yppoll/yppoll.c
216
*outname = (char *)strdup(yprm.master);
usr.sbin/ypserv/common/yplib_host.c
289
*outname = (char *)strdup(yprm.master);
usr.sbin/ypserv/mknetid/mknetid.c
179
u->usr_name = strdup(username);
usr.sbin/ypserv/revnetgroup/hash.c
165
new->key = strdup(key);
usr.sbin/ypserv/revnetgroup/hash.c
166
new->data = strdup(data);
usr.sbin/ypserv/revnetgroup/hash.c
197
tmp->groupname = strdup(data);
usr.sbin/ypserv/revnetgroup/hash.c
221
new->key = strdup(key);
usr.sbin/ypserv/revnetgroup/hash.c
222
new->domain = strdup(domain);
usr.sbin/ypserv/revnetgroup/parse_netgroup.c
115
grouphead.grname = strdup(group);
usr.sbin/ypserv/ypserv/ypserv_db.c
390
d->domain = strdup(domain);
usr.sbin/ypserv/ypserv/ypserv_db.c
412
m->map = strdup(map);