| /freebsd/contrib/libfido2/examples/ |
| H A D | assert.c | 61 errx(1, "read_ec_pubkey"); in verify_assert() 64 errx(1, "es256_pk_new"); in verify_assert() 67 errx(1, "es256_pk_from_EC_KEY"); in verify_assert() 76 errx(1, "read_ec_pubkey"); in verify_assert() 79 errx(1, "es384_pk_new"); in verify_assert() 82 errx(1, "es384_pk_from_EC_KEY"); in verify_assert() 91 errx(1, "read_rsa_pubkey"); in verify_assert() 94 errx(1, "rs256_pk_new"); in verify_assert() 97 errx(1, "rs256_pk_from_RSA"); in verify_assert() 106 errx(1, "read_eddsa_pubkey"); in verify_assert() [all …]
|
| H A D | cred.c | 54 errx(1, "fido_cred_new"); in verify_cred() 59 errx(1, "fido_cred_set_type: %s (0x%x)", fido_strerr(r), r); in verify_cred() 64 errx(1, "fido_cred_set_clientdata: %s (0x%x)", fido_strerr(r), r); in verify_cred() 69 errx(1, "fido_cred_set_rp: %s (0x%x)", fido_strerr(r), r); in verify_cred() 74 errx(1, "fido_cred_set_authdata: %s (0x%x)", fido_strerr(r), r); in verify_cred() 79 errx(1, "fido_cred_set_extensions: %s (0x%x)", fido_strerr(r), r); in verify_cred() 83 errx(1, "fido_cred_set_rk: %s (0x%x)", fido_strerr(r), r); in verify_cred() 87 errx(1, "fido_cred_set_uv: %s (0x%x)", fido_strerr(r), r); in verify_cred() 92 errx(1, "fido_cred_set_prot: %s (0x%x)", fido_strerr(r), r); in verify_cred() 97 errx( in verify_cred() [all...] |
| /freebsd/tools/regression/sockets/accf_data_attach/ |
| H A D | accf_data_attach.c | 86 errx(-1, "not ok 1 - socket: %s", strerror(errno)); in main() 97 errx(-1, "not ok 2 - getsockopt() after socket() succeeded"); in main() 99 errx(-1, "not ok 2 - getsockopt() after socket() failed with " in main() 113 errx(-1, "not ok 3 - bind %s", strerror(errno)); in main() 123 errx(-1, "not ok 4 - getsockopt() after bind() succeeded"); in main() 125 errx(-1, "not ok 4 - getsockopt() after bind() failed with %d (%s)", in main() 137 errx(-1, "not ok 5 - setsockopt() before listen() succeeded"); in main() 147 errx(-1, "not ok 6 - getsockopt() after pre-listen() setsockopt() " in main() 150 errx(-1, "not ok 6 - pre-listen() getsockopt() failed with %d (%s)", in main() 158 errx(-1, "not ok 7 - listen: %s", strerror(errno)); in main() [all …]
|
| /freebsd/tools/build/ |
| H A D | beinstall.sh | 64 errx() { function 137 [ -n "${BENAME}" ] || errx "Must specify BENAME" 138 [ -n "${BE_MNTPT}" ] || errx "Must specify BE_MNTPT" 153 ${BE_UTILITY} check || errx "${BE_UTILITY} sanity check failed" 159 [ "$(whoami)" != "root" ] && errx "Must be run as root" 161 [ ! -f "Makefile.inc1" ] && errx "Must be in FreeBSD source tree" 164 [ ! -d "${objdir}" ] && errx "Must have built FreeBSD from source tree" 172 [ $? -ne 0 ] && errx "Can't lookup git commit timestamp" 180 errx "Unable to find subversion" 183 [ $? -ne 0 ] && errx "Can't lookup Subversion commit timestamp" [all …]
|
| /freebsd/contrib/libfido2/tools/ |
| H A D | assert_verify.c | 43 errx(1, "input error"); in prepare_assert() 56 errx(1, "fido_assert_new"); in prepare_assert() 58 errx(1, "fido_assert_count: %s", fido_strerr(r)); in prepare_assert() 66 errx(1, "fido_assert_set: %s", fido_strerr(r)); in prepare_assert() 70 errx(1, "fido_assert_set_up: %s", fido_strerr(r)); in prepare_assert() 74 errx(1, "fido_assert_set_uv: %s", fido_strerr(r)); in prepare_assert() 79 errx(1, "fido_assert_set_extensions: %s", in prepare_assert() 106 errx(1, "read_ec_pubkey"); in load_pubkey() 108 errx(1, "es256_pk_new"); in load_pubkey() 110 errx(1, "es256_pk_from_EC_KEY"); in load_pubkey() [all …]
|
| /freebsd/usr.bin/login/ |
| H A D | login_audit.c | 75 errx(1, "could not determine audit condition"); in au_login_success() 82 errx(1, "could not calculate audit mask"); in au_login_success() 93 errx(1, "audit error: au_open() failed"); in au_login_success() 97 errx(1, "audit error: au_to_subject32() failed"); in au_login_success() 101 errx(1, "audit error: au_to_return32() failed"); in au_login_success() 105 errx(1, "audit record was not committed."); in au_login_success() 126 errx(1, "could not determine audit condition"); in au_login_fail() 132 errx(1, "audit error: au_open() failed"); in au_login_fail() 141 errx(1, "audit error: au_to_subject32() failed"); in au_login_fail() 148 errx(1, "audit error: au_to_subject32() failed"); in au_login_fail() [all …]
|
| /freebsd/tools/regression/sockets/accept_fd_leak/ |
| H A D | accept_fd_leak.c | 78 errx(-1, "Non-sequential fd allocation\n"); in main() 82 errx(-1, "socket: %s", strerror(errno)); in main() 106 errx(-1, "listen: %s", strerror(errno)); in main() 110 errx(-1, "ioctl(F_GETFL): %s", strerror(errno)); in main() 113 errx(-1, "ioctl(F_SETFL): %s", strerror(errno)); in main() 116 errx(-1, "ioctl(F_GETFL): %s", strerror(errno)); in main() 118 errx(-1, "Failed to set O_NONBLOCK (i=0x%x)\n", i); in main() 123 errx(-1, "accept succeeded\n"); in main() 125 errx(-1, "accept: %s", strerror(errno)); in main() 146 errx(-1, "fork: %s", strerror(errno)); in main() [all …]
|
| /freebsd/tools/regression/mlock/ |
| H A D | mlock.c | 53 errx(-1, "mlock must run as root"); in main() 58 errx(-1, "getpwnam: user \"%s\" not found", NOBODY); in main() 60 errx(-1, "getpwnam: %s", strerror(errno)); in main() 62 errx(-1, "getpwnam: user \"%s\" has uid 0", NOBODY); in main() 67 errx(-1, "mmap: %s", strerror(errno)); in main() 70 errx(-1, "mlock privileged: %s", strerror(errno)); in main() 73 errx(-1, "munlock privileged: %s", strerror(errno)); in main() 76 errx(-1, "seteuid: %s", strerror(errno)); in main() 79 errx(-1, "mlock unprivileged: succeeded but shouldn't have"); in main() 81 errx(-1, "mlock unprivileged: %s", strerror(errno)); in main() [all …]
|
| /freebsd/tests/sys/net/bpf/ |
| H A D | pcap-test.c | 46 errx(1, "bad count %s", s); in strtolerr() 66 errx(1, "bad directions %s", s); in strtodir() 77 errx(1, "pcap_create: %s", errbuf); in pcap_open() 79 errx(1, "pcap_set_timeout: %s", pcap_geterr(p)); in pcap_open() 81 errx(1, "pcap_activate: %s", errbuf); in pcap_open() 83 errx(1, "pcap_setdirection: %s", pcap_geterr(p)); in pcap_open() 100 errx(1, "pcap_compile: %s", pcap_geterr(p)); 102 errx(1, "pcap_setfilter: %s", pcap_geterr(p)); 114 errx(1, "pcap_findalldevs: %s", errbuf); in list() 135 errx(1, "pcap_dump_open: %s", pcap_geterr(p)); in capture() [all …]
|
| /freebsd/sbin/newfs/ |
| H A D | newfs.c | 147 errx(1, "bad volume label. Valid characters " in main() 151 errx(1, "bad volume label. Length is longer than %d.", in main() 161 errx(1, "%s: bad file system format value", in main() 170 errx(1, "%s: bad sector size", optarg); in main() 191 errx(1, "%s: bad maximum contiguous blocks", in main() 197 errx(1, "%s: bad block size", in main() 200 errx(1, "%s: block size too small, min is %d", in main() 203 errx(1, "%s: block size too large, max is %d", in main() 209 errx(1, "%s: bad blocks per cylinder group", in main() 215 errx(1, "%s: bad extent block size", optarg); in main() [all …]
|
| /freebsd/tools/regression/audit/audit_pipe_ioctl/ |
| H A D | audit_pipe_ioctl.c | 62 errx(-1, "AUDITPIPE_GET_QLEN: unchanged"); in main() 68 errx(-1, "AUDITPIPE_GET_QLIMIT_MIN: unchanged"); in main() 74 errx(-1, "AUDITPIPE_GET_QLIMIT_MAX: unchanged"); in main() 80 errx(-1, "AUDITPIPE_GET_QLIMIT: unchanged"); in main() 83 errx(-1, "queue length < minlen"); in main() 86 errx(-1, "queue length > maxlen"); in main() 100 errx(-1, "set to minlen didn't work"); in main() 110 errx(-1, "set to maxlen didn't work"); in main() 120 errx(-1, "AUDITPIPE_GET_INSERTS: unchanged"); in main() 126 errx(-1, "AUDITPIPE_GET_READS: unchanged"); in main() [all …]
|
| /freebsd/tools/regression/netinet/ipsockopt/ |
| H A D | ipsockopt.c | 78 errx(-1, "get_sock_priv: running without real uid 0"); in get_socket_priv() 127 errx(-1, "test_ip_options(%s): initial getsockopt() returned " in test_ip_options() 160 errx(-1, "test_ip_options(%s): getsockopt() after set " in test_ip_options() 168 errx(-1, "test_ip_options(%s): getsockopt() after set didn't " in test_ip_options() 175 errx(-1, "test_ip_options(%s): getsockopt() after set " in test_ip_options() 197 errx(-1, "test_ip_options(%s): getsockopt() after reset " in test_ip_options() 231 errx(-1, "test_ip_hdrincl(): initial getsockopt(IP_HDRINC) " in test_ip_hdrincl() 242 errx(-1, "test_ip_hdrincl(): setsockopt(IP_HDRINCL) on TCP " in test_ip_hdrincl() 262 errx(-1, "test_ip_hdrincl(): getsockopt(IP_HDRINCL) on UDP " in test_ip_hdrincl() 272 errx(-1, "test_ip_hdrincl(): setsockopt(IP_HDRINCL) on UDP " in test_ip_hdrincl() [all …]
|
| /freebsd/crypto/heimdal/lib/ntlm/ |
| H A D | test_ntlm.c | 67 errx(1, "heim_ntlm_encode_type1"); in test_parse() 74 errx(1, "heim_ntlm_encode_type1"); in test_parse() 94 errx(1, "heim_ntlm_encode_type2"); in test_parse() 101 errx(1, "heim_ntlm_decode_type2"); in test_parse() 128 errx(1, "heim_ntlm_encode_type3"); in test_parse() 137 errx(1, "heim_ntlm_decode_type3"); in test_parse() 140 errx(1, "type3 ws wrong"); in test_parse() 143 errx(1, "type3 targetname wrong"); in test_parse() 146 errx(1, "type3 username wrong"); in test_parse() 167 errx(1, "heim_ntlm_encode_type2"); in test_parse() [all …]
|
| /freebsd/usr.sbin/pnfsdscopymr/ |
| H A D | pnfsdscopymr.c | 84 errx(1, "Must be run as root/su"); in main() 93 errx(1, "-r and -m are mutually exclusive"); in main() 100 errx(1, "-r and -m are mutually exclusive"); in main() 122 errx(1, "Can't get vfs.nfs.pnfsmirror"); in main() 126 errx(1, "Can't migrate to same server"); in main() 137 errx(1, "Can't get extattr pnfsd.dsfile for %s", *argv); in main() 162 errx(1, "Can't stat %s", pnfsdarg.dspath); in main() 164 errx(1, "%s is not a directory", pnfsdarg.dspath); in main() 166 errx(1, "Can't fsstat %s", pnfsdarg.dspath); in main() 168 errx( in main() [all...] |
| /freebsd/contrib/netbsd-tests/lib/libutil/ |
| H A D | t_pidfile.c | 79 errx(EXIT_FAILURE, "Cannot open expected pidfile '%s'", path); in check_pidfile() 82 errx(EXIT_FAILURE, "Failed to read pid from pidfile '%s'", in check_pidfile() 87 errx(EXIT_FAILURE, "Pid in pidfile (%d) does not match " in check_pidfile() 99 errx(EXIT_FAILURE, "The pidfile %s was not deleted", in ensure_deleted() 137 errx(EXIT_FAILURE, "Cannot allocate memory for path"); in generate_varrun_pidfile() 150 errx(EXIT_FAILURE, "Failed to create pidfile with default " in helper_default_path() 177 errx(EXIT_FAILURE, "Failed to create pidfile with custom " in helper_custom_basename() 204 errx(EXIT_FAILURE, "Failed to create pidfile '%s'", path); in helper_custom_path() 229 errx(EXIT_FAILURE, "Failed to create pidfile with default " in helper_change_basenames() 233 errx(EXIT_FAILURE, "Failed to recreate pidfile with default " in helper_change_basenames() [all …]
|
| /freebsd/crypto/heimdal/lib/gssapi/ |
| H A D | test_kcred.c | 71 errx(1, "gss_acquire_cred"); in copy_import() 76 errx(1, "gss_inquire_cred"); in copy_import() 80 errx(1, "krb5_init_context"); in copy_import() 88 errx(1, "gss_krb5_copy_ccache"); in copy_import() 92 errx(1, "gss_krb5_import_cred"); in copy_import() 97 errx(1, "gss_inquire_cred 2"); in copy_import() 101 errx(1, "gss_compare_name"); in copy_import() 103 errx(1, "names not equal"); in copy_import() 106 errx(1, "lifetime not equal %lu != %lu", in copy_import() 112 errx(1, "usages disjoined"); in copy_import() [all …]
|
| H A D | test_context.c | 97 errx(1, "name '%s' not unknown", name); in string_to_oid() 173 errx(1, "init_sec_context: %s", in loop() 202 errx(1, "accept_sec_context: %s", in loop() 224 errx(1, "got delegated cred but didn't expect one"); in loop() 226 errx(1, "asked for delegarated cred but did get one"); in loop() 228 errx(1, "got deleg_cred cred but didn't ask"); in loop() 231 errx(1, "mech mismatch"); in loop() 235 errx(1, "num loops %d was lager then max loops %d", in loop() 259 errx(1, "gss_wrap failed: %s", in wrapunwrap() 265 errx(1, "gss_unwrap failed: %s", in wrapunwrap() [all …]
|
| /freebsd/tools/regression/sockets/shutdown/ |
| H A D | shutdown.c | 50 errx(-1, "shutdown() for invalid file descriptor does not " in main() 55 errx(-1, in main() 66 errx(-1, "bind(%s, %d) for listen socket: %s", in main() 71 errx(-1, "getsockname() for listen socket: %s", in main() 76 errx(-1, "listen() for listen socket: %s", strerror(errno)); in main() 80 errx(-1, "socket(PF_INET, SOCK_STREAM, 0) for connect " in main() 90 errx(-1, "connect() for connect socket: %s", strerror(errno)); in main() 93 errx(-1, "shutdown(SHUT_RD - 1) does not return EINVAL"); in main() 95 errx(-1, "shutdown(SHUT_RDWR + 1) does not return EINVAL"); in main() 98 errx(-1, "shutdown(SHUT_RD) for connect socket: %s", in main() [all …]
|
| /freebsd/contrib/netbsd-tests/rump/rumpkern/h_client/ |
| H A D | h_forkcli.c | 25 errx(1, "unexpected pid %d", pid1); in simple() 29 errx(1, "write newlyopened /dev/null"); in simple() 43 errx(1, "unexpected pid %d", pid2); in simple() 45 errx(1, "child and parent pids are equal"); in simple() 49 errx(1, "write child /dev/null"); in simple() 58 errx(1, "write parent /dev/null"); in simple() 62 errx(1, "child exited with status %d", status); in simple() 64 errx(1, "write parent /dev/null"); in simple() 87 errx(1, "pipe"); in pipecomm() 104 errx(1, "teststring doesn't match, got %s", buf); in pipecomm() [all …]
|
| /freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
| H A D | h_getopt_long.c | 71 errx(1, "missing optstring at line %ld", in main() 87 errx(1, "missing longopts at line %ld", in main() 104 errx(1, "longopt: without longopts at line %ld", in main() 107 errx(1, "longopt: too many options at line %ld", in main() 114 errx(1, "missing longopt at line %ld", in main() 131 errx(1, "unknown has_arg %s at line %ld", in main() 144 errx(1, "missing val at line %ld", in main() 150 errx(1, "invalid val at line %ld", in main() 162 errx(1, "Missing args"); in main() 175 errx(1, "missing result at line %ld", in main() [all …]
|
| /freebsd/bin/dd/ |
| H A D | args.c | 113 errx(1, "unable to allocate space for the argument \"%s\"", *argv); in jcl() 115 errx(1, "unknown operand %s", oper); in jcl() 118 errx(1, "no value specified for %s", oper); in jcl() 123 errx(1, "unknown operand %s", tmp.name); in jcl() 125 errx(1, "%s: illegal argument combination or already set", in jcl() 154 errx(1, "record operations require cbs"); in jcl() 156 errx(1, "cbs cannot be zero"); in jcl() 168 errx(1, "cbs meaningless if not doing record operations"); in jcl() 188 errx(1, "bs must be between 1 and %zd", (ssize_t)SSIZE_MAX); in f_bs() 199 errx(1, "cbs must be between 1 and %zd", (ssize_t)SSIZE_MAX); in f_cbs() [all …]
|
| /freebsd/usr.sbin/uefisign/ |
| H A D | uefisign.c | 175 errx(1, "BIO_new_mem_buf(3) failed"); in magic() 181 errx(1, "NCONF_new(3) failed"); in magic() 187 errx(1, "NCONF_load_bio(3) failed"); in magic() 193 errx(1, "NCONF_get_string(3) failed"); in magic() 199 errx(1, "ASN1_generate_nconf(3) failed"); in magic() 221 errx(1, "PKCS7_dataInit(3) failed"); in magic() 229 errx(1, "PKCS7_dataFinal(3) failed"); in magic() 259 errx(1, "BIO_new_mem_buf(3) failed"); in sign() 265 errx(1, "PKCS7_sign(3) failed"); in sign() 271 errx(1, "EVP_get_digestbyname(\"%s\") failed", DIGEST); in sign() [all …]
|
| /freebsd/usr.sbin/smbmsg/ |
| H A D | smbmsg.c | 237 errx(EX_USAGE, "Invalid number: %s", optarg); in main() 239 errx(EX_USAGE, in main() 250 errx(EX_USAGE, "Invalid number: %s", optarg); in main() 252 errx(EX_USAGE, in main() 259 errx(EX_USAGE, "Invalid number: %s", optarg); in main() 261 errx(EX_USAGE, in main() 272 errx(EX_USAGE, "Invalid number: %s", optarg); in main() 275 errx(EX_USAGE, in main() 295 errx(EX_USAGE, "Illegal # IO bytes for word IO"); in main() 297 errx(EX_USAGE, "Nothing to do"); in main() [all …]
|
| /freebsd/crypto/heimdal/lib/asn1/ |
| H A D | asn1_print.c | 68 errx (1, "der_get_tag: %s", error_message (ret)); in loop() 70 errx (1, "unreasonable length (%u) > %u", in loop() 87 errx (1, "der_get_tag: %s", error_message (ret)); in loop() 89 errx (1, "unreasonable tag length (%u) > %u", in loop() 101 errx(1, "indef form used on unsupported object"); in loop() 105 errx(1, "indefinite form used recursively more then %lu " in loop() 112 errx (1, "unreasonable inner length (%u) > %u", in loop() 147 errx (1, "der_get_integer: %s", error_message (ret)); in loop() 155 errx (1, "der_get_heim_integer: %s", in loop() 159 errx (1, "der_print_hex_heim_integer: %s", in loop() [all …]
|
| /freebsd/contrib/netcat/ |
| H A D | socks.c | 76 errx(1, "getaddrinfo(\"%.64s\", \"%.64s\"): %s", h, p, in decode_addrport() 83 errx(1, "internal error: addrlen < res->ai_addrlen"); in decode_addrport() 97 errx(1, "proxy read too long"); in proxy_read_line() 121 errx(1, "Unable to read proxy passphrase"); in getproxypass() 147 errx(1, "unknown port \"%.64s\"", port); in socks_connect() 152 errx(1, "Too many authentication failures"); in socks_connect() 177 errx(1, "authentication method negotiation failed"); in socks_connect() 186 errx(1, "host name too long for SOCKS5"); in socks_connect() 218 errx(1, "internal error: silly AF"); in socks_connect() 229 errx(1, "connection failed, SOCKS error %d", buf[1]); in socks_connect() [all …]
|