| /netbsd-src/usr.sbin/rtadvd/ |
| H A D | rtadvd.c | 226 logit(LOG_ERR, "pidfile_lock: %m"); in main() 228 logit(LOG_ERR, "Another instance of `%s' is running " in main() 251 logit(LOG_ERR, in main() 255 logit(LOG_ERR, "getpwnam: %s: %m", RTADVD_USER); in main() 271 logit(LOG_ERR, " pidfile_lock: %m"); in main() 285 logit(LOG_INFO, "dropping privileges to %s", RTADVD_USER); in main() 288 logit(LOG_ERR, "chroot: %s: %m", pw->pw_dir); in main() 292 logit(LOG_ERR, "chdir: /: %m"); in main() 299 logit(LOG_ERR, "failed to drop privileges: %m"); in main() 316 logit(LOG_INFO, "%s: reloading config on SIGHUP", in main() [all …]
|
| H A D | config.c | 176 logit(LOG_ERR, "%s: need %s for interface %s", \ in getconfig() 193 logit(LOG_ERR, "%s: calloc failed: %m", \ in getconfig() 200 logit(LOG_INFO, "%s: interface %s not found, ignoring", in getconfig() 205 logit(LOG_DEBUG, "%s: loading configuration for interface %s", in getconfig() 210 logit(LOG_INFO, in getconfig() 237 logit(LOG_ERR, in getconfig() 246 logit(LOG_ERR, in getconfig() 256 logit(LOG_WARNING, in getconfig() 266 logit(LOG_ERR, in getconfig() 275 logit(LOG_ERR, in getconfig() [all …]
|
| /netbsd-src/usr.sbin/mrouted/ |
| H A D | rsrr.c | 92 logit(LOG_ERR, errno, "Can't create RSRR socket"); in rsrr_init() 107 logit(LOG_ERR, errno, "Can't bind RSRR socket"); in rsrr_init() 110 logit(LOG_WARNING, 0, "Couldn't register RSRR as an input handler"); in rsrr_init() 127 logit(LOG_ERR, errno, "RSRR recvfrom"); 147 logit(LOG_WARNING, 0, 156 logit(LOG_WARNING, 0, 167 logit(LOG_INFO, 0, "Received Initial Query\n"); 173 logit(LOG_WARNING, 0, 180 logit(LOG_INFO, 0, 189 logit(LOG_WARNING, 0, [all …]
|
| H A D | kern.c | 20 logit(LOG_ERR, errno, "setsockopt SO_RCVBUF %u", bufsize); in k_set_rcvbuf() 29 logit(LOG_ERR, errno, "setsockopt IP_HDRINCL %u", onoff); in k_hdr_include() 41 logit(LOG_ERR, errno, "setsockopt IP_MULTICAST_TTL %u", ttl); in k_set_ttl() 52 logit(LOG_ERR, errno, "setsockopt IP_MULTICAST_LOOP %u", loop); in k_set_loop() 63 logit(LOG_ERR, errno, "setsockopt IP_MULTICAST_IF %s", in k_set_if() 77 logit(LOG_WARNING, errno, "can't join group %s on interface %s", in k_join() 92 logit(LOG_WARNING, errno, "can't leave group %s on interface %s", in k_leave() 109 logit(LOG_ERR, errno, "can't enable Multicast routing in kernel"); in k_init_dvmrp() 117 logit(LOG_WARNING, errno, "can't disable Multicast routing in kernel"); in k_stop_dvmrp() 134 logit(LOG_ERR, errno, "setsockopt MRT_ADD_VIF"); in k_add_vif() [all …]
|
| H A D | prune.c | 280 logit(LOG_DEBUG, 0, "sent prune for (%s %s)/%d on vif %d to %s", in send_prune() 323 logit(LOG_DEBUG, 0, "sent graft for (%s %s) to %s on vif %d", in send_graft() 352 logit(LOG_DEBUG, 0, "sent graft ack for (%s, %s) to %s", in send_graft_ack() 626 logit(LOG_ERR, 0, "ran out of memory"); in add_table_entry() 677 logit(LOG_WARNING, 0, "Entry for (%s %s) (rt:%p) exists (rt:%p)", in add_table_entry() 709 logit(LOG_ERR, 0, "ran out of memory"); in add_table_entry() 719 logit(LOG_WARNING, 0, "kernel entry already exists for (%s %s)", in add_table_entry() 731 logit(LOG_DEBUG, 0, "add cache entry (%s %s) gm:%x, parent-vif:%d", in add_table_entry() 766 logit(LOG_DEBUG, 0, "reset_neighbor_state parent reset (%s %s)", in reset_neighbor_state() 823 logit(LOG_DEBUG, 0, "reset member state (%s %s) gm:%x", in reset_neighbor_state() [all …]
|
| H A D | vif.c | 75 logit(LOG_ERR, errno, "UDP socket"); in init_vifs() 76 logit(LOG_INFO,0,"Getting vifs from kernel interfaces"); in init_vifs() 78 logit(LOG_INFO,0,"Getting vifs from %s",configfilename); in init_vifs() 98 logit(LOG_ERR, 0, "can't forward: %s", in init_vifs() 102 logit(LOG_WARNING, 0, in init_vifs() 105 logit(LOG_INFO, 0, "Installing vifs in mrouted..."); in init_vifs() 110 logit(LOG_INFO, 0, "vif #%d, tunnel %s -> %s", vifi, in init_vifs() 114 logit(LOG_INFO, 0, "vif #%d, phyint %s", vifi, in init_vifs() 117 } else logit(LOG_INFO, 0, in init_vifs() 134 logit(LOG_INFO, 0, "Installing vifs in kernel..."); in init_installvifs() [all …]
|
| H A D | igmp.c | 49 logit(LOG_ERR, errno, "IGMP socket"); in init_igmp() 132 logit(LOG_WARNING, 0, in accept_igmp() 148 logit(LOG_WARNING, 0, "kernel request not accurate"); in accept_igmp() 157 logit(LOG_WARNING, 0, in accept_igmp() 167 logit(LOG_WARNING, 0, in accept_igmp() 173 logit(LOG_DEBUG, 0, "RECV %s from %-15s to %s", in accept_igmp() 246 logit(LOG_INFO, 0, in accept_igmp() 265 logit(LOG_INFO, 0, in accept_igmp() 343 logit(igmp_log_level(type, code), errno, in send_igmp() 351 logit(LOG_DEBUG, 0, "SENT %s from %-15s to %s", in send_igmp()
|
| H A D | main.c | 79 void logit(int severity, int syserr, const char *format, ...) 174 logit(LOG_NOTICE, 0, "%s", versionstring); in main() 209 logit(LOG_ERR, 0, "kernel (v%d.%d)/mrouted (v%d.%d) version mismatch", in main() 256 logit(LOG_ERR, 0, "descriptor too big"); in main() 261 logit(LOG_ERR, 0, "descriptor too big"); in main() 317 logit(LOG_WARNING, errno, "select failed"); in main() 325 if (errno != EINTR) logit(LOG_ERR, errno, "recvfrom"); in main() 332 logit(LOG_ERR, errno, "sigprocmask"); in main() 483 logit(LOG_NOTICE, 0, "%s exiting", versionstring); in done() 560 logit(LOG_NOTICE, 0, "%s restart", versionstring); in restart() [all …]
|
| H A D | config.c | 31 logit(LOG_ERR, errno, "getifaddrs"); in config_vifs_from_kernel() 60 logit(LOG_WARNING, 0, in config_vifs_from_kernel() 74 logit(LOG_WARNING, 0, "ignoring %s, same subnet as %s", in config_vifs_from_kernel() 86 logit(LOG_WARNING, 0, "too many vifs, ignoring %s", ifa->ifa_name); in config_vifs_from_kernel() 105 logit(LOG_INFO,0,"installing %s (%s on subnet %s) as vif #%u - rate=%d", in config_vifs_from_kernel()
|
| /netbsd-src/lib/libpam/modules/pam_radius/ |
| H A D | pam_radius.c | 81 logit(int level, const char *fmt, ...) in logit() function 109 logit(LOG_CRIT, "rad_create_request: %s", rad_strerror(radh)); in build_access_request() 127 logit(LOG_CRIT, "rad_put_string: %s", rad_strerror(radh)); in build_access_request() 140 logit(LOG_CRIT, "rad_put_addr: %s", in build_access_request() 148 logit(LOG_CRIT, "rad_put_attr: %s", rad_strerror(radh)); in build_access_request() 152 logit(LOG_CRIT, "rad_put_int: %s", rad_strerror(radh)); in build_access_request() 170 logit(LOG_CRIT, in do_accept() 179 logit(LOG_CRIT, "rad_get_attr: %s", rad_strerror(radh)); in do_accept() 214 logit(LOG_CRIT, in do_challenge() 220 logit(LOG_CRIT, in do_challenge() [all …]
|
| /netbsd-src/usr.sbin/nfsd/ |
| H A D | nfsd.c | 109 #define logit(e, s, args...) \ macro 133 logit(LOG_ERR, "nfssvc: %s", strerror(errno)); in worker() 175 logit(LOG_ERR, "getaddrinfo %s: %s", cfg_netconf[t], in tryconf() 183 logit(LOG_ERR, "getnetconfigent %s failed: %s", in tryconf() 192 logit(LOG_ERR, "rpcb_set %s failed", cfg_netconf[t]); in tryconf() 216 logit(LOG_ERR, "can't create %s socket: %s", cfg_netconf[p], in setupsock() 223 logit(LOG_ERR, "can't set v6-only binding for %s " in setupsock() 232 logit(LOG_ERR, "setsockopt SO_REUSEADDR for %s: %s", in setupsock() 239 logit(LOG_ERR, "can't bind %s addr: %s", cfg_netconf[p], in setupsock() 246 logit(LOG_ERR, "listen failed"); in setupsock() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | nsec.c | 342 dns_nseclog_t logit, void *arg) { in dns_nsec_noexistnodata() 359 (*logit)(arg, ISC_LOG_DEBUG(3), "failure processing NSEC set"); in dns_nsec_noexistnodata() 368 (*logit)(arg, ISC_LOG_DEBUG(3), in dns_nsec_noexistnodata() 374 (*logit)(arg, ISC_LOG_DEBUG(3), "looking for relevant NSEC"); in dns_nsec_noexistnodata() 381 (*logit)(arg, ISC_LOG_DEBUG(3), in dns_nsec_noexistnodata() 401 (*logit)(arg, ISC_LOG_DEBUG(3), in dns_nsec_noexistnodata() 410 (*logit)(arg, ISC_LOG_DEBUG(3), "ignoring child nsec"); in dns_nsec_noexistnodata() 419 (*logit)(arg, ISC_LOG_DEBUG(3), in dns_nsec_noexistnodata() 424 (*logit)(arg, ISC_LOG_DEBUG(3), "NSEC proves CNAME exists"); in dns_nsec_noexistnodata() 438 (*logit)(ar in dns_nsec_noexistnodata() 343 dns_nsec_noexistnodata(dns_rdatatype_t type,const dns_name_t * name,const dns_name_t * nsecname,dns_rdataset_t * nsecset,bool * exists,bool * data,dns_name_t * wild,dns_nseclog_t logit,void * arg) dns_nsec_noexistnodata() argument [all...] |
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | nsec.c | 315 dns_nseclog_t logit, void *arg) { in dns_nsec_noexistnodata() argument 332 (*logit)(arg, ISC_LOG_DEBUG(3), "failure processing NSEC set"); in dns_nsec_noexistnodata() 337 (*logit)(arg, ISC_LOG_DEBUG(3), "looking for relevant NSEC"); in dns_nsec_noexistnodata() 344 (*logit)(arg, ISC_LOG_DEBUG(3), in dns_nsec_noexistnodata() 364 (*logit)(arg, ISC_LOG_DEBUG(3), in dns_nsec_noexistnodata() 373 (*logit)(arg, ISC_LOG_DEBUG(3), "ignoring child nsec"); in dns_nsec_noexistnodata() 382 (*logit)(arg, ISC_LOG_DEBUG(3), in dns_nsec_noexistnodata() 387 (*logit)(arg, ISC_LOG_DEBUG(3), "NSEC proves CNAME exists"); in dns_nsec_noexistnodata() 401 (*logit)(arg, ISC_LOG_DEBUG(3), "ignoring parent nsec"); in dns_nsec_noexistnodata() 408 (*logit)(arg, ISC_LOG_DEBUG(3), "nsec proves covered by dname"); in dns_nsec_noexistnodata() [all …]
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | gss-serv-krb5.c | 67 logit("Cannot initialize krb5 context"); in ssh_gssapi_krb5_init() 95 logit("krb5_parse_name(): %.100s", errmsg); in ssh_gssapi_krb5_userok() 101 logit("Authorized to %s, krb5 principal %s (krb5_kuserok)", in ssh_gssapi_krb5_userok() 135 logit("krb5_cc_new_unique(): %.100s", errmsg); in ssh_gssapi_krb5_storecreds() 143 logit("krb5_parse_name(): %.100s", errmsg); in ssh_gssapi_krb5_storecreds() 151 logit("krb5_cc_initialize(): %.100s", errmsg); in ssh_gssapi_krb5_storecreds() 162 logit("gss_krb5_copy_ccache() failed"); in ssh_gssapi_krb5_storecreds()
|
| H A D | moduli.c | 287 logit("Limited memory: %u MB; limit %lu MB", in gen_candidates() 293 logit("Increased memory: %u MB; need %u bytes", in gen_candidates() 297 logit("Decreased memory: %u MB; want %u bytes", in gen_candidates() 342 logit("%.24s Sieve next %u plus %u-bit", ctime(&time_start), in gen_candidates() 414 logit("%.24s Sieved with %u small primes in %lld seconds", in gen_candidates() 442 logit("%.24s Found %u candidates", ctime(&time_stop), r); in gen_candidates() 456 logit("write_checkpoint: temp pathname too long"); in write_checkpoint() 460 logit("mkstemp(%s): %s", tmp, strerror(errno)); in write_checkpoint() 464 logit("write_checkpoint: fdopen: %s", strerror(errno)); in write_checkpoint() 475 logit("failed to write to checkpoint file '%s': %s", cpfile, in write_checkpoint() [all …]
|
| H A D | dh.c | 168 logit("WARNING: could not open %s (%s), using fixed modulus", in choose_dh() 200 logit("WARNING: no suitable primes in %s", in choose_dh() 225 logit("WARNING: selected prime disappeared in %s, giving up", in choose_dh() 247 logit("invalid public DH value: negative"); in dh_pub_is_valid() 251 logit("invalid public DH value: <= 1"); in dh_pub_is_valid() 262 logit("invalid public DH value: >= p-1"); in dh_pub_is_valid() 276 logit("invalid public DH value (%d/%d)", in dh_pub_is_valid()
|
| H A D | sshlogin.c | 225 logit("Could not write %.100s: %.100s", _PATH_LASTLOG, strerror(errno)); in record_login() 252 logit("could not add utmpx line: %.100s", in record_login() 260 logit("Could not update %.100s: %.100s", in record_login() 264 logit("could not find utmpx line for %.100s", tty); in record_login() 270 logit("could not replace utmpx line: %.100s", in record_login()
|
| H A D | sftp-server.c | 476 logit("%s%sclose \"%s\" bytes read %llu written %llu", in handle_log_close() 482 logit("%s%sclosedir \"%s\"", in handle_log_close() 553 logit("sent status %s", status_to_message(status)); in send_status_errmsg() 753 logit("open \"%s\" flags %s mode 0%o", in process_open() 995 logit("set \"%s\" size %llu", in process_setstat() 1002 logit("set \"%s\" mode %04o", name, a.perm); in process_setstat() 1013 logit("set \"%s\" modtime %s", name, buf); in process_setstat() 1019 logit("set \"%s\" owner %lu group %lu", name, in process_setstat() 1048 logit("set \"%s\" size %llu", in process_fsetstat() 1055 logit("set \"%s\" mode %04o", name, a.perm); in process_fsetstat() [all …]
|
| H A D | auth-rhosts.c | 75 logit("User %s hosts file %s is not a regular file", in check_rhosts_file() 261 logit("Rhosts authentication refused for %.100s: " in auth_rhosts2() 270 logit("Rhosts authentication refused for %.100s: " in auth_rhosts2() 300 logit("Rhosts authentication refused for %.100s: " in auth_rhosts2()
|
| /netbsd-src/lib/libpam/modules/pam_login_access/ |
| H A D | login_access.c | 61 logit(int level, const char *fmt, ...) in logit() function 97 logit(LOG_ERR, "%s: line %d: missing newline or line too long", in login_access() 112 logit(LOG_ERR, "%s: line %d: bad field count", _PATH_LOGACCESS, in login_access() 117 logit(LOG_ERR, "%s: line %d: bad first field", _PATH_LOGACCESS, in login_access() 126 logit(LOG_ERR, "cannot open %s: %s", _PATH_LOGACCESS, strerror(errno)); in login_access() 170 logit(LOG_ERR, "NIS netgroup support not configured"); in netgroup_match()
|
| /netbsd-src/usr.sbin/rpcbind/ |
| H A D | security.c | 105 logit(log_severity, addr, proc, prog, in check_access() 129 logit(deny_severity, addr, proc, prog, in check_access() 136 logit(log_severity, addr, proc, prog, ""); in check_access() 176 logit(int severity, struct sockaddr *addr, rpcproc_t procnum, rpcprog_t prognum, in logit() function 296 logit(deny_severity, sa, args->rmt_proc, args->rmt_prog, in check_callit() 299 logit(0, sa, args->rmt_proc, args->rmt_prog, in check_callit()
|
| /netbsd-src/usr.sbin/map-mbone/ |
| H A D | mapper.c | 105 void logit(int severity, int syserr, const char *format, ...) 169 logit(int severity, int syserr, const char *format, ...) in logit() function 222 logit(LOG_INFO, 0, "ignoring IGMP group membership report from %s to %s", in accept_group_report() 233 logit(LOG_INFO, 0, "ignoring DVMRP probe from %s to %s", in accept_probe() 244 logit(LOG_INFO, 0, "ignoring DVMRP routing report from %s to %s", in accept_report() 255 logit(LOG_INFO, 0, in accept_neighbor_request() 263 logit(LOG_INFO, 0, in accept_neighbor_request2() 316 logit(LOG_WARNING, 0, "received truncated interface record from %s", in accept_neighbors() 361 logit(LOG_WARNING, 0, in accept_neighbors() 393 logit(LOG_WARNING, 0, "received truncated neighbor list from %s", in accept_neighbors() [all …]
|
| /netbsd-src/usr.sbin/mrinfo/ |
| H A D | mrinfo.c | 142 logit(int severity, int syserr, const char *format, ...) in logit() function 334 logit(LOG_ERR, errno, "setuid"); in main() 373 logit(LOG_ERR, errno, "malloc"); in main() 376 logit(LOG_ERR, errno, "malloc"); in main() 459 logit(LOG_DEBUG, 0, "Timed out receiving neighbor lists"); in main() 484 logit(LOG_WARNING, 0, in main() 497 logit(LOG_WARNING, 0, in main() 506 logit(LOG_WARNING, 0, in main()
|
| /netbsd-src/usr.bin/su/ |
| H A D | su_pam.c | 84 static void logit(const char *, ...) __printflike(1, 2); 389 logit("fork failed (%s)", strerror(errno)); in main() 429 logit("Error waiting for pid %d (%s)", pid, in main() 433 logit("Wrong PID: %d != %d", pid, xpid); in main() 438 logit("pam_setcred: %s", in main() 442 logit("pam_close_session: %s", in main() 564 logit("%s: %s", func, safe_pam_strerror(pamh, pam_err)); in main() 570 logit(const char *fmt, ...) in logit() function
|
| /netbsd-src/lib/libpam/modules/pam_lastlog/ |
| H A D | pam_lastlog.c | 100 logit(int level, const char *fmt, ...) in logit() function 232 logit(LOG_NOTICE, "%s(): no utmpx record for %s", in pam_sm_close_session() 240 logit(LOG_NOTICE, "%s(): no utmp record for %s", in pam_sm_close_session() 296 logit(LOG_NOTICE, "Cannot update utmpx: %s", strerror(errno)); in doutmpx() 299 logit(LOG_NOTICE, "Cannot update wtmpx: %s", strerror(errno)); in doutmpx() 328 logit(LOG_NOTICE, "Cannot update lastlogx: %s", strerror(errno)); in dolastlogx() 357 logit(LOG_NOTICE, "Cannot open `%s': %s", _PATH_LASTLOG, in dolastlog()
|