/freebsd/usr.bin/logins/ |
H A D | logins.c | 110 xstrdup(const char *str) in xstrdup() function 138 grps[ngrps].gr_name = xstrdup(grp->gr_name); in get_groups() 139 grps[ngrps].gr_passwd = xstrdup(grp->gr_passwd); in get_groups() 141 grps[ngrps].gr_mem = xstrdup(""); in get_groups() 213 pwds[npwds].pw_name = xstrdup(pwd->pw_name); in get_users() 214 pwds[npwds].pw_passwd = xstrdup(pwd->pw_passwd); in get_users() 218 pwds[npwds].pw_class = xstrdup(pwd->pw_class); in get_users() 219 pwds[npwds].pw_gecos = xstrdup(pwd->pw_gecos); in get_users() 220 pwds[npwds].pw_dir = xstrdup(pwd->pw_dir); in get_users() 221 pwds[npwds].pw_shell = xstrdup(pwd->pw_shell); in get_users()
|
/freebsd/crypto/openssh/ |
H A D | canohost.c | 106 return xstrdup(ntop); in get_socket_address() 109 return xstrdup(((struct sockaddr_un *)&addr)->sun_path); in get_socket_address() 123 return xstrdup("UNKNOWN"); in get_peer_ipaddr() 133 return xstrdup("UNKNOWN"); in get_local_ipaddr() 148 host = xstrdup("UNKNOWN"); in get_local_name() 150 host = xstrdup(myname); in get_local_name()
|
H A D | readconf.c | 483 xstrdup(path); in add_certificate_file() 498 path = xstrdup(filename); in add_identity_file() 561 argv[2] = xstrdup(cmd); in execute_in_shell() 665 host = xstrdup(options->hostname); in expand_match_exec_or_include_path() 671 host = xstrdup(host_arg); in expand_match_exec_or_include_path() 723 host = xstrdup(options->hostname); in match_cfg_line() 729 host = xstrdup(host_arg); in match_cfg_line() 735 attrib = oattrib = xstrdup(attrib); in match_cfg_line() 803 criteria = xstrdup(host); in match_cfg_line() 808 criteria = xstrdup(original_host); in match_cfg_line() [all …]
|
H A D | ssh.c | 413 *namep = xstrdup(cname); in check_follow_cname() 443 *hostp = xstrdup(newname); in resolve_canonicalize() 474 fullhost = xstrdup(*hostp); in resolve_canonicalize() 701 saved_av[i] = xstrdup(av[i]); in main() 815 options.tag = xstrdup(optarg); in main() 850 cp = xstrdup("2"); in main() 852 cp = xstrdup(compression_alg_list(0)); in main() 858 cp = xstrdup( in main() 895 options.pkcs11_provider = xstrdup(optarg); in main() 910 options.proxy_command = xstrdup("none"); in main() [all …]
|
H A D | match.c | 196 char *hostcopy = xstrdup(host); in match_hostname() 256 pat = xstrdup(pattern); in match_user() 280 c = cp = xstrdup(client); in match_list() 281 s = sp = xstrdup(server); in match_list() 296 ret = xstrdup(p); in match_list()
|
H A D | auth-bsdauth.c | 85 *name = xstrdup(""); in bsdauth_query() 86 *infotxt = xstrdup(""); in bsdauth_query() 90 (*prompts)[0] = xstrdup(challenge); in bsdauth_query()
|
H A D | servconf.c | 308 options->pam_service_name = xstrdup(SSHD_PAM_SERVICE); in fill_default_server_options() 336 options->pid_file = xstrdup(_PATH_SSH_DAEMON_PID_FILE); in fill_default_server_options() 338 options->moduli_file = xstrdup(_PATH_DH_MODULI); in fill_default_server_options() 358 options->xauth_location = xstrdup(_PATH_XAUTH); in fill_default_server_options() 485 options->version_addendum = xstrdup(SSH_VERSION_FREEBSD); in fill_default_server_options() 497 options->sk_provider = xstrdup("internal"); in fill_default_server_options() 503 options->sshd_session_path = xstrdup(_PATH_SSHD_SESSION); in fill_default_server_options() 818 return xstrdup("none"); in derelativise_path() 872 options->listen_addrs[i].rdomain = xstrdup(rdomain); in add_one_listen_addr() 942 qla->addr = xstrdup(addr); in queue_listen_addr() [all …]
|
H A D | sftp.c | 384 return (xstrdup(path)); in path_strip() 390 return (xstrdup(path + len)); in path_strip() 393 return (xstrdup(path)); in path_strip() 656 abs_src = make_absolute_pwd_glob(xstrdup(src), pwd); in process_get() 682 tmp = xstrdup(g.gl_pathv[i]); in process_get() 694 abs_dst = xstrdup(dst); in process_get() 699 abs_dst = xstrdup(filename); in process_get() 746 tmp_dst = xstrdup(dst); in process_put() 777 tmp = xstrdup(g.gl_pathv[i]); in process_put() 792 abs_dst = xstrdup(tmp_dst); in process_put() [all …]
|
H A D | readpass.c | 108 pass = xstrdup(buf); in ssh_askpass() 173 return (flags & RP_ALLOW_EOF) ? NULL : xstrdup(""); in read_passphrase() 184 return xstrdup(""); in read_passphrase() 191 return xstrdup(""); in read_passphrase() 194 ret = xstrdup(buf); in read_passphrase()
|
H A D | misc.c | 509 copy->pw_name = xstrdup(pw->pw_name); in pwcopy() 510 copy->pw_passwd = xstrdup(pw->pw_passwd == NULL ? "*" : pw->pw_passwd); in pwcopy() 512 copy->pw_gecos = xstrdup(pw->pw_gecos); in pwcopy() 523 copy->pw_class = xstrdup(pw->pw_class); in pwcopy() 525 copy->pw_dir = xstrdup(pw->pw_dir); in pwcopy() 526 copy->pw_shell = xstrdup(pw->pw_shell); in pwcopy() 559 sp = xstrdup(s); in a2tun() 731 return(xstrdup(host)); in put_host_port() 851 sdup = xstrdup(s); in parse_user_host_path() 861 path = xstrdup(tmp); in parse_user_host_path() [all …]
|
H A D | ssh-keygen.c | 327 pass = xstrdup(identity_passphrase); in load_identity() 1246 ohosts = hosts = xstrdup(l->hosts); in known_hosts_hash() 1461 old_passphrase = xstrdup(identity_passphrase); in do_change_passphrase() 1480 passphrase1 = xstrdup(identity_new_passphrase); in do_change_passphrase() 1575 passphrase = xstrdup(""); in do_change_comment() 1580 passphrase = xstrdup(identity_passphrase); in do_change_comment() 1582 passphrase = xstrdup(identity_new_passphrase); in do_change_comment() 1661 cert_ext[ncert_ext].key = xstrdup(key); in cert_ext_add() 1662 cert_ext[ncert_ext].val = value == NULL ? NULL : xstrdup(value); in cert_ext_add() 1867 otmp = tmp = xstrdup(cert_principals); in do_ca_sign() [all …]
|
H A D | ssh-add.c | 331 comment = xstrdup(filename); in add_file() 686 (*listp)[i] = xstrdup(s); in stringlist_append() 700 os = xstrdup(s); in parse_dest_constraint_hop() 714 dch->user = xstrdup(user); in parse_dest_constraint_hop() 729 dch->user = user == NULL ? NULL : xstrdup(user); in parse_dest_constraint_hop() 730 dch->hostname = xstrdup(host); in parse_dest_constraint_hop() 765 os = xstrdup(s); in parse_dest_constraint()
|
H A D | scp.c | 492 newargv[n] = xstrdup(argv[n]); in main() 576 ssh_program = xstrdup(optarg); in main() 761 *pathp = xstrdup("."); in parse_scp_uri() 995 if (append(xstrdup(cp2), &done, &ndone) != 0) { in brace_expand() 1321 return xstrdup("."); in prepare_remote_path() 1323 return xstrdup(path); in prepare_remote_path() 1326 return xstrdup("."); in prepare_remote_path() 1327 return xstrdup(path + 2 + nslash); in prepare_remote_path() 1618 tmp = xstrdup(g.gl_pathv[i]); in sink_sftp() 1628 abs_dst = xstrdup(dst); in sink_sftp() [all …]
|
H A D | sshconnect.c | 654 *hostfile_ipaddr = xstrdup("<no hostip for proxy " in get_hostfile_hostname_ipaddr() 667 *hostfile_hostname = xstrdup(options.host_key_alias); in get_hostfile_hostname_ipaddr() 703 return xstrdup(path); in try_tilde_unexpand() 705 return xstrdup(path); in try_tilde_unexpand() 707 return xstrdup(path); in try_tilde_unexpand() 714 return xstrdup(path); in try_tilde_unexpand() 850 return xstrdup("This key is not known by any other names."); in other_hostkeys_message() 1599 local_user = xstrdup(pw->pw_name); in ssh_login() 1603 host = xstrdup(orighost); in ssh_login()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | iidesc.c | 53 ii->ii_name = xstrdup(name); in iidesc_new() 117 tmpdesc.ii_name = xstrdup(name); in iter_iidescs_by_name() 130 tgt->ii_name = src->ii_name ? xstrdup(src->ii_name) : NULL; in iidesc_dup() 131 tgt->ii_owner = src->ii_owner ? xstrdup(src->ii_owner) : NULL; in iidesc_dup() 149 tgt->ii_name = name ? xstrdup(name) : NULL; in iidesc_dup_rename() 150 tgt->ii_owner = owner ? xstrdup(owner) : NULL; in iidesc_dup_rename()
|
H A D | fixup_tdescs.c | 136 machcpu->t_name = xstrdup("machcpu"); in fix_small_cpu_struct() 149 cpum->ml_name = xstrdup("cpu_m"); in fix_small_cpu_struct()
|
/freebsd/crypto/openssh/regress/misc/fuzz-harness/ |
H A D | agent_fuzz_helper.c | 28 tmp = cp = xstrdup(s); in pubkey_or_die() 69 id->comment = xstrdup("rhododaktulos Eos"); in add_key() 71 id->sk_provider = xstrdup("internal"); in add_key() 88 id->comment = xstrdup("outis"); in add_key() 90 id->sk_provider = xstrdup("internal"); in add_key() 160 allowed_providers = xstrdup(""); in test_one()
|
/freebsd/contrib/flex/src/ |
H A D | sym.c | 120 (void) addsym (xstrdup(ccltxt), in cclinstal() 180 if (addsym (xstrdup(name), in ndinstal() 181 xstrdup(definition), 0, in ndinstal() 226 scname[lastsc] = xstrdup(str); in scinstal()
|
H A D | parse.y | 196 outfilename = xstrdup(nmstr); 200 { extra_type = xstrdup(nmstr); } 202 { prefix = xstrdup(nmstr); 206 { yyclass = xstrdup(nmstr); } 208 { headerfilename = xstrdup(nmstr); } 210 { tablesext = true; tablesfilename = xstrdup(nmstr); }
|
/freebsd/libexec/rtld-elf/ |
H A D | libmap.c | 80 l = xstrdup(libmap_override); in lm_init() 148 p->path = xstrdup(path); in lmc_parse_file() 174 p->path = xstrdup(idir); in lmc_parse_dir() 368 lml = lmp_init(xstrdup(p)); in lm_add() 373 lm->f = xstrdup(f); in lm_add() 374 lm->t = xstrdup(t); in lm_add()
|
/freebsd/contrib/byacc/test/ |
H A D | grammar.y | 257 extern char *xstrdup (const char *); 784 $$->text = xstrdup(buf); 801 $$->text = xstrdup(buf); 809 $$->text = xstrdup(buf); 950 $$->text = xstrdup(buf); 962 $$->text = xstrdup(buf); 970 $$->text = xstrdup(buf);
|
/freebsd/usr.bin/patch/ |
H A D | patch.c | 236 outname = xstrdup(filearg[0]); in main() 578 simple_backup_suffix = xstrdup(optarg); in get_some_switches() 581 origprae = xstrdup(optarg); in get_some_switches() 619 filearg[filec] = xstrdup(optarg); in get_some_switches() 631 outname = xstrdup(optarg); in get_some_switches() 676 filearg[0] = xstrdup(*Argv++); in get_some_switches() 681 filearg[filec] = xstrdup(*Argv++); in get_some_switches()
|
/freebsd/usr.bin/m4/ |
H A D | look.c | 124 d->defn = xstrdup(defn+sizeof(BUILTIN_MARKER)-1); in setup_definition() 129 d->defn = xstrdup(defn); in setup_definition() 238 name2 = xstrdup(name); in setup_builtin()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | memory.h | 45 char *xstrdup(const char *);
|
/freebsd/usr.bin/diff/ |
H A D | xmalloc.h | 25 char *xstrdup(const char *);
|