Home
last modified time | relevance | path

Searched refs:xasprintf (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/crypto/openssh/
H A Dmisc-agent.c165 xasprintf(&path, "%s/%s", homedir, subdir); in ensure_mkdir()
196 xasprintf(&ret, "%s/%s/s.%s.%s.XXXXXXXXXX", in agent_socket_template()
297 xasprintf(&prefix, "s.%s.", path); in agent_cleanup_stale()
302 xasprintf(&dirpath, "%s/%s", homedir, _PATH_SSH_AGENT_SOCKET_DIR); in agent_cleanup_stale()
312 xasprintf(&path, "%s/%s", dirpath, dp->d_name); in agent_cleanup_stale()
H A Dauth-rhosts.c212 xasprintf(&path, "%s/%s", in auth_rhosts2()
281 xasprintf(&path, "%s/%s", in auth_rhosts2()
H A Dxmalloc.h24 int xasprintf(char **, const char *, ...)
H A Dxmalloc.c107 xasprintf(char **ret, const char *fmt, ...) in xasprintf() function
H A Dauth2-pubkey.c82 xasprintf(&ret, "%s %s", sshkey_type(key), fp); in format_key()
204 xasprintf(&userstyle, "%s%s%s", authctxt->user, in userauth_pubkey()
746 xasprintf(&command, "%s %s", av[0], av[1]); in user_key_command_allowed2()
811 xasprintf(&conn_id, "%s %d %s %d", in user_key_allowed()
H A Dsshconnect.c126 xasprintf(&tmp, "exec %s", proxy_command); in expand_proxy_command()
755 xasprintf(&ret, "~/%s", path + l); in try_tilde_unexpand()
801 xasprintf(&ctx->names[ctx->nnames], "%s:%lu: %s", path, l->linenum, in hostkeys_find_by_key_cb()
890 xasprintf(&ret, "This host key is known by the following other " in other_hostkeys_message()
921 xasprintf(&tag, "KnownHostsCommand-%s", invocation); in load_hostkeys_command()
1222 xasprintf(&msg1, "The authenticity of host " in check_host_key()
H A Dssh-keygen.c312 xasprintf(&prompt, "Enter passphrase for \"%s\": ", filename); in load_identity()
1040 xasprintf(&prv_file, "%s%s", in do_gen_all_hostkeys()
1057 xasprintf(&prv_tmp, "%s%s.XXXXXXXXXX", in do_gen_all_hostkeys()
1059 xasprintf(&pub_tmp, "%s%s.pub.XXXXXXXXXX", in do_gen_all_hostkeys()
1061 xasprintf(&pub_file, "%s%s.pub", in do_gen_all_hostkeys()
1851 xasprintf(&out, "%s-cert.pub", tmp); in do_ca_sign()
2556 xasprintf(&prompt, "Enter PIN for %s key: ", in sign_one()
2590 xasprintf(&wfile, "%s.sig", filename); in sign_one()
3069 xasprintf(&prompt, "Enter passphrase for \"%s\" " in private_key_passphrase()
3160 xasprintf(&path, "id_%s_rk%s%s", in do_download_sk()
[all …]
H A Dclientloop.c193 xasprintf(&fmt2, "%s\r\n", fmt); in quit_message()
355 xasprintf(&cmd, "%s -f %s generate %s %s " in client_x11_get_proto()
368 xasprintf(&cmd, "%s -f %s generate %s %s " in client_x11_get_proto()
396 xasprintf(&cmd, in client_x11_get_proto()
2804 xasprintf(&type, "session:subsystem:%s", cmdstring); in client_session2_setup()
2809 xasprintf(&type, "session:command"); in client_session2_setup()
2819 xasprintf(&type, "session:shell"); in client_session2_setup()
H A Dpacket.c2977 xasprintf(&stats, "%lu pkts %llu blks %sB", in format_traffic_stats()
2995 xasprintf(&names, "%s in, %s out", in, out); in dedupe_alg_names()
3027 xasprintf(&ret, in comp_status_message()
3059 xasprintf(&tcp_info, " tcp %s:%d -> %s:%d\r\n", in connection_info_message()
3077 xasprintf(&rekey_volume, "limit none"); in connection_info_message()
3086 xasprintf(&rekey_volume, "limit blocks %s", volumes); in connection_info_message()
3098 xasprintf(&rekey_time, "interval %s, next %s", in connection_info_message()
3103 xasprintf(&ret, "Connection information for %s pid %lld\r\n" in connection_info_message()
H A Dmux.c570 xasprintf(&ret, "local forward %.200s:%d -> %.200s:%d", in format_forward()
579 xasprintf(&ret, "dynamic forward %.200s:%d -> *", in format_forward()
585 xasprintf(&ret, "remote forward %.200s:%d -> %.200s:%d", in format_forward()
649 xasprintf(&failmsg, "unknown forwarding id %d", fctx->fid); in mux_confirm_remote_forward()
686 xasprintf(&failmsg, "remote port forwarding failed for " in mux_confirm_remote_forward()
689 xasprintf(&failmsg, "remote port forwarding failed for " in mux_confirm_remote_forward()
1348 xasprintf(&options.control_path, "%s.%s", orig_control_path, rbuf); in muxserver_listen()
H A Dssh.c486 xasprintf(&fullhost, "%s.%s.", *hostp, in resolve_canonicalize()
1303 xasprintf(&options.proxy_command, in main()
1406 xasprintf(&cinfo->portstr, "%d", options.port); in main()
1407 xasprintf(&cinfo->uidstr, "%llu", in main()
1576 xasprintf(&p, "%s=%s", name, cp); in main()
2425 xasprintf(&cp, "%s-cert", filename); in load_public_identity_files()
H A Dauth.c242 xasprintf(&ret, "%s %s ID %s (serial %llu) CA %s %s%s%s", in format_method_key()
255 xasprintf(&ret, "%s %s%s%s", sshkey_type(key), in format_method_key()
/freebsd/usr.sbin/certctl/
H A Dcertctl.c33 xasprintf(const char *fmt, ...) in xasprintf() function
117 parent = xasprintf("%.*s", (int)(sep - dir), dir); in mkdirp()
179 return (xasprintf("%s%s%s", destdir, localbase, template + 2)); in expand_path()
180 return (xasprintf("%s%s%s", destdir, distbase, template)); in expand_path()
443 cert->path = xasprintf("%08lx.%d", cert->hash, file->c); in write_certs()
510 tmppath = xasprintf(".%s", path); in write_certs()
523 tmppath = xasprintf(".%s", path); in write_certs()
597 tmpfile = xasprintf(".%s", file); in write_bundle()
740 dir = xasprintf("%.*s", (int)(sep - bundle_dest), bundle_dest); in save_bundle()
1028 metalog = xasprintf("%s/METALOG", destdir); in set_defaults()
/freebsd/contrib/tcsh/
H A Dtc.vers.c158 version = xasprintf( in fix_version()
167 version = xasprintf("%d.%.2d.%.2d", REV, VERS, PATCHLEVEL); in fix_version()
H A Dtc.prompt.c238 cz = xasprintf("%d", *(int *)info); in tprintf()
241 cz = xasprintf("%d", eventno + 1); in tprintf()
604 cz = xasprintf("%d", eventno + 1); in tprintf()
/freebsd/crypto/openssh/regress/unittests/kex/
H A Dtest_proposal.c74 xasprintf(&in, "a,%s,b", tests[i].in); in kex_proposal_tests()
78 xasprintf(&out, "a,%s,b", tests[i].out); in kex_proposal_tests()
/freebsd/cddl/contrib/opensolaris/tools/ctf/common/
H A Dmemory.h42 int xasprintf(char **, const char *, ...);
H A Dmemory.c48 xasprintf(char **s, const char *fmt, ...) in xasprintf() function
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc349 xasprintf(&path, "S2C-%s-%s", in main()
360 xasprintf(&path, "C2S-%s-%s", in main()
377 xasprintf(&path, "%s.priv", in main()
384 xasprintf(&path, "%s.pub", in main()
/freebsd/usr.bin/diff/
H A Dxmalloc.h26 int xasprintf(char **, const char *, ...)
H A Dxmalloc.c72 xasprintf(char **ret, const char *fmt, ...) in xasprintf() function
H A Dpr.c61 xasprintf(&header, "%s %s %s", diffargs, file1, file2); in start_pr()
/freebsd/crypto/krb5/src/clients/ksu/
H A Dxmalloc.c68 char *xasprintf (const char *format, ...) in xasprintf() function
H A Dksu.h237 extern char *xasprintf (const char *format, ...);
/freebsd/usr.sbin/moused/moused/
H A Dutil.h211 xasprintf(char **strp, const char *fmt, ...) in xasprintf() function

123