| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/sh/ |
| H A D | sh_treg_combine.cc | 237 #define log_msg(...)\ macro 375 log_msg ("found use in [bb %d] at insn:\n", bb->index); in trace_reg_uses_1() 377 log_msg ("\n"); in trace_reg_uses_1() 405 log_msg ("\ntrace_reg_uses\nreg = "); in trace_reg_uses() 407 log_msg ("\nstart_insn = "); in trace_reg_uses() 658 log_msg ("updated ccreg mode: "); in update_ccreg_mode() 660 log_msg ("\n"); in update_ccreg_mode() 706 log_msg ("\n[bb %d]\n", new_entry.bb->index); in record_set_of_reg() 721 log_msg ("\n"); in record_set_of_reg() 725 log_msg ("normal condition store\n"); in record_set_of_reg() [all …]
|
| H A D | sh_optimize_sett_clrt.cc | 56 #define log_msg(...)\ macro 189 log_msg ("ccreg: "); in execute() 191 log_msg (" STORE_FLAG_VALUE = %d\n", STORE_FLAG_VALUE); in execute() 221 log_msg ("\n\nfound const setcc insn in [bb %d]: \n", bb->index); in execute() 223 log_msg ("\n"); in execute() 230 log_msg ("number of ccreg values collected: %u\n", in execute() 239 log_msg ("all values are "); in execute() 241 log_msg ("\n"); in execute() 259 log_msg ("updated ccreg mode: "); in update_ccreg_mode() 261 log_msg ("\n\n"); in update_ccreg_mode() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/sh/ |
| H A D | sh_optimize_sett_clrt.cc | 56 #define log_msg(...)\ macro 189 log_msg ("ccreg: "); in execute() 191 log_msg (" STORE_FLAG_VALUE = %d\n", STORE_FLAG_VALUE); in execute() 221 log_msg ("\n\nfound const setcc insn in [bb %d]: \n", bb->index); in execute() 223 log_msg ("\n"); in execute() 230 log_msg ("number of ccreg values collected: %u\n", in execute() 239 log_msg ("all values are "); in execute() 241 log_msg ("\n"); in execute() 259 log_msg ("updated ccreg mode: "); in update_ccreg_mode() 261 log_msg ("\n\n"); in update_ccreg_mode() [all …]
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | ixfrcreate.c | 167 log_msg(LOG_ERR, "could not open %s for writing: %s", in spool_zone_to_file() 172 log_msg(LOG_ERR, "could not write %s: %s", in spool_zone_to_file() 178 log_msg(LOG_ERR, "could not write %s: %s", in spool_zone_to_file() 184 log_msg(LOG_ERR, "could not write %s: %s", in spool_zone_to_file() 213 log_msg(LOG_ERR, "malloc failure"); in ixfr_create_start() 220 log_msg(LOG_ERR, "malloc failure"); in ixfr_create_start() 228 log_msg(LOG_ERR, "malloc failure"); in ixfr_create_start() 277 log_msg(LOG_ERR, "dname too long"); in read_spool_dname() 296 log_msg(LOG_ERR, "error reading file %s: %s", in read_spool_header() 302 log_msg(LOG_ERR, "error reading file %s: %s", in read_spool_header() [all …]
|
| H A D | server.c | 388 log_msg(LOG_INFO,"Error opening " TCP_FASTOPEN_FILE ": %s\n", strerror(errno)); in report_tcp_fastopen_config() 391 log_msg(LOG_INFO,"Error reading " TCP_FASTOPEN_FILE ": %s\n", strerror(errno)); in report_tcp_fastopen_config() 395 …log_msg(LOG_WARNING, "Error: TCP Fast Open support is available and configured in NSD by default.\… in report_tcp_fastopen_config() 396 …log_msg(LOG_WARNING, "However the kernel parameters are not configured to support TCP_FASTOPEN in … in report_tcp_fastopen_config() 397 log_msg(LOG_WARNING, "To enable TFO use the command:"); in report_tcp_fastopen_config() 398 log_msg(LOG_WARNING, " 'sudo sysctl -w net.ipv4.tcp_fastopen=2' for pure server mode or\n"); in report_tcp_fastopen_config() 399 …log_msg(LOG_WARNING, " 'sudo sysctl -w net.ipv4.tcp_fastopen=3' for both client and server mode\n… in report_tcp_fastopen_config() 400 log_msg(LOG_WARNING, "NSD will not have TCP Fast Open available until this change is made.\n"); in report_tcp_fastopen_config() 448 log_msg(LOG_ERR, "socketpair: %s", in restart_child_servers() 460 log_msg(LOG_ERR, "cannot fcntl pipe: %s", strerror(errno)); in restart_child_servers() [all …]
|
| H A D | difffile.c | 63 log_msg(LOG_ERR, "could not open transfer %s file %lld: %s", in diff_write_packet() 72 log_msg(LOG_ERR, "could not get timestamp for %s: %s", in diff_write_packet() 86 log_msg(LOG_ERR, "could not write transfer %s file %lld: %s", in diff_write_packet() 98 log_msg(LOG_ERR, "could not write transfer %s file %lld: %s", in diff_write_packet() 113 log_msg(LOG_ERR, "could not set timestamp for %s: %s", in diff_write_commit() 124 log_msg(LOG_ERR, "could not open transfer %s file %lld: %s", in diff_write_commit() 136 log_msg(LOG_ERR, "could not write transfer %s file %lld: %s", in diff_write_commit() 144 log_msg(LOG_ERR, "could not fseek transfer %s file %lld: %s", in diff_write_commit() 150 log_msg(LOG_ERR, "could not write transfer %s file %lld: %s", in diff_write_commit() 176 log_msg(LOG_ERR, "could not open transfer %s file %lld: %s", in diff_update_commit() [all …]
|
| H A D | ipc.c | 69 log_msg(LOG_ERR, "handle_parent_command: read: %s", in child_handle_parent_command() 99 log_msg(LOG_ERR, "handle_parent_command: bad mode %d", in child_handle_parent_command() 119 log_msg(LOG_ERR, "handle_xfrd_command: read: %s", in parent_handle_xfrd_command() 149 log_msg(LOG_ERR, "handle_xfrd_command: bad mode %d", in parent_handle_xfrd_command() 162 log_msg(LOG_ERR, "svrmain: problems sending stats to child %d command: %s", in send_stat_to_child() 184 log_msg(LOG_INFO, "main: fwd packet for %s, acl %d", in debug_print_fwd_name() 187 log_msg(LOG_INFO, "main: fwd packet badqname, acl %d", acl_num); in debug_print_fwd_name() 201 log_msg(LOG_ERR, "svrmain: problems sending quit to child %d command: %s", in send_quit_to_child() 225 log_msg(LOG_WARNING, in child_is_done() 345 log_msg(LOG_ERR, "handle_child_command: read: %s", in parent_handle_child_command() [all …]
|
| H A D | xfrd-tcp.c | 42 log_msg(LOG_ERR, "xfrd tls: Unable to create SSL ctxt"); in create_ssl_context() 46 log_msg(LOG_ERR, "xfrd tls: Unable to set default SSL verify paths"); in create_ssl_context() 52 log_msg(LOG_ERR, "xfrd tls: Unable to set minimum TLS version 1.3"); in create_ssl_context() 58 log_msg(LOG_ERR, "xfrd tls: Unable to set ALPN protocols"); in create_ssl_context() 73 log_msg(LOG_ERR, "xfrd tls: TLS verify failed - (%d) depth: %d error: %s", in tls_verify_callback() 85 log_msg(LOG_ERR, "xfrd tls: No TLS CTX, cannot set up XFR-over-TLS"); in setup_ssl() 92 log_msg(LOG_ERR, "xfrd tls: Unable to create TLS object"); in setup_ssl() 98 log_msg(LOG_ERR, "xfrd tls: Unable to set TLS fd"); in setup_ssl() 106 log_msg(LOG_ERR, "xfrd tls: TLS setting of hostname %s failed", in setup_ssl() 182 log_msg(LOG_ERR, "xfrd: XFR-over-TLS not available"); in xfrd_tcp_set_create() [all …]
|
| H A D | verify.c | 122 log_msg(stream->priority, fmt, len, stream->buf + stream->off); in print_line() 173 log_msg(LOG_ERR, "verify: cannot kill verifier for " in kill_verifier() 260 log_msg(LOG_ERR, "verify: verifier for zone %s (pid %d) timed out", in verify_handle_timeout() 278 log_msg(LOG_ERR, "verify_handle_signal: write failed: %s", in verify_handle_signal() 304 log_msg(LOG_ERR, "verify_handle_exit: read failed: %s", in verify_handle_exit() 326 log_msg(LOG_ERR, "verify: verifier for zone %s " in verify_handle_exit() 336 log_msg(priority, "verify: verifier for zone %s " in verify_handle_exit() 381 log_msg(LOG_ERR, "verify: verify_handle_command: read: %s", in verify_handle_command() 385 log_msg(LOG_INFO, "verify: command channel closed"); in verify_handle_command() 388 log_msg(LOG_ERR, "verify: bad command: %d", (int)mode); in verify_handle_command() [all …]
|
| H A D | tsig-openssl.c | 73 log_msg(LOG_ERR, "could not fetch MAC implementation 'hmac' with EVP_MAC_fetch"); in tsig_openssl_init_algorithm() 89 log_msg(LOG_ERR, "could not EVP_MAC_CTX_set_params"); in tsig_openssl_init_algorithm() 96 log_msg(LOG_ERR, "could not EVP_MAC_set_ctx_params"); in tsig_openssl_init_algorithm() 110 log_msg(LOG_ERR, "cannot parse %s algorithm", wireformat); in tsig_openssl_init_algorithm() 231 log_msg(LOG_ERR, "could not EVP_MAC_CTX_new"); in init_context() 241 log_msg(LOG_ERR, "could not EVP_MAC_CTX_set_params"); in init_context() 248 log_msg(LOG_ERR, "could not EVP_MAC_set_ctx_params"); in init_context() 267 log_msg(LOG_ERR, "could not EVP_MAC_update"); in update() 283 log_msg(LOG_ERR, "could not EVP_MAC_final"); in final()
|
| H A D | iterated_hash.c | 39 log_msg(LOG_ERR, "out of memory in iterated_hash"); in iterated_hash() 54 log_msg(LOG_ERR, "iterated_hash could not EVP_DigestInit"); in iterated_hash() 57 log_msg(LOG_ERR, "iterated_hash could not EVP_DigestUpdate"); in iterated_hash() 60 log_msg(LOG_ERR, "iterated_hash could not EVP_DigestUpdate salt"); in iterated_hash() 63 log_msg(LOG_ERR, "iterated_hash could not EVP_DigestFinal_ex"); in iterated_hash()
|
| H A D | dbcreate.c | 82 log_msg(LOG_ERR, "There was an error " in print_rrs() 102 log_msg(LOG_ERR, "There was an error " in print_rrs() 138 log_msg(LOG_ERR, "cannot write zone %s file %s: %s", in write_to_zonefile() 144 log_msg(LOG_ERR, "There was an error printing " in write_to_zonefile() 153 log_msg(LOG_ERR, "cannot write zone %s to file %s: fclose: %s", in write_to_zonefile() 181 log_msg(LOG_ERR, "create dir %s: %s", in create_dirs() 206 log_msg(LOG_ERR, "cannot stat %s: %s", path, strerror(errno)); in create_path_components() 230 log_msg(LOG_ERR, "could not write zone %s to file %s because " in namedb_write_zonefile() 253 log_msg(LOG_ERR, "rename(%s to %s) failed: %s", in namedb_write_zonefile()
|
| H A D | util.c | 82 log_msg(LOG_ERR, "Cannot open %s for appending (%s), " in log_open() 202 log_msg(int priority, const char *format, ...) in log_msg() function 276 log_msg(LOG_ERR, "strdup failed: %s", strerror(errno)); in xstrdup() 289 log_msg(LOG_ERR, "malloc failed: %s", strerror(errno)); in xalloc() 301 log_msg(LOG_ERR, "reallocarray failed: %s", strerror(errno)); in xmallocarray() 312 log_msg(LOG_ERR, "calloc failed: %s", strerror(errno)); in xalloc_zero() 323 log_msg(LOG_ERR, "calloc failed: %s", strerror(errno)); in xalloc_array_zero() 334 log_msg(LOG_ERR, "realloc failed: %s", strerror(errno)); in xrealloc() 351 log_msg(LOG_ERR, "mmap failed: %s", strerror(errno)); in mmap_alloc() 355 log_msg(LOG_ERR, "mmap failed: don't have mmap"); in mmap_alloc() [all …]
|
| H A D | xfrd.c | 121 log_msg(LOG_ERR, "xfrd sig handler: event_base_set failed"); in xfrd_sigsetup() 124 log_msg(LOG_ERR, "xfrd sig handler: signal_add failed"); in xfrd_sigsetup() 146 log_msg(LOG_ERR, "xfrd: cannot create event base"); in xfrd_init() 180 log_msg(LOG_ERR, "xfrd ipc handler: event_base_set failed"); in xfrd_init() 182 log_msg(LOG_ERR, "xfrd ipc handler: event_add failed"); in xfrd_init() 272 log_msg(LOG_WARNING, "SIGHUP received, reloading..."); in xfrd_sig_process() 291 log_msg(LOG_ERR, "process %d exited with status %d", in xfrd_sig_process() 303 log_msg(LOG_ERR, "xfrd child timer: event_base_set failed"); in xfrd_sig_process() 305 log_msg(LOG_ERR, "xfrd child timer: event_add failed"); in xfrd_sig_process() 324 log_msg(LOG_ERR, in xfrd_main() [all …]
|
| H A D | remote.c | 237 log_msg(LOG_ERR, "%s crypto %s", str, buf); in log_crypto_err() 240 log_msg(LOG_ERR, "and additionally crypto %s", buf); in log_crypto_err() 271 log_msg(LOG_ERR, "could not setup remote control TLS context"); in remote_setup_ctx() 294 log_msg(LOG_ERR, "Could not setup remote control: NSD was compiled without SSL."); in daemon_remote_create() 304 …log_msg(LOG_WARNING, "control-interface %s is not using TLS, but plain transfer, because first con… in daemon_remote_create() 310 log_msg(LOG_ERR, "could not open remote control port"); in daemon_remote_create() 316 log_msg(LOG_ERR, "gettimeofday: %s", strerror(errno)); in daemon_remote_create() 384 log_msg(LOG_WARNING, "fallback to TCP4, no IPv6: not supported"); in create_tcp_accept_sock() 388 log_msg(LOG_ERR, "can't create a socket: %s", strerror(errno)); in create_tcp_accept_sock() 393 log_msg(LOG_ERR, "setsockopt(..., SO_REUSEADDR, ...) failed: %s", strerror(errno)); in create_tcp_accept_sock() [all …]
|
| H A D | udb.c | 79 log_msg(LOG_ERR, "out of memory"); in udb_base_create_fd() 85 log_msg(LOG_ERR, "out of memory"); in udb_base_create_fd() 100 log_msg(LOG_ERR, "out of memory"); in udb_base_create_fd() 107 log_msg(LOG_ERR, "%s: %s", fname, strerror(errno)); in udb_base_create_fd() 110 log_msg(LOG_ERR, "%s: file too short", fname); in udb_base_create_fd() 115 log_msg(LOG_ERR, "%s: wrong type of file", fname); in udb_base_create_fd() 120 log_msg(LOG_ERR, "%s: %s\n", fname, strerror(errno)); in udb_base_create_fd() 123 log_msg(LOG_ERR, "%s: file too short", fname); in udb_base_create_fd() 127 log_msg(LOG_ERR, "%s: unknown file version %d", fname, in udb_base_create_fd() 132 log_msg(LOG_ERR, "%s: header size too small %d", fname, in udb_base_create_fd() [all …]
|
| H A D | xfrd-disk.c | 159 log_msg(LOG_ERR, "xfrd: Could not open file %s for reading: %s", in xfrd_read_state() 182 log_msg(LOG_ERR, "xfrd: corrupt state file %s dated %d (now=%lld)", in xfrd_read_state() 233 log_msg(LOG_ERR, "xfrd: corrupt state file %s dated %d (now=%lld)", in xfrd_read_state() 250 log_msg(LOG_ERR, "xfrd: statefile %s contains" in xfrd_read_state() 349 log_msg(LOG_ERR, "xfrd: corrupt state file %s dated %d (now=%lld)", in xfrd_read_state() 460 log_msg(LOG_ERR, "xfrd: Could not open file %s for writing: %s", in xfrd_write_state() 535 log_msg(LOG_ERR, "parentdirs of %s failed", tnm); in xfrd_make_tempdir() 540 log_msg(LOG_ERR, "mkdir %s failed: %s", in xfrd_make_tempdir() 554 log_msg(LOG_WARNING, "rmdir %s failed: %s", tnm, in xfrd_del_tempdir() 581 log_msg(LOG_ERR, "open %s for %s failed: %s", fname, mode, in xfrd_open_xfrfile() [all …]
|
| H A D | xfrd-notify.c | 159 log_msg(LOG_ERR, "xfrd: zone %s: received bad notify reply opcode/flags from %s", in reply_pkt_is_ack() 166 log_msg(LOG_ERR, "xfrd: zone %s: received notify-ack with bad ID from %s", in reply_pkt_is_ack() 172 log_msg(LOG_ERR, "xfrd: zone %s: received notify response error %s from %s", in reply_pkt_is_ack() 239 log_msg(LOG_ERR, "xfrd: zone %s: max notify send count reached, %s unreachable", in notify_pkt_retry() 303 log_msg(LOG_ERR, "xfrd: zone %s: could not send notify #%d to %s", in xfrd_notify_send_udp() 327 log_msg(LOG_ERR, "xfrd notify: sendto %s failed %s", in xfrd_notify_send_udp() 390 log_msg(LOG_ERR, "notify_send: event_base_set failed"); in notify_setup_event() 392 log_msg(LOG_ERR, "notify_send: event_add failed"); in notify_setup_event() 406 log_msg(LOG_ERR, "notify_send: event_base_set failed"); in notify_setup_event() 408 log_msg(LOG_ERR, "notify_send: event_add failed"); in notify_setup_event() [all …]
|
| H A D | ixfr.c | 1008 log_msg(LOG_ERR, "ixfr_store addrr: cannot allocate space"); in ixfr_put_newsoa() 1090 log_msg(LOG_ERR, "ixfr_store: cannot parse soa nsname in packet"); in read_soa_rdata() 1095 log_msg(LOG_ERR, "ixfr_store: cannot parse soa maintname in packet"); in read_soa_rdata() 1168 log_msg(LOG_ERR, "ixfr_store: not enough rdata space in packet"); in ixfr_store_add_newsoa() 1175 log_msg(LOG_ERR, "ixfr_store newsoa: cannot parse packet"); in ixfr_store_add_newsoa() 1222 log_msg(LOG_ERR, "ixfr_store oldsoa: not enough rdata space in packet"); in ixfr_store_add_oldsoa() 1229 log_msg(LOG_ERR, "ixfr_store oldsoa: cannot parse packet"); in ixfr_store_add_oldsoa() 1333 log_msg(LOG_ERR, "ixfr_store addrr: cannot parse packet"); in ixfr_store_putrr() 1340 log_msg(LOG_ERR, "ixfr_store addrr: cannot allocate space"); in ixfr_store_putrr() 1737 log_msg(LOG_ERR, "error to delete file %s: %s", ixfrfile, in ixfr_unlink_it_ctmp() [all …]
|
| H A D | options.c | 197 log_msg(LOG_WARNING, "trying to read %s but it is a directory: %s", filetype, fname); in warn_if_directory() 333 log_msg(LOG_ERR, "malloc failed: %s", strerror(errno)); in options_zonestatnames_create() 382 log_msg(LOG_ERR, "pattern does not exist for zone %s " in zone_list_zone_insert() 393 log_msg(LOG_ERR, "bad domain name or duplicate zone '%s' " in zone_list_zone_insert() 426 log_msg(LOG_ERR, "could not open zone list %s: %s", opt->zonelistfile, in parse_zone_list_file() 435 log_msg(LOG_ERR, "zone list %s contains bad header\n", opt->zonelistfile); in parse_zone_list_file() 456 log_msg(LOG_ERR, "parse error in %s: '%s'", in parse_zone_list_file() 476 log_msg(LOG_WARNING, "bad data in %s, '%s'", opt->zonelistfile, in parse_zone_list_file() 514 log_msg(LOG_ERR, "could not create zone list %s: %s", in zone_list_add() 516 log_msg(LOG_ERR, "zone %s could not be added", zname); in zone_list_add() [all …]
|
| H A D | nsd.c | 175 log_msg(LOG_ERR, "error in getnameinfo: %s", in setup_verifier_environment() 378 log_msg(LOG_WARNING, "No IPv6, fallback to IPv4. getaddrinfo: %s", in figure_default_sockets() 628 log_msg(LOG_WARNING, "server %zu will not listen on " in print_sockets() 702 log_msg(LOG_ERR, "cannot open pidfile %s: %s", in writepid() 712 log_msg(LOG_ERR, "cannot write pidfile %s: %s", in writepid() 717 log_msg(LOG_ERR, "cannot write any bytes to " in writepid() 728 log_msg(LOG_ERR, "cannot chown %u.%u %s: %s", in writepid() 747 log_msg(LOG_ERR, "can not truncate the pid file %s: %s", file, strerror(errno)); in unlinkpid() 853 log_msg(LOG_INFO, "%s", buf); in bind8_stats() 863 log_msg(LOG_INFO, "%s", buf); in bind8_stats() [all …]
|
| H A D | dbaccess.c | 161 log_msg(LOG_ERR, "unable to load namedb: cannot initialize timestamp"); in namedb_open() 218 log_msg(LOG_ERR, "zonefile %s does not exist", fname); in namedb_read_zonefile() 222 log_msg(LOG_ERR, "zonefile %s: %s", in namedb_read_zonefile() 253 log_msg(LOG_ERR, "out of memory starting ixfr create"); in namedb_read_zonefile() 266 log_msg(LOG_ERR, "zone %s file %s read with %u errors", in namedb_read_zonefile() 303 log_msg(LOG_ERR, "failed to create IXFR"); in namedb_read_zonefile()
|
| /netbsd-src/external/bsd/nsd/dist/dnstap/ |
| H A D | dnstap.c | 167 log_msg(LOG_ERR, "dnstap: SSL_CTX_new failed"); in tls_writer_init() 175 log_msg(LOG_ERR, "dnstap: could not set SSL_OP_NO_SSLv2"); in tls_writer_init() 184 log_msg(LOG_ERR, "dnstap: could not set SSL_OP_NO_SSLv3"); in tls_writer_init() 194 log_msg(LOG_ERR, "dnstap: could not set SSL_OP_NO_RENEGOTIATION"); in tls_writer_init() 204 …log_msg(LOG_ERR, "dnstap: SSL_CTX_use_certificate_chain_file failed for %s", tls_client_cert_file); in tls_writer_init() 212 log_msg(LOG_ERR, "dnstap: SSL_CTX_use_PrivateKey_file failed for %s", tls_client_key_file); in tls_writer_init() 219 log_msg(LOG_ERR, "dnstap: SSL_CTX_check_private_key failed for %s", tls_client_key_file); in tls_writer_init() 228 log_msg(LOG_ERR, "dnstap: SSL_CTX_load_verify_locations failed for %s", tls_cert_bundle); in tls_writer_init() 235 log_msg(LOG_ERR, "dnstap: SSL_CTX_set_default_verify_paths failed"); in tls_writer_init() 246 log_msg(LOG_ERR, "dnstap: strdup failed"); in tls_writer_init() [all …]
|
| H A D | dnstap_collector.c | 78 log_msg(LOG_ERR, "dnstap_collector receive fd fcntl " in dt_collector_create() 82 log_msg(LOG_ERR, "dnstap_collector send fd fcntl " in dt_collector_create() 87 log_msg(LOG_ERR, "setting dnstap_collector " in dt_collector_create() 91 log_msg(LOG_ERR, "setting dnstap_collector " in dt_collector_create() 105 log_msg(LOG_ERR, "fcntl failed: %s", strerror(errno)); in dt_collector_create() 108 log_msg(LOG_ERR, "fcntl failed: %s", strerror(errno)); in dt_collector_create() 181 log_msg(LOG_ERR, "dnstap collector: receive failed: %s", in recv_into_buffer() 187 log_msg(LOG_ERR, "dnstap collector: remote closed connection"); in recv_into_buffer() 195 log_msg(LOG_ERR, "dnstap collector: out of sync (msglen: %u)", in recv_into_buffer() 304 log_msg(LOG_ERR, "could not create dnstap env"); in dt_init_dnstap() [all …]
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | monitor_wrap.c | 94 struct sshbuf *log_msg; in mm_log_handler() local 102 if ((log_msg = sshbuf_new()) == NULL) in mm_log_handler() 105 if ((r = sshbuf_put_u32(log_msg, 0)) != 0 || /* length; filled below */ in mm_log_handler() 106 (r = sshbuf_put_u32(log_msg, level)) != 0 || in mm_log_handler() 107 (r = sshbuf_put_u32(log_msg, forced)) != 0 || in mm_log_handler() 108 (r = sshbuf_put_cstring(log_msg, msg)) != 0) in mm_log_handler() 110 if ((len = sshbuf_len(log_msg)) < 4 || len > 0xffffffff) in mm_log_handler() 112 POKE_U32(sshbuf_mutable_ptr(log_msg), len - 4); in mm_log_handler() 114 sshbuf_mutable_ptr(log_msg), len) != len) in mm_log_handler() 116 sshbuf_free(log_msg); in mm_log_handler()
|