Home
last modified time | relevance | path

Searched refs:xstrdup (Results 1 – 25 of 71) sorted by relevance

123

/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Dcanohost.c69 return xstrdup(ntop); in get_remote_hostname()
79 return xstrdup(ntop); in get_remote_hostname()
107 return xstrdup(ntop); in get_remote_hostname()
123 return xstrdup(ntop); in get_remote_hostname()
125 return xstrdup(name); in get_remote_hostname()
153 canonical_host_name = xstrdup("UNKNOWN"); in get_canonical_hostname()
201 return (xstrdup(ntop)); in get_socket_address()
207 return (xstrdup(result)); in get_socket_address()
236 return xstrdup(ntop);
247 return xstrdup("UNKNOWN"); in get_peer_ipaddr()
[all …]
H A Dreadpass.c55 return xstrdup(""); in ssh_askpass()
59 return xstrdup(""); in ssh_askpass()
89 pass = xstrdup(buf); in ssh_askpass()
130 return xstrdup(""); in read_passphrase()
133 ret = xstrdup(buf); in read_passphrase()
H A Dg11n.c78 return (xstrdup("i-default")); in g11n_locale2langtag()
224 native_codeset = xstrdup(curr); in g11n_setlocale()
285 list[n_elems++] = xstrdup(locale); in g11n_getlocales()
307 return (xstrdup(getenv("SSH_LANGS"))); in g11n_getlangs()
312 return (xstrdup("i-default")); in g11n_getlangs()
452 list3[n3++] = xstrdup(*p); in g11n_langtag_set_intersect()
465 lang_subtag = xstrdup(*p); in g11n_langtag_set_intersect()
512 result = xstrdup(*xlist); in g11n_clnt_langtag_negotiate()
618 result[n_results++] = xstrdup(*q); in g11n_langtag_set_locale_set_intersect()
641 result[n_results++] = xstrdup(*q); in g11n_langtag_set_locale_set_intersect()
[all …]
H A Dmatch.c216 pat = xstrdup(pattern); in match_user()
240 c = cp = xstrdup(client); in match_list()
241 s = sp = xstrdup(server); in match_list()
256 ret = xstrdup(p); in match_list()
H A Dmisc.c162 copy->pw_name = xstrdup(pw->pw_name); in pwcopy()
163 copy->pw_passwd = xstrdup(pw->pw_passwd); in pwcopy()
164 copy->pw_gecos = xstrdup(pw->pw_gecos); in pwcopy()
174 copy->pw_class = xstrdup(pw->pw_class); in pwcopy()
176 copy->pw_dir = xstrdup(pw->pw_dir); in pwcopy()
177 copy->pw_shell = xstrdup(pw->pw_shell); in pwcopy()
401 args->list[args->num++] = xstrdup(buf); in addargs()
497 return (xstrdup(buf)); in percent_expand()
535 return xstrdup("tohex: length > 65536"); in tohex()
H A Dreadconf.c249 NULL : xstrdup(newfwd->listen_host); in add_local_forward()
251 fwd->connect_host = xstrdup(newfwd->connect_host); in add_local_forward()
270 NULL : xstrdup(newfwd->listen_host); in add_remote_forward()
272 fwd->connect_host = xstrdup(newfwd->connect_host); in add_remote_forward()
357 so->keyword = xstrdup(keyword); in process_config_line()
358 so->filename = xstrdup(filename); in process_config_line()
585 *charptr = xstrdup(arg); in process_config_line()
601 *charptr = xstrdup(arg); in process_config_line()
642 string = xstrdup(""); in process_config_line()
696 options->ciphers = xstrdup(arg); in process_config_line()
[all …]
H A Dssh-gss.c142 *kexname_list = xstrdup(buffer_ptr(&buf)); in ssh_gssapi_mech_oids_to_kexnames()
160 *kexname = xstrdup((*p)->encoded); in ssh_gssapi_mech_oid_to_kexname()
249 *enc_name = xstrdup(buffer_ptr(&buf)); in ssh_gssapi_encode_oid_for_kex()
260 return (xstrdup(old_kexalgs)); /* never null */ in ssh_gssapi_make_kexalgs_list()
265 return (xstrdup(old_kexalgs)); /* never null */ in ssh_gssapi_make_kexalgs_list()
338 kexalgs = proposal[PROPOSAL_KEX_ALGS] = xstrdup(kexalgs); in ssh_gssapi_modify_kex()
375 proposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = xstrdup("null"); in ssh_gssapi_modify_kex()
482 return (xstrdup("<gss_oid_to_str() failed>")); in ssh_gssapi_oid_to_str()
491 return (xstrdup("<gss_oid_to_str() unsupported>")); in ssh_gssapi_oid_to_str()
603 ret = xstrdup(buffer_ptr(&b)); in ssh_gssapi_last_error()
H A Dtildexpand.c43 return (xstrdup(filename)); in tilde_expand_filename()
82 return (xstrdup(pw_dir)); in tilde_expand_filename()
H A Dcompat.c211 q = s = xstrdup(spec); in proto_spec()
242 tmp = orig_prop = xstrdup(cipher_prop); in compat_cipher_proposal()
251 fix_ciphers = xstrdup(buffer_ptr(&b)); in compat_cipher_proposal()
/titanic_50/usr/src/tools/ctf/cvt/
H A Diidesc.c53 ii->ii_name = xstrdup(name); in iidesc_new()
127 tgt->ii_name = src->ii_name ? xstrdup(src->ii_name) : NULL; in iidesc_dup()
128 tgt->ii_owner = src->ii_owner ? xstrdup(src->ii_owner) : NULL; in iidesc_dup()
146 tgt->ii_name = name ? xstrdup(name) : NULL; in iidesc_dup_rename()
147 tgt->ii_owner = owner ? xstrdup(owner) : NULL; in iidesc_dup_rename()
H A Dstabs.c257 curhdr = xstrdup(str); in stabs_read()
340 iidescp->ii_owner = xstrdup(curfile); in stabs_read()
349 iidescp->ii_owner = xstrdup(curfile); in stabs_read()
H A Dst_parse.c308 ntdp->t_name = xstrdup(ii->ii_name); in parse_type()
320 ntdp->t_name = xstrdup(ii->ii_name); in parse_type()
328 ntdp->t_name = xstrdup(ii->ii_name); in parse_type()
365 tdp->t_name = xstrdup(idp->ii_name); in parse_sou()
372 rtdp->t_name = xstrdup(idp->ii_name); in parse_sou()
378 rtdp->t_name = idp->ii_name ? xstrdup(idp->ii_name) : NULL; in parse_sou()
838 newtdp->t_name = xstrdup(template->t_name); in bitintrinsic()
/titanic_50/usr/src/cmd/ssh/sshd/
H A Dauth-bsdauth.c70 *name = xstrdup(""); in bsdauth_query()
71 *infotxt = xstrdup(""); in bsdauth_query()
76 (*prompts)[0] = xstrdup(challenge); in bsdauth_query()
H A Dauth-skey.c54 *name = xstrdup(""); in skey_query()
55 *infotxt = xstrdup(""); in skey_query()
H A Dauth2.c204 authctxt->user = xstrdup(user); in input_userauth_request()
205 authctxt->service = xstrdup(service); in input_userauth_request()
206 authctxt->style = style ? xstrdup(style) : NULL; in input_userauth_request()
421 return xstrdup(authmethods[i]->name);
455 authctxt->user = xstrdup(user); in userauth_user_svc_change()
648 list = xstrdup(buffer_ptr(&b)); in authmethods_get()
H A Dservconf.c1131 xstrdup(arg); in process_server_config_line()
1141 xstrdup(arg); in process_server_config_line()
1151 xstrdup(arg); in process_server_config_line()
1160 options->deny_groups[options->num_deny_groups++] = xstrdup(arg); in process_server_config_line()
1172 options->ciphers = xstrdup(arg); in process_server_config_line()
1183 options->macs = xstrdup(arg); in process_server_config_line()
1216 options->subsystem_name[options->num_subsystems] = xstrdup(arg); in process_server_config_line()
1221 options->subsystem_command[options->num_subsystems] = xstrdup(arg); in process_server_config_line()
1228 p = xstrdup(arg); in process_server_config_line()
1310 *charptr = xstrdup(arg); in process_server_config_line()
[all …]
H A Dauth2-chall.c92 kbdintctxt->devices = xstrdup(buffer_ptr(&b)); in kbdint_alloc()
95 kbdintctxt->devices = xstrdup(devs); in kbdint_alloc()
144 kbdintctxt->devices = t[len] ? xstrdup(t+len+1) : NULL; in kbdint_next_device()
/titanic_50/usr/src/cmd/ssh/ssh/
H A Dssh.c290 pw_dir = xstrdup(pw_dir);
291 pw_name = xstrdup(pw_name);
293 pw_name = xstrdup(pw->pw_name);
294 pw_dir = xstrdup(pw->pw_dir);
372 xstrdup(optarg);
425 options.ciphers = xstrdup(optarg);
447 options.macs = xstrdup(optarg);
526 p = xstrdup(*av);
630 options.user = xstrdup(pw_name);
1160 xstrdup("client-session"), /*nonblock*/0);
H A Dsshconnect.c479 server_version_string = xstrdup(buf); in ssh_exchange_identification()
539 client_version_string = xstrdup(buf); in ssh_exchange_identification()
661 ip = xstrdup(ntop); in check_host_key()
663 ip = xstrdup("<no hostip for proxy command>"); in check_host_key()
999 local_user = xstrdup(pw_name); in ssh_login()
1003 host = xstrdup(orighost); in ssh_login()
/titanic_50/usr/src/cmd/ssh/sftp/
H A Dsftp.c299 return (xstrdup(path)); in path_strip()
305 return (xstrdup(path + len)); in path_strip()
308 return (xstrdup(path)); in path_strip()
347 *ifp = xstrdup(p); in infer_path()
356 *ifp = xstrdup(cp + 1); in infer_path()
547 abs_src = xstrdup(src); in process_get()
583 abs_dst = xstrdup(dst); in process_get()
614 tmp_dst = xstrdup(dst); in process_put()
655 abs_dst = xstrdup(tmp_dst); in process_put()
1338 dir = xstrdup(file1); in interactive_loop()
[all …]
/titanic_50/usr/src/cmd/ssh/include/
H A Dxmalloc.h33 char *xstrdup(const char *);
/titanic_50/usr/src/tools/ctf/common/
H A Dmemory.h44 char *xstrdup(const char *);
H A Dmemory.c69 xstrdup(const char *str) in xstrdup() function
/titanic_50/usr/src/lib/libpkg/common/
H A Dkeystore.c270 vdb_str = xstrdup(get_time_string(X509_get_notBefore(x))); in print_cert()
271 vda_str = xstrdup(get_time_string(X509_get_notAfter(x))); in print_cert()
286 md5_fp = xstrdup(tmp); in print_cert()
292 sha1_fp = xstrdup(tmp); in print_cert()
379 tmpstore->path = xstrdup(keystore_file); in open_keystore()
1396 keystore->capath = xstrdup(storepath); in resolve_paths()
1399 keystore->clpath = xstrdup(storepath); in resolve_paths()
1402 keystore->keypath = xstrdup(storepath); in resolve_paths()
1407 keystore->capath = xstrdup(keystore_file); in resolve_paths()
1414 keystore->capath = xstrdup(storepath); in resolve_paths()
[all …]
/titanic_50/usr/src/cmd/ssh/ssh-keygen/
H A Dssh-keygen.c140 pass = xstrdup(identity_passphrase); in load_identity()
748 old_passphrase = xstrdup(identity_passphrase); in do_change_passphrase()
766 passphrase1 = xstrdup(identity_new_passphrase); in do_change_passphrase()
832 passphrase = xstrdup(identity_passphrase); in do_change_comment()
834 passphrase = xstrdup(identity_new_passphrase); in do_change_comment()
848 passphrase = xstrdup(""); in do_change_comment()
1125 passphrase1 = xstrdup(identity_passphrase); in main()
1127 passphrase1 = xstrdup(identity_new_passphrase); in main()

123