Home
last modified time | relevance | path

Searched refs:fatal_exit (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/unbound/smallapp/
H A Dunbound-checkconf.c111 if(!p) fatal_exit("out of memory"); in print_option()
120 if(!p) fatal_exit("out of memory"); in print_option()
127 fatal_exit("cannot print option '%s'", opt); in print_option()
140 fatal_exit("out of memory"); in check_mod()
142 fatal_exit("out of memory"); in check_mod()
144 fatal_exit("bad config during startup for %s module", fb->name); in check_mod()
146 fatal_exit("bad config during init for %s module", fb->name); in check_mod()
197 fatal_exit("out of memory"); in localzonechecks()
199 fatal_exit("failed local-zone, local-data configuration"); in localzonechecks()
219 fatal_exit("cannot parse access-control-view " in acl_view_tag_checks()
[all …]
H A Dunbound-control.c308 fatal_exit("out of memory"); in print_hist()
469 fatal_exit("out of memory"); in print_stats_shm()
471 fatal_exit("could not read config file"); in print_stats_shm()
475 fatal_exit("shmget(%d): %s", cfg->shm_key, strerror(errno)); in print_stats_shm()
479 fatal_exit("shmget(%d): %s", cfg->shm_key+1, strerror(errno)); in print_stats_shm()
483 fatal_exit("shmat(%d): %s", id_ctl, strerror(errno)); in print_stats_shm()
487 fatal_exit("shmat(%d): %s", id_arr, strerror(errno)); in print_stats_shm()
541 fatal_exit("out of memory"); in setup_ctx()
622 fatal_exit("could not resolve interface names"); in contact_server()
625 fatal_exit("no control interfaces"); in contact_server()
[all …]
/freebsd/contrib/unbound/daemon/
H A Ddaemon.c216 fatal_exit("could not init winsock. WSAStartup: %s", in daemon_init()
251 fatal_exit("could not init openssl locks"); in daemon_init()
255 fatal_exit("could not init NSS"); in daemon_init()
455 fatal_exit("failed to startup modules"); in daemon_privileged()
475 fatal_exit("failed to init modules"); in daemon_setup_modules()
499 fatal_exit("no ports are permitted for UDP, add " in daemon_get_shufport()
552 fatal_exit("could not init random generator"); in daemon_create_workers()
557 fatal_exit("out of memory during daemon init"); in daemon_create_workers()
564 fatal_exit("could not create doq_table: out of memory"); in daemon_create_workers()
577 fatal_exit("out of memory during daemon init"); in daemon_create_workers()
[all …]
H A Dunbound.c236 fatal_exit("too much tcp. not enough fds."); in checkrlimits()
250 fatal_exit("too much tcp. not enough fds."); in checkrlimits()
278 fatal_exit("too much tcp. not enough fds."); in checkrlimits()
436 fatal_exit("daemon failed: %s", strerror(errno)); in detach()
445 fatal_exit("fork failed: %s", strerror(errno)); in detach()
453 fatal_exit("setsid() failed: %s", strerror(errno)); in detach()
479 fatal_exit("could not do privileged setup"); in perform_setup()
483 fatal_exit("user '%s' does not exist.", cfg->username); in perform_setup()
494 fatal_exit("could not set up remote-control"); in perform_setup()
498 fatal_exit("could not set up listen SSL_CTX"); in perform_setup()
[all …]
H A Dstats.c429 fatal_exit("failed to read stats over cmd channel"); in server_stats_obtain()
431 fatal_exit("stats on cmd channel wrong length %d %d", in server_stats_obtain()
444 fatal_exit("could not write stat values over cmd channel"); in server_stats_reply()
H A Dworker.c388 fatal_exit("bad control msg length %d", (int)len); in worker_handle_control_cmd()
2166 fatal_exit("dt_init failed"); in worker_init()
/freebsd/contrib/unbound/util/
H A Dlocks.c61 fatal_exit("pthread_sigmask: %s", strerror(err)); in ub_thread_blocksigs()
65 fatal_exit("thr_sigsetmask: %s", strerror(err)); in ub_thread_blocksigs()
69 fatal_exit("sigprocmask: %s", strerror(errno)); in ub_thread_blocksigs()
87 fatal_exit("pthread_sigmask: %s", strerror(err)); in ub_thread_sig_unblock()
91 fatal_exit("thr_sigsetmask: %s", strerror(err)); in ub_thread_sig_unblock()
95 fatal_exit("sigprocmask: %s", strerror(errno)); in ub_thread_sig_unblock()
125 fatal_exit("could not fork: %s", strerror(errno)); in ub_thr_fork_create()
240 fatal_exit("thread create failed"); in ub_thread_create()
H A Dlog.h208 void fatal_exit(const char* format, ...) ATTR_FORMAT(printf, 1, 2) ATTR_NORETURN;
230 fatal_exit("%s:%d: %s: assertion %s failed", \
H A Dconfigparser.y649 fatal_exit("out of memory adding client-subnet");
662 fatal_exit("out of memory adding client-subnet-zone");
1998 fatal_exit("out of memory adding acl");
2007 fatal_exit("out of memory adding acl");
2378 fatal_exit("out of memory adding local-zone");
2387 fatal_exit("out of memory adding local-zone");
2394 fatal_exit("out of memory adding local-zone");
2400 fatal_exit("out of memory adding local-zone");
2408 fatal_exit("out of memory adding local-data");
2420 fatal_exit("out of memory adding local-data");
[all …]
H A Dconfigparser.c3371 fatal_exit("out of memory adding client-subnet"); in yyparse()
3387 fatal_exit("out of memory adding client-subnet-zone"); in yyparse()
5142 fatal_exit("out of memory adding acl"); in yyparse()
5154 fatal_exit("out of memory adding acl"); in yyparse()
5630 fatal_exit("out of memory adding local-zone"); in yyparse()
5639 fatal_exit("out of memory adding local-zone"); in yyparse()
5646 fatal_exit("out of memory adding local-zone"); in yyparse()
5652 fatal_exit("out of memory adding local-zone"); in yyparse()
5663 fatal_exit("out of memory adding local-data"); in yyparse()
5678 fatal_exit("out of memory adding local-data"); in yyparse()
[all …]
H A Dalloc.c597 fatal_exit("alloc assertion failed"); in unbound_stat_free_lite()
606 fatal_exit("alloc assertion failed"); in unbound_stat_free_lite()
633 fatal_exit("alloc assertion failed"); in unbound_stat_realloc_lite()
642 fatal_exit("alloc assertion failed"); in unbound_stat_realloc_lite()
H A Drandom.c133 fatal_exit("PK11_GenerateRandom error: %s", in ub_random()
H A Dfptr_wlist.h72 fatal_exit("%s:%d: %s: pointer whitelist %s failed", \
H A Dlog.c377 fatal_exit(const char *format, ...) in fatal_exit() function
/freebsd/contrib/unbound/dnstap/
H A Dunbound-dnstap-socket.c1215 if(!data) fatal_exit("out of memory"); in dtio_mainfdcallback()
1220 if(!data->ssl) fatal_exit("could not SSL_new"); in dtio_mainfdcallback()
1224 if(!data->ev) fatal_exit("could not ub_event_new"); in dtio_mainfdcallback()
1225 if(ub_event_add(data->ev, NULL) != 0) fatal_exit("could not ub_event_add"); in dtio_mainfdcallback()
1227 fatal_exit("could not tap_data_list_insert"); in dtio_mainfdcallback()
1239 if(!s) fatal_exit("out of memory"); in setup_local_list()
1241 fatal_exit("out of memory"); in setup_local_list()
1254 if(!s) fatal_exit("out of memory"); in setup_tcp_list()
1256 fatal_exit("out of memory"); in setup_tcp_list()
1270 if(!s) fatal_exit("out of memory"); in setup_tls_list()
[all …]
H A Ddnstap.c203 fatal_exit("dt_apply_identity: gethostname() failed"); in dt_apply_identity()
209 fatal_exit("dt_apply_identity: strdup() failed"); in dt_apply_identity()
226 fatal_exit("dt_apply_version: strdup() failed"); in dt_apply_version()
H A Ddtstream.c1634 fatal_exit("dnstap io: could not create event_base"); in dtio_setup_base()
1647 fatal_exit("dnstap io: out of memory"); in dtio_setup_cmd()
1651 fatal_exit("dnstap io: out of memory (adding event)"); in dtio_setup_cmd()
1662 fatal_exit("dnstap io: out of memory"); in dtio_setup_reconnect()
/freebsd/contrib/unbound/dnscrypt/
H A Ddnscrypt.c605 fatal_exit("dnsc_parse_certs: failed to load %s: %s", head->str, strerror(errno)); in dnsc_parse_certs()
819 fatal_exit("dnsc_parse_keys: failed to load %s: %s", head->str, strerror(errno)); in dnsc_parse_keys()
824 fatal_exit("dnsc_parse_keys: could not generate public key from %s", head->str); in dnsc_parse_keys()
851 fatal_exit("Certificate for XChacha20 but libsodium does not support it."); in dnsc_parse_keys()
858 fatal_exit("dnsc_parse_keys: could not match certificate for key " in dnsc_parse_keys()
870 fatal_exit( in sodium_misuse_handler()
945 fatal_exit("dnsc_create: could not initialize libsodium."); in dnsc_create()
967 fatal_exit("dnsc_apply_cfg: no cert file loaded"); in dnsc_apply_cfg()
970 fatal_exit("dnsc_apply_cfg: no key file loaded"); in dnsc_apply_cfg()
976 fatal_exit("dnsc_apply_cfg: could not load local data"); in dnsc_apply_cfg()
[all …]
/freebsd/contrib/unbound/contrib/
H A Dfastrpz.patch101 fatal_exit("dt_create failed");
103 fatal_exit("dnstap enabled in config but not built with dnstap support");
110 + fatal_exit("fastrpz enabled in config"
162 + fatal_exit("impossible cached RPZ sec_status");
1408 + fatal_exit("%s", s);
1547 + fatal_exit("rpz: %s", emsg.c);
1553 + fatal_exit("rpz: rpz-zone: not set");
1560 + fatal_exit("rpz: no memory for lock");
1566 + fatal_exit("rpz: %s", emsg.c);
1570 + fatal_exit("rpz: %s", emsg.c);
[all …]
/freebsd/contrib/unbound/services/
H A Dmodstack.c241 fatal_exit("unexpected already initialised modules"); in modstack_call_startup()
H A Dlisten_dnsport.c1316 fatal_exit("PROXYv2 and DNSCrypt combination not " in ports_create_if()
1319 fatal_exit("PROXYv2 and DoH combination not " in ports_create_if()
1322 fatal_exit("PROXYv2 and DoQ combination not " in ports_create_if()
/freebsd/contrib/unbound/validator/
H A Dautotrust.c1216 fatal_exit("could not open autotrust file for writing, %s: %s", in autr_write_file()
1224 fatal_exit("could not completely write: %s", fname); in autr_write_file()
1236 fatal_exit("could not complete write: %s: %s", in autr_write_file()
1247 fatal_exit("rename(%s to %s): %s", tempf, fname, strerror(errno)); in autr_write_file()
H A Dval_anchor.c582 fatal_exit("trusted-keys, %d, string too long", *line); in readkeyword_bindfile()
/freebsd/contrib/unbound/libunbound/
H A Dlibworker.c400 if(!w) fatal_exit("out of memory"); in libworker_bg()
/freebsd/contrib/unbound/iterator/
H A Diter_utils.c88 fatal_exit("cannot parse fetch policy number %s", s); in fetch_fill()

12