Home
last modified time | relevance | path

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

12345678910>>...46

/freebsd-14.2/contrib/libfido2/examples/
H A Dassert.c61 errx(1, "read_ec_pubkey"); in verify_assert()
64 errx(1, "es256_pk_new"); in verify_assert()
76 errx(1, "read_ec_pubkey"); in verify_assert()
79 errx(1, "es384_pk_new"); in verify_assert()
91 errx(1, "read_rsa_pubkey"); in verify_assert()
94 errx(1, "rs256_pk_new"); in verify_assert()
109 errx(1, "eddsa_pk_new"); in verify_assert()
124 errx(1, "fido_assert_new"); in verify_assert()
272 errx(1, "fido_dev_new"); in main()
335 errx(1, "write_blob"); in main()
[all …]
H A Dcred.c54 errx(1, "fido_cred_new"); in verify_cred()
120 errx(1, "write_es256_pubkey"); in verify_cred()
125 errx(1, "write_es384_pubkey"); in verify_cred()
130 errx(1, "write_rs256_pubkey"); in verify_cred()
135 errx(1, "write_eddsa_pubkey"); in verify_cred()
143 errx(1, "write_blob"); in verify_cred()
171 errx(1, "fido_cred_new"); in main()
180 errx(1, "base10: %s", optarg); in main()
204 errx(1, "base10: %s", optarg); in main()
250 errx(1, "fido_dev_new"); in main()
[all …]
/freebsd-14.2/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c86 errx(-1, "not ok 1 - socket: %s", strerror(errno)); in main()
113 errx(-1, "not ok 3 - bind %s", strerror(errno)); in main()
158 errx(-1, "not ok 7 - listen: %s", strerror(errno)); in main()
219 errx(-1, "not ok 11 - socket: %s", strerror(errno)); in main()
221 errx(-1, "not ok 11 - connect %s", strerror(errno)); in main()
225 errx(-1, "not ok 11 - write %s", strerror(errno)); in main()
244 errx(-1, "not ok 12 - socket: %s", strerror(errno)); in main()
246 errx(-1, "not ok 12 - connect %s", strerror(errno)); in main()
268 errx(-1, "not ok 13 - socket: %s", strerror(errno)); in main()
279 errx(-1, "not ok 13 - setsockopt() after listen() " in main()
[all …]
/freebsd-14.2/tools/build/
H A Dbeinstall.sh67 errx() { function
148 [ -n "${BENAME}" ] || errx "Must specify BENAME"
149 [ -n "${BE_MNTPT}" ] || errx "Must specify BE_MNTPT"
170 [ "$(whoami)" != "root" ] && errx "Must be run as root"
192 errx "Unable to find subversion"
197 errx "Unable to determine source control type"
233 errx "Installworld failed!"
246 ${BE_PKG} update || errx "Unable to update pkg"
247 ${BE_PKG} upgrade || errx "Unable to upgrade pkgs"
257 unmount_be || errx "Unable to unmount BE"
[all …]
/freebsd-14.2/contrib/libfido2/tools/
H A Dassert_verify.c43 errx(1, "input error"); in prepare_assert()
56 errx(1, "fido_assert_new"); in prepare_assert()
106 errx(1, "read_ec_pubkey"); in load_pubkey()
108 errx(1, "es256_pk_new"); in load_pubkey()
116 errx(1, "read_ec_pubkey"); in load_pubkey()
118 errx(1, "es384_pk_new"); in load_pubkey()
126 errx(1, "read_rsa_pubkey"); in load_pubkey()
128 errx(1, "rs256_pk_new"); in load_pubkey()
130 errx(1, "rs256_pk_from_RSA"); in load_pubkey()
136 errx(1, "read_eddsa_pubkey"); in load_pubkey()
[all …]
/freebsd-14.2/usr.bin/login/
H A Dlogin_audit.c76 errx(1, "could not determine audit condition"); in au_login_success()
83 errx(1, "could not calculate audit mask"); in au_login_success()
94 errx(1, "audit error: au_open() failed"); in au_login_success()
102 errx(1, "audit error: au_to_return32() failed"); in au_login_success()
106 errx(1, "audit record was not committed."); in au_login_success()
127 errx(1, "could not determine audit condition"); in au_login_fail()
133 errx(1, "audit error: au_open() failed"); in au_login_fail()
155 errx(1, "audit error: au_to_text() failed"); in au_login_fail()
184 errx(1, "could not determine audit condition"); in audit_logout()
190 errx(1, "audit error: au_open() failed"); in audit_logout()
[all …]
/freebsd-14.2/tools/regression/mlock/
H A Dmlock.c53 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-14.2/tools/regression/sockets/accept_fd_leak/
H A Daccept_fd_leak.c78 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()
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()
165 errx(-1, "socket: %s", strerror(errno)); in main()
168 errx(-1, "connect: %s", strerror(errno)); in main()
192 errx(-1, "accept succeeded\n"); in main()
194 errx(-1, "accept: %s", strerror(errno)); in main()
[all …]
/freebsd-14.2/sbin/newfs/
H A Dnewfs.c174 errx(1, "%s: bad file system format value", in main()
183 errx(1, "%s: bad sector size", optarg); in main()
207 errx(1, "%s: bad block size", in main()
236 errx(1, "%s: bad fragment size", optarg); in main()
251 errx(1, "%s: bad bytes per inode", optarg); in main()
265 errx(1, "%s: bad free space %%", optarg); in main()
276 errx(1, in main()
285 errx(1, "%s: bad reserved size", optarg); in main()
332 errx(1, "%s: ", special); in main()
336 errx(1, "%s: %s", special, disk.d_error); in main()
[all …]
/freebsd-14.2/tools/regression/audit/audit_pipe_ioctl/
H A Daudit_pipe_ioctl.c62 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-14.2/tools/regression/netinet/ipsockopt/
H A Dipsockopt.c78 errx(-1, "get_sock_priv: running without real uid 0"); in get_socket_priv()
160 errx(-1, "test_ip_options(%s): getsockopt() after set " 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()
288 errx(-1, "test_ip_hdrincl: created raw socket as " in test_ip_hdrincl()
306 errx(-1, "test_ip_hdrincl(): %d bytes returned on " in test_ip_hdrincl()
310 errx(-1, "test_ip_hdrincl(): initial flag value of %d\n", in test_ip_hdrincl()
332 errx(-1, "test_ip_hdrincl(): getsockopt(IP_HDRINCL) " in test_ip_hdrincl()
360 errx(-1, "test_ip_hdrincl(): getsockopt(IP_HDRINCL) " in test_ip_hdrincl()
407 errx(-1, "test_ip_uchar(%s, %s): initial getsockopt() " in test_ip_uchar()
[all …]
/freebsd-14.2/crypto/heimdal/lib/ntlm/
H A Dtest_ntlm.c67 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()
146 errx(1, "type3 username wrong"); in test_parse()
235 errx(1, "infotarget length"); in test_keys()
280 errx(1, "lm_resp wrong"); in test_ntlm2_session_resp()
[all …]
/freebsd-14.2/usr.sbin/pnfsdscopymr/
H A Dpnfsdscopymr.c84 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()
162 errx(1, "Can't stat %s", pnfsdarg.dspath); in main()
166 errx(1, "Can't fsstat %s", pnfsdarg.dspath); in main()
180 errx(1, "No <host>: in mount %s", host); in main()
186 errx(1, "Can't get address for %s", host); in main()
242 errx(1, "No <host>: in mount %s", host); in main()
[all …]
/freebsd-14.2/contrib/netbsd-tests/lib/libutil/
H A Dt_pidfile.c82 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()
239 errx(EXIT_FAILURE, "Failed to create pidfile with custom " in helper_change_basenames()
280 errx(EXIT_FAILURE, "Failed to create pidfile " in helper_change_paths()
[all …]
/freebsd-14.2/crypto/heimdal/lib/gssapi/
H A Dtest_kcred.c71 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()
121 errx(1, "gss_inquire_cred"); in copy_import()
125 errx(1, "gss_compare_name"); in copy_import()
[all …]
H A Dtest_context.c202 errx(1, "accept_sec_context: %s", in loop()
231 errx(1, "mech mismatch"); in loop()
259 errx(1, "gss_wrap failed: %s", in wrapunwrap()
265 errx(1, "gss_unwrap failed: %s", in wrapunwrap()
273 errx(1, "conf_state mismatch"); in wrapunwrap()
361 errx(1, "gss_wrap_iov failed"); in wrapunwrap_iov()
518 errx(1, "krb5_init_context"); in main()
740 errx(1, "enctype mismatch"); in main()
745 errx(1, "key data mismatch"); in main()
924 errx(1, "export failed: %s", in main()
[all …]
/freebsd-14.2/tools/regression/sockets/shutdown/
H A Dshutdown.c50 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-14.2/contrib/netbsd-tests/rump/rumpkern/h_client/
H A 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()
112 errx(1, "child exited with status %d", status); in pipecomm()
[all …]
/freebsd-14.2/contrib/netbsd-tests/lib/libc/stdlib/
H A Dh_getopt_long.c87 errx(1, "missing longopts at line %ld", in main()
114 errx(1, "missing longopt 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()
178 errx(1, "result: without optstring"); in main()
180 errx(1, "result: without longopts"); in main()
183 errx(1, "result: without args"); in main()
222 errx(1, "internal error"); in main()
[all …]
/freebsd-14.2/bin/dd/
H A Dargs.c121 errx(1, "unknown operand %s", oper); in jcl()
124 errx(1, "no value specified for %s", oper); in jcl()
129 errx(1, "unknown operand %s", tmp.name); in jcl()
160 errx(1, "record operations require cbs"); in jcl()
162 errx(1, "cbs cannot be zero"); in jcl()
237 errx(1, "need exactly one fill char"); in f_fillchar()
250 errx(1, "ibs must be between 1 and %zd", in f_ibs()
281 errx(1, "unknown iflag %s", tmp.name); in f_iflag()
304 errx(1, "obs must be between 1 and %zd", in f_obs()
349 errx(1, "unknown status %s", arg); in f_status()
[all …]
/freebsd-14.2/usr.sbin/uefisign/
H A Duefisign.c175 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()
221 errx(1, "PKCS7_dataInit(3) failed"); in magic()
229 errx(1, "PKCS7_dataFinal(3) failed"); in magic()
265 errx(1, "PKCS7_sign(3) failed"); in sign()
300 errx(1, "BIO_new(3) failed"); in sign()
306 errx(1, "i2d_PKCS7_bio(3) failed"); in sign()
390 errx(1, "-c option is mandatory"); in main()
392 errx(1, "-k option is mandatory"); in main()
[all …]
/freebsd-14.2/usr.sbin/smbmsg/
H A Dsmbmsg.c237 errx(EX_USAGE, "Invalid number: %s", optarg); in main()
239 errx(EX_USAGE, in main()
252 errx(EX_USAGE, in main()
261 errx(EX_USAGE, in main()
275 errx(EX_USAGE, in main()
297 errx(EX_USAGE, "Nothing to do"); in main()
305 errx(EX_USAGE, "Invalid number: %s", *argv); in main()
307 errx(EX_USAGE, "Value out of range: %d", n); in main()
315 errx(EX_USAGE, "Invalid number: %s", *argv); in main()
317 errx(EX_USAGE, "Value out of range: %d", n); in main()
[all …]
/freebsd-14.2/crypto/heimdal/lib/asn1/
H A Dasn1_print.c68 errx (1, "der_get_tag: %s", error_message (ret)); in loop()
70 errx (1, "unreasonable length (%u) > %u", in loop()
89 errx (1, "unreasonable tag length (%u) > %u", in loop()
101 errx(1, "indef form used on unsupported object"); in loop()
112 errx (1, "unreasonable inner length (%u) > %u", in loop()
155 errx (1, "der_get_heim_integer: %s", in loop()
159 errx (1, "der_print_hex_heim_integer: %s", in loop()
215 errx (1, "der_get_general_string: %s", in loop()
237 errx (1, "der_get_general_string: %s", in loop()
284 errx(1, "internal error for INDEFINITE form"); in loop()
[all …]
/freebsd-14.2/contrib/netcat/
H A Dsocks.c97 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()
186 errx(1, "host name too long for SOCKS5"); in socks_connect()
218 errx(1, "internal error: silly AF"); in socks_connect()
271 errx(1, "Invalid hostname"); in socks_connect()
284 errx(1, "hostname too long"); in socks_connect()
304 errx(1, "Proxy auth response too long"); in socks_connect()
326 errx(1, "Proxy error: \"%s\"", buf); in socks_connect()
[all …]
/freebsd-14.2/sbin/mdconfig/
H A Dmdconfig.c121 errx(1, "-a is mutually exclusive " in main()
127 errx(1, "-d is mutually exclusive " in main()
134 errx(1, "-r is mutually exclusive " in main()
141 errx(1, "-l is mutually exclusive " in main()
151 errx(1, "-t can be passed only once"); in main()
166 errx(1, "unknown type: %s", optarg); in main()
292 errx(1, "unable to determine type"); in main()
352 errx(1, "must specify -s for -r"); in main()
360 errx(1, "bad unit: %s", uflag); in main()
381 errx(1, "-d requires -u"); in main()
[all …]

12345678910>>...46