Home
last modified time | relevance | path

Searched refs:errx (Results 1 – 25 of 917) sorted by relevance

12345678910>>...37

/netbsd/src/crypto/external/bsd/heimdal/dist/lib/ntlm/
Dtest_ntlm.c72 errx(1, "heim_ntlm_encode_type1"); in test_parse()
82 errx(1, "heim_ntlm_encode_type1"); in test_parse()
85 errx(1, "parser got domain wrong: %s", type1.domain); in test_parse()
88 errx(1, "parser got hostname wrong: %s", type1.hostname); in test_parse()
108 errx(1, "heim_ntlm_encode_type2"); in test_parse()
118 errx(1, "heim_ntlm_decode_type2"); in test_parse()
145 errx(1, "heim_ntlm_encode_type3"); in test_parse()
157 errx(1, "heim_ntlm_decode_type3"); in test_parse()
160 errx(1, "type3 ws wrong"); in test_parse()
163 errx(1, "type3 targetname wrong"); in test_parse()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/gssapi/
Dtest_context.c101 errx(1, "name '%s' not unknown", name); in string_to_oid()
120 errx(1, "internal error: oidarray must be enlarged"); in string_to_oids()
128 errx(1, "too many mech names given"); in string_to_oids()
209 errx(1, "init_sec_context: %s", in loop()
238 errx(1, "accept_sec_context: %s", in loop()
260 errx(1, "got delegated cred but didn't expect one"); in loop()
262 errx(1, "asked for delegarated cred but did get one"); in loop()
264 errx(1, "got deleg_cred cred but didn't ask"); in loop()
267 errx(1, "mech mismatch"); in loop()
271 errx(1, "num loops %d was lager then max loops %d", in loop()
[all …]
Dtest_kcred.c73 errx(1, "gss_acquire_cred"); in copy_import()
78 errx(1, "gss_inquire_cred"); in copy_import()
82 errx(1, "krb5_init_context"); in copy_import()
90 errx(1, "gss_krb5_copy_ccache"); in copy_import()
94 errx(1, "gss_krb5_import_cred"); in copy_import()
99 errx(1, "gss_inquire_cred 2"); in copy_import()
103 errx(1, "gss_compare_name"); in copy_import()
105 errx(1, "names not equal"); in copy_import()
108 errx(1, "lifetime not equal %lu != %lu", in copy_import()
114 errx(1, "usages disjoined"); in copy_import()
[all …]
/netbsd/src/tests/lib/libutil/
Dt_pidfile.c79 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 …]
/netbsd/src/external/bsd/pkg_install/dist/lib/
Dvulnerabilities-file.c86 errx(EXIT_FAILURE, "memory allocation failed"); in prepare_raw_file()
105 errx(EXIT_FAILURE, "Invalid PGP signature"); in verify_signature_pkcs7()
107 errx(EXIT_FAILURE, "No PKCS7 signature"); in verify_signature_pkcs7()
111 errx(EXIT_FAILURE, "No PKCS7 signature"); in verify_signature_pkcs7()
115 errx(EXIT_FAILURE, "Invalid PKCS7 signature"); in verify_signature_pkcs7()
120 errx(EXIT_FAILURE, "Unable to verify PKCS7 signature"); in verify_signature_pkcs7()
122 errx(EXIT_FAILURE, "OpenSSL support is not compiled in"); in verify_signature_pkcs7()
249 errx(EXIT_FAILURE, "Invalid #CHECKSUM"); in verify_hash()
254 errx(EXIT_FAILURE, "Invalid #CHECKSUM"); in verify_hash()
265 errx(EXIT_FAILURE, "Missing newline in pkg-vulnerabilities"); in verify_hash()
[all …]
/netbsd/src/tests/lib/libc/stdlib/
Dh_getopt_long.c64 errx(1, "missing optstring at line %ld", in main()
80 errx(1, "missing longopts at line %ld", in main()
97 errx(1, "longopt: without longopts at line %ld", in main()
100 errx(1, "longopt: too many options at line %ld", in main()
107 errx(1, "missing longopt at line %ld", in main()
124 errx(1, "unknown has_arg %s at line %ld", in main()
137 errx(1, "missing val at line %ld", in main()
143 errx(1, "invalid val at line %ld", in main()
155 errx(1, "Missing args"); in main()
168 errx(1, "missing result at line %ld", in main()
[all …]
/netbsd/src/tests/rump/rumpkern/h_client/
Dh_forkcli.c25 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 …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/asn1/
Dasn1_print.c70 errx (1, "der_get_tag: %s", error_message (ret)); in loop()
72 errx (1, "unreasonable length (%u) > %u", in loop()
89 errx (1, "der_get_tag: %s", error_message (ret)); in loop()
91 errx (1, "unreasonable tag length (%u) > %u", in loop()
103 errx(1, "indef form used on unsupported object"); in loop()
107 errx(1, "indefinite form used recursively more then %lu " in loop()
114 errx (1, "unreasonable inner length (%u) > %u", in loop()
149 errx (1, "der_get_integer: %s", error_message (ret)); in loop()
157 errx (1, "der_get_heim_integer: %s", in loop()
161 errx (1, "der_print_hex_heim_integer: %s", in loop()
[all …]
Dcheck-der.c84 errx(1, "malloc"); in test_integer()
86 errx(1, "malloc"); in test_integer()
208 errx(1, "malloc"); in test_unsigned()
210 errx(1, "malloc"); in test_unsigned()
244 errx(1, "malloc"); in test_octet_string()
246 errx(1, "malloc"); in test_octet_string()
286 errx(1, "malloc"); in test_bmp_string()
288 errx(1, "malloc"); in test_bmp_string()
291 errx(1, "malloc"); in test_bmp_string()
293 errx(1, "malloc"); in test_bmp_string()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
Dtest_engine_dso.c92 errx(1, "DH_compute_key failed for server"); in dh_test()
95 errx(1, "DH_compute_key failed for client"); in dh_test()
98 errx(1, "DH_compute_key size mismatch"); in dh_test()
101 errx(1, "DH_compute_key key mismatch"); in dh_test()
173 errx(1, "ENGINE_by_dso failed"); in main()
189 errx(77, "no functional random device, can't execute tests"); in main()
226 errx(1, "failed to private encrypt"); in main()
230 errx(1, "failed to public decrypt"); in main()
233 errx(1, "output buffer not same length: %d", (int)keylen); in main()
236 errx(1, "string not the same after decryption"); in main()
[all …]
Dtest_rsa.c88 errx(1, "res: ENOMEM"); in check_rsa()
92 errx(1, "res2: ENOMEM"); in check_rsa()
98 errx(1, "failed to private encrypt: %d %d", (int)len, (int)keylen); in check_rsa()
101 errx(1, "keylen > RSA_size(rsa)"); in check_rsa()
105 errx(1, "failed to public decrypt: %d", (int)keylen); in check_rsa()
108 errx(1, "output buffer not same length: %d", (int)keylen); in check_rsa()
111 errx(1, "string not the same after decryption"); in check_rsa()
117 errx(1, "failed to public encrypt: %d", (int)keylen); in check_rsa()
120 errx(1, "keylen > RSA_size(rsa)"); in check_rsa()
124 errx(1, "failed to private decrypt: %d", (int)keylen); in check_rsa()
[all …]
/netbsd/src/usr.sbin/puffs/mount_9p/
Dfs.c49 if (rv) errx(1, "p9p_handshake io failed %d, %d", rv, *a4)
92 errx(1, "server invalid response to Tversion: %d", type); in p9p_handshake()
94 errx(1, "server invalid tag: %d vs. %d", in p9p_handshake()
99 errx(1, "server invalid response: no request length"); in p9p_handshake()
101 errx(1, "server request length below minimum accepted: " in p9p_handshake()
106 errx(1, "server invalid response: no version"); in p9p_handshake()
108 errx(1, "server doesn't support %s", p9p_ver2str(p9p->protover)); in p9p_handshake()
129 errx(1, "Rattach not received, got %d", type); in p9p_handshake()
131 errx(1, "server invalid tag: %d vs. %d", tagid, rtagid); in p9p_handshake()
179 errx(1, "Rwalk not received for rnode, got %d", type); in p9p_handshake()
[all …]
/netbsd/src/external/bsd/kyua-testers/dist/
Dcli.c78 errx(usage_error ? EXIT_USAGE_ERROR : EXIT_INTERNAL_ERROR, in check_error()
102 errx(EXIT_USAGE_ERROR, "%s '%s' (not a number)", message, str); in parse_ulong()
104 errx(EXIT_USAGE_ERROR, "%s '%s' (out of range)", message, str); in parse_ulong()
137 errx(EXIT_USAGE_ERROR, "No test program provided"); in list_command()
139 errx(EXIT_USAGE_ERROR, "Only one test program allowed"); in list_command()
174 errx(EXIT_USAGE_ERROR, "%s's -%c requires an argument", argv[0], in test_command()
178 errx(EXIT_USAGE_ERROR, "Unknown %s option -%c", argv[0], optopt); in test_command()
189 errx(EXIT_USAGE_ERROR, "Must provide a test program, a test case name " in test_command()
236 errx(EXIT_USAGE_ERROR, "-%c requires an argument", optopt); in kyua_cli_main()
239 errx(EXIT_USAGE_ERROR, "Unknown option -%c", optopt); in kyua_cli_main()
[all …]
/netbsd/src/usr.bin/nbsvtool/
Dnbsvtool.c89 errx(EXIT_FAILURE, "Failed to create signature structure"); in sign_file()
135 errx(EXIT_FAILURE, "Failed to parse the signature file %s", in verify_file()
140 errx(EXIT_FAILURE, "Failed to verify signature"); in verify_file()
144 errx(EXIT_FAILURE, "Failed to get signers"); in verify_file()
147 errx(EXIT_FAILURE, "No signers ?"); in verify_file()
157 errx(EXIT_FAILURE, in verify_file()
210 errx(EXIT_FAILURE, "Can't read certificate file %s", in STACK_OF()
217 errx(EXIT_FAILURE, "No certificate found file %s", file); in STACK_OF()
252 errx(EXIT_FAILURE, "No certificate file given"); in load_keys()
254 errx(EXIT_FAILURE, "No private key file given"); in load_keys()
[all …]
/netbsd/src/tests/lib/librumphijack/
Dh_client.c47 errx(1, "need testname as param"); in main()
68 errx(EXIT_FAILURE, "select successful"); in main()
71 errx(EXIT_FAILURE, "stdin fileno is still set"); in main()
89 errx(EXIT_FAILURE, "select successful"); in main()
95 errx(EXIT_FAILURE, "select2 successful"); in main()
113 errx(EXIT_FAILURE, "poll unexpected rv %d (%d)", in main()
116 errx(EXIT_FAILURE, "poll unexpected revents"); in main()
131 errx(EXIT_FAILURE, "unexpected fd8 %d %d", fd, errno); in main()
133 errx(EXIT_FAILURE, "fd leak?"); in main()
135 errx(EXIT_FAILURE, "rump open %d %d", fd, errno); in main()
/netbsd/src/usr.bin/tip/
Dcu.c94 errx(3, "only one escape character allowed"); in cumain()
106 errx(3, "bad flow setting"); in cumain()
118 errx(3, "bad parity setting"); in cumain()
132 errx(3,"more than one line specified"); in cumain()
152 errx(3, "more than one parity specified"); in cumain()
161 errx(3, "more than one parity specified"); in cumain()
185 errx(3, "more than one phone number specified"); in cumain()
217 errx(3,"all ports busy"); in cumain()
220 errx(3, "link down"); in cumain()
266 errx(3, "unsupported speed %ld", BR); in cumain()
[all …]
/netbsd/src/usr.bin/jot/
Djot.c164 errx(EXIT_FAILURE, "Bad precision value"); in getargs()
189 errx(EXIT_FAILURE, "Bad step value: %s", in getargs()
218 errx(EXIT_FAILURE, "Bad reps value: %s", in getargs()
226 errx(EXIT_FAILURE, in getargs()
260 errx(EXIT_FAILURE, "Impossible stepsize"); in getargs()
268 errx(EXIT_FAILURE, in getargs()
276 errx(EXIT_FAILURE, in getargs()
290 errx(EXIT_FAILURE, in getargs()
354 errx(EXIT_FAILURE, "-w word too long"); in getformat()
358 errx(EXIT_FAILURE, "-w word too long"); in getformat()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hx509/
Dtest_soft_pkcs11.c96 errx(1, "C_GetFunctionList failed: %d", (int)ret); in main()
102 errx(1, "C_GetSlotList1 failed: %d", (int)ret); in main()
105 errx(1, "no slots"); in main()
112 errx(1, "C_GetSlotList2 failed: %d", (int)ret); in main()
119 errx(1, "C_GetSlotInfo failed: %d", (int)ret); in main()
122 errx(1, "no token present"); in main()
127 errx(1, "C_OpenSession failed: %d", (int)ret); in main()
131 errx(1, "C_GetTokenInfo1 failed: %d", (int)ret); in main()
137 errx(1, "C_Login failed: %d", (int)ret); in main()
142 errx(1, "C_GetTokenInfo2 failed: %d", (int)ret); in main()
[all …]
Dhxtool.c75 errx(1, "hx509_lock_command_string: %s: %d", in lock_strings()
111 errx(1, "parse_oid failed for: %s", str ? str : "default oid"); in parse_oid()
229 errx(1, "PEM reader failed: %d", ret); in cms_verify_sd()
236 errx(1, "malloc: out of memory"); in cms_verify_sd()
240 errx(1, "map_file: %s: %d", s, ret); in cms_verify_sd()
258 errx(1, "map_file: %s: %d", opt->signed_content_string, ret); in cms_verify_sd()
268 errx(1, "hx509_cms_unwrap_ContentInfo: %d", ret); in cms_verify_sd()
271 errx(1, "Content is not SignedData"); in cms_verify_sd()
324 errx(1, "hx509_write_file: %d", ret); in cms_verify_sd()
345 errx(1, "hx509_cert_get_subject"); in print_signer()
[all …]
/netbsd/src/sys/arch/x68k/stand/installboot/
Dinstallboot.c99 errx(1, "%s: not a character special device", name); in checktargetdev()
101 errx(1, "%s: invalid device", name); in checktargetdev()
108 errx(1, "%s is the raw device", name); in checktargetdev()
125 errx(1, "%s: not a character special device", name); in checkparttype()
130 errx(1, "%s: invalid partition", name); in checkparttype()
135 errx(1, "%s: blocksize too large", name); in checkparttype()
137 errx(1, "%s: reading the mark", name); in checkparttype()
145 errx(1, "%s: invalid partition type", name); in checkparttype()
148 errx(1, "%s: cannot make the partition bootable", in checkparttype()
204 errx(1, "aborting"); in main()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
Dtest_kcred.c61 errx(1, "gss_acquire_cred"); in copy_import()
66 errx(1, "gss_inquire_cred"); in copy_import()
70 errx(1, "krb5_init_context"); in copy_import()
78 errx(1, "gss_krb5_copy_ccache"); in copy_import()
82 errx(1, "gss_krb5_import_cred"); in copy_import()
87 errx(1, "gss_inquire_cred 2"); in copy_import()
91 errx(1, "gss_compare_name"); in copy_import()
93 errx(1, "names not equal"); in copy_import()
96 errx(1, "lifetime not equal"); in copy_import()
99 errx(1, "usage not equal"); in copy_import()
/netbsd/src/usr.bin/sdiff/
Dsdiff.c238 errx(2, "width is %s: %s", errstr, optarg); in main()
287 errx(2, "width is too large: %zu", width); in main()
588 errx(2, "file1 start is %s: %s", errstr, line); in parsecmd()
601 errx(2, "file1 end is %s: %s", errstr, line); in parsecmd()
603 errx(2, "invalid line range in file1: %s", line); in parsecmd()
611 errx(2, "ed command not recognized: %c: %s", cmd, line); in parsecmd()
621 errx(2, "file2 start is %s: %s", errstr, line); in parsecmd()
628 errx(2, "invalid line range in file2: %c: %s", c, line); in parsecmd()
634 errx(2, "file2 end is %s: %s", errstr, line); in parsecmd()
636 errx(2, "invalid line range in file2: %s", line); in parsecmd()
[all …]
/netbsd/src/usr.bin/xargs/
Dxargs.c130 errx(1, "sysconf(_SC_ARG_MAX) failed"); in main()
159 errx(1, "illegal argument count"); in main()
166 errx(1, "max. processes must be >0"); in main()
174 errx(1, "replacements must be a number"); in main()
182 errx(1, "replsize must be a number"); in main()
216 errx(1, "replstr may not be empty"); in main()
225 errx(1, "malloc failed"); in main()
265 errx(1, "insufficient space for command"); in main()
268 errx(1, "malloc failed"); in main()
314 errx(1, "unterminated quote"); in parse_input()
[all …]
/netbsd/src/usr.bin/sed/
Dcompile.c173 errx(1, "%lu: %s: unexpected EOF (pending }'s)", in compile_stream()
214 errx(1, "%lu: %s: command expected", linenum, fname); in compile_stream()
220 errx(1, "%lu: %s: invalid command code %c", linenum, fname, *p); in compile_stream()
222 errx(1, in compile_stream()
247 errx(1, "%lu: %s: unexpected }", linenum, fname); in compile_stream()
265errx(1, "%lu: %s: extra characters at the end of %c command", in compile_stream()
273 errx(1, in compile_stream()
278 errx(1, in compile_stream()
289 errx(1, "%lu: %s: filename expected", linenum, fname); in compile_stream()
302 errx(1, "%lu: %s: filename expected", linenum, fname); in compile_stream()
[all …]
/netbsd/src/sbin/newfs/
Dnewfs.c330 errx(1, "sector size `%s' is not a power of 2.", in main()
401 errx(1, "%s %s", in main()
412 errx(1, "invalid quota type %s", optarg); in main()
417 errx(1, "bad mode `%s'", optarg); in main()
431 errx(1,"Apple UFS volume name cannot contain ':' or '/'"); in main()
433 errx(1,"Apple UFS volume name cannot be zero length"); in main()
445 errx(1, "in-filesystem quota is incompatible with -O0"); in main()
521 errx(1, "%s is a block device. use raw device", in main()
548 errx(1, "%s is mounted on %s", in main()
559 errx(1, lmsg, special); in main()
[all …]

12345678910>>...37