Home
last modified time | relevance | path

Searched refs:error_f (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dmsg.c58 error_f("write: %s", strerror(errno)); in ssh_msg_send()
62 error_f("write: %s", strerror(errno)); in ssh_msg_send()
80 error_f("read header: %s", strerror(errno)); in ssh_msg_recv()
85 error_f("read: bad msg_len %u", msg_len); in ssh_msg_recv()
94 error_f("read: %s", strerror(errno)); in ssh_msg_recv()
H A Dmonitor_fdpass.c87 error_f("sendmsg(%d): %s", fd, strerror(errno)); in mm_send_fd()
92 error_f("sendmsg: expected sent 1 got %zd", n); in mm_send_fd()
136 error_f("recvmsg: %s", strerror(errno)); in mm_receive_fd()
141 error_f("recvmsg: expected received 1 got %zd", n); in mm_receive_fd()
147 error_f("no message header"); in mm_receive_fd()
152 error_f("expected %d got %d", SCM_RIGHTS, cmsg->cmsg_type); in mm_receive_fd()
H A Dssh-sk-client.c64 error_f("helper \"%s\" unusable: %s", helper, strerror(errno)); in start_helper()
90 error_f("dup2: %s", strerror(errno)); in start_helper()
99 error_f("execlp: %s", strerror(errno)); in start_helper()
126 error_f("waitpid: %s", strerror(errno)); in reap_helper()
131 error_f("helper exited abnormally"); in reap_helper()
134 error_f("helper exited with non-zero exit status"); in reap_helper()
180 error_f("unsupported version: got %u, expected %u", in client_converse()
202 error_f("helper returned incorrect message type %u, " in client_converse()
270 error_f("trailing data in response"); in sshsk_sign()
336 error_f("trailing data in response"); in sshsk_enroll()
[all …]
H A Dreadpass.c62 error_f("fflush: %s", strerror(errno)); in ssh_askpass()
66 error_f("pipe: %s", strerror(errno)); in ssh_askpass()
71 error_f("fork: %s", strerror(errno)); in ssh_askpass()
255 error_f("fflush: %s", strerror(errno)); in notify_start()
274 error_f("fork: %s", strerror(errno)); in notify_start()
285 error_f("exec(%s): %s", askpass, strerror(errno)); in notify_start()
H A Dssh-agent.c480 error_f("previous session bind failed on socket"); in identity_permitted()
530 error_f("tried to sign on forwarding hop"); in identity_permitted()
534 error_f("tried to forward though signing bind"); in identity_permitted()
888 error_f("unexpected session ID (%zu listed) on " in process_sign_request2()
900 error_f("refusing use of destination-constrained key: " in process_sign_request2()
907 error_f("refusing use of destination-constrained key: " in process_sign_request2()
1080 error_f("unsupported extensions (len %zu)", elen); in parse_dest_constraint_hop()
1141 error_f("unsupported extensions (len %zu)", elen); in parse_dest_constraint()
1152 error_f("inconsistent \"from\" specification"); in parse_dest_constraint()
1157 error_f("incomplete \"to\" specification"); in parse_dest_constraint()
[all …]
H A Dsshsig.c59 error_f("sshbuf_new failed"); in sshsig_armor()
99 error_f("sshbuf_fromb failed"); in sshsig_dearmor()
119 error_f("no header eol"); in sshsig_dearmor()
138 error_f("sshbuf_dup_string failed"); in sshsig_dearmor()
144 error_f("sshbuf_new() failed"); in sshsig_dearmor()
180 error_f("sshbuf_new failed"); in sshsig_wrap_sign()
265 error_f("unsupported hash algorithm \"%.100s\"", hashalg); in sshsig_check_hashalg()
320 error_f("sshbuf_new failed"); in sshsig_wrap_verify()
415 error_f("can't look up hash algorithm %s", hashalg); in hash_buffer()
517 error_f("can't look up hash algorithm %s", hashalg); in hash_file()
[all …]
H A Daddrmatch.c125 error_f("empty entry in list \"%.100s\"", o); in addr_match_cidr_list()
138 error_f("list entry \"%.100s\" too long", cp); in addr_match_cidr_list()
144 error_f("list entry \"%.100s\" contains invalid " in addr_match_cidr_list()
H A Dsession.c263 error_f("mkstemp: %s", strerror(errno)); in prepare_auth_info_file()
268 error_f("write: %s", strerror(errno)); in prepare_auth_info_file()
272 error_f("close: %s", strerror(errno)); in prepare_auth_info_file()
392 error_f("pipe in: %.100s", strerror(errno)); in do_exec_no_pty()
396 error_f("pipe out: %.100s", strerror(errno)); in do_exec_no_pty()
402 error_f("pipe err: %.100s", strerror(errno)); in do_exec_no_pty()
417 error_f("socketpair #1: %.100s", strerror(errno)); in do_exec_no_pty()
421 error_f("socketpair #2: %.100s", strerror(errno)); in do_exec_no_pty()
433 error_f("fork: %.100s", strerror(errno)); in do_exec_no_pty()
557 error_f("dup #1: %s", strerror(errno)); in do_exec_pty()
[all …]
H A Dhostfile.c449 error_f("host_hash failed"); in write_host_entry()
627 error_f("mkstemp: %s", strerror(oerrno)); in hostfile_replace_entries()
634 error_f("fdopen: %s", strerror(oerrno)); in hostfile_replace_entries()
695 error_f("unlink %.100s: %s", back, strerror(errno)); in hostfile_replace_entries()
701 error_f("link %.100s to %.100s: %s", filename, in hostfile_replace_entries()
708 error_f("rename \"%s\" to \"%s\": %s", temp, in hostfile_replace_entries()
716 error_f("unlink \"%s\": %s", temp, strerror(errno)); in hostfile_replace_entries()
866 error_f("sshkey_new failed"); in hostkeys_foreach_file()
H A Dserverloop.c348 error_f("bsigset setup: %s", strerror(errno)); in server_loop2()
369 error_f("bsigset sigprocmask: %s", strerror(errno)); in server_loop2()
375 error_f("osigset sigprocmask: %s", strerror(errno)); in server_loop2()
430 error_f("invalid target port"); in server_request_direct_tcpip()
435 error_f("invalid originator port"); in server_request_direct_tcpip()
481 error_f("invalid originator port"); in server_request_direct_streamlocal()
698 error_f("unknown host %s key", sshkey_type(key)); in server_input_hostkeys_prove()
707 error_f("can't retrieve hostkey %d", ndx); in server_input_hostkeys_prove()
H A Dmisc.c1176 error_f("No such user %s", user); in tilde_expand()
1180 error_f("No such uid %ld", (long)uid); in tilde_expand()
1189 error_f("xasprintf failed"); in tilde_expand()
1193 error_f("Path too long"); in tilde_expand()
1268 error_f("environment variable '%s' missing " in vdollar_percent_expand()
1274 error_f("zero-length environment variable"); in vdollar_percent_expand()
1280 error_f("env var ${%s} has no value", var); in vdollar_percent_expand()
1308 error_f("invalid format"); in vdollar_percent_expand()
1320 error_f("unknown key %%%c", *string); in vdollar_percent_expand()
1871 error_f("path \"%s\" too long for Unix domain socket", path); in unix_listener()
[all …]
H A Dauth2-pubkey.c155 error_f("cannot decode key: %s", pkalg); in userauth_pubkey()
159 error_f("type mismatch for decoded key " in userauth_pubkey()
404 error_f("sshkey_fingerprint failed"); in match_principals_command()
409 error_f("sshkey_fingerprint failed"); in match_principals_command()
664 error_f("sshkey_fingerprint failed"); in user_key_command_allowed2()
H A Dauth2-hostbased.c98 error_f("cannot decode key: %s", pkalg); in userauth_hostbased()
102 error_f("type mismatch for decoded key " in userauth_hostbased()
H A Dclientloop.c327 error_f("display name too long"); in client_x11_get_proto()
342 error_f("mkdtemp: %s", strerror(errno)); in client_x11_get_proto()
349 error_f("xauthfile path too long"); in client_x11_get_proto()
1543 error_f("bsigset setup: %s", strerror(errno)); in client_loop()
1582 error_f("bsigset sigprocmask: %s", strerror(errno)); in client_loop()
1589 error_f("osigset sigprocmask: %s", strerror(errno)); in client_loop()
1712 error_f("invalid listen port"); in client_request_forwarded_tcpip()
1714 error_f("invalid originator port"); in client_request_forwarded_tcpip()
1723 error_f("alloc reply"); in client_request_forwarded_tcpip()
2325 error_f("known hosts file %s " in update_known_hosts()
[all …]
H A Dsshconnect.c155 error_f("stdfd_devnull failed"); in ssh_proxy_fdpass_connect()
238 error_f("stdfd_devnull failed"); in ssh_proxy_connect()
346 error_f("v4 addr doesn't fit"); in check_ifaddrs()
360 error_f("v6 addr doesn't fit"); in check_ifaddrs()
469 error_f("getnameinfo failed: %s", ssh_gai_strerror(r)); in ssh_create_socket()
533 error_f("getnameinfo failed"); in ssh_connect_direct()
612 error_f("dup() in/out failed"); in ssh_connect()
H A Dcanohost.c73 error_f("getnameinfo %d failed: %s", in get_socket_address()
H A Dkrl.c684 error_f("insane bitmap gap"); in revoked_certs_generate()
937 error_f("bitmap wraps u64"); in parse_revoked_certs()
1000 error_f("bad length"); in blob_section()
1069 error_f("alloc failed"); in ssh_krl_from_blob()
1081 error_f("unsupported KRL format version %u", format_version); in ssh_krl_from_blob()
H A Dmonitor_wrap.c149 error_f("preauth child terminated by signal %d", in mm_reap()
154 error_f("preauth child terminated abnormally (status=0x%x)", in mm_reap()
208 error_f("read: %s", strerror(errno)); in mm_request_receive()
633 error_f("cannot allocate fds for pty"); in mm_pty_allocate()
H A Ddns.c342 error_f("unsupported algorithm and/or digest_type"); in export_dns_rr()
H A Dttymodes.c333 error_f("sshbuf_from failed"); in ssh_tty_parse_modes()
H A Dsshlogin.c116 error_f("lseek: %s", strerror(errno)); in get_last_login_time()
H A Dlog.h99 #define error_f(...) sshlog(__FILE__, __func__, __LINE__, 1, SYSLOG_LEVEL_ERROR, NULL, __VA_ARGS__) macro
H A Dssh.c277 error_f("host \"%s\" cname \"%s\" too long (max %lu)", in resolve_host()
361 error_f("host \"%s\" addr \"%s\" too long (max %lu)", in resolve_addr()
1831 error_f("stdfd_devnull failed"); in control_persist_detach()
1847 error_f("stdfd_devnull failed"); in fork_postauth()
2377 error_f("stdfd_devnull failed"); in ssh_session2()
H A Ddh.c256 error_f("BN_new failed"); in dh_pub_is_valid()
H A Dsftp-server.c824 error_f("seek \"%.100s\": %s", handle_to_name(handle), in process_read()
833 error_f("read \"%.100s\": %s", handle_to_name(handle), in process_read()
872 error_f("seek \"%.100s\": %s", handle_to_name(handle), in process_write()
879 error_f("write \"%.100s\": %s", in process_write()

12