Home
last modified time | relevance | path

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

12345678910>>...40

/freebsd-12.1/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c88 errx(-1, "not ok 1 - socket: %s", strerror(errno)); in main()
115 errx(-1, "not ok 3 - bind %s", strerror(errno)); in main()
160 errx(-1, "not ok 7 - listen: %s", strerror(errno)); in main()
221 errx(-1, "not ok 11 - socket: %s", strerror(errno)); in main()
223 errx(-1, "not ok 11 - connect %s", strerror(errno)); in main()
227 errx(-1, "not ok 11 - write %s", strerror(errno)); in main()
246 errx(-1, "not ok 12 - socket: %s", strerror(errno)); in main()
248 errx(-1, "not ok 12 - connect %s", strerror(errno)); in main()
270 errx(-1, "not ok 13 - socket: %s", strerror(errno)); in main()
281 errx(-1, "not ok 13 - setsockopt() after listen() " in main()
[all …]
/freebsd-12.1/tools/build/
H A Dbeinstall.sh70 errx() { function
144 [ -n "${BENAME}" ] || errx "Must specify BENAME"
145 [ -n "${BE_MNTPT}" ] || errx "Must specify BE_MNTPT"
163 [ "$(whoami)" != "root" ] && errx "Must be run as root"
181 errx "Unable to find subversion"
186 errx "Unable to determine source control type"
221 errx "Installworld failed!"
230 ${BE_PKG} update || errx "Unable to update pkg"
231 ${BE_PKG} upgrade || errx "Unable to upgrade pkgs"
241 unmount_be || errx "Unable to unmount BE"
[all …]
/freebsd-12.1/usr.bin/login/
H A Dlogin_audit.c78 errx(1, "could not determine audit condition"); in au_login_success()
85 errx(1, "could not calculate audit mask"); in au_login_success()
96 errx(1, "audit error: au_open() failed"); in au_login_success()
104 errx(1, "audit error: au_to_return32() failed"); in au_login_success()
108 errx(1, "audit record was not committed."); in au_login_success()
129 errx(1, "could not determine audit condition"); in au_login_fail()
135 errx(1, "audit error: au_open() failed"); in au_login_fail()
157 errx(1, "audit error: au_to_text() failed"); in au_login_fail()
186 errx(1, "could not determine audit condition"); in audit_logout()
192 errx(1, "audit error: au_open() failed"); in audit_logout()
[all …]
/freebsd-12.1/tools/regression/sockets/accept_fd_leak/
H A Daccept_fd_leak.c80 errx(-1, "Non-sequential fd allocation\n"); in main()
84 errx(-1, "socket: %s", strerror(errno)); in main()
108 errx(-1, "listen: %s", strerror(errno)); in main()
125 errx(-1, "accept succeeded\n"); in main()
127 errx(-1, "accept: %s", strerror(errno)); in main()
148 errx(-1, "fork: %s", strerror(errno)); in main()
167 errx(-1, "socket: %s", strerror(errno)); in main()
170 errx(-1, "connect: %s", strerror(errno)); in main()
194 errx(-1, "accept succeeded\n"); in main()
196 errx(-1, "accept: %s", strerror(errno)); in main()
[all …]
/freebsd-12.1/usr.sbin/fmtree/
H A Dspec.c77 errx(1, "line %d too long", lineno); in mtree_readspec()
141 errx(1, "calloc"); in mtree_readspec()
147 errx(1, "filename %s is ill-encoded", p); in mtree_readspec()
184 errx(1, "line %d: invalid checksum %s", in set()
190 errx(1, "strdup"); in set()
195 errx(1, "strdup"); in set()
200 errx(1, "strdup"); in set()
205 errx(1, "strdup"); in set()
245 errx(1, "line %d: invalid size %s", in set()
251 errx(1, "malloc"); in set()
[all …]
/freebsd-12.1/tools/regression/mlock/
H A Dmlock.c55 errx(-1, "mlock must run as root"); in main()
60 errx(-1, "getpwnam: user \"%s\" not found", NOBODY); in main()
62 errx(-1, "getpwnam: %s", strerror(errno)); in main()
64 errx(-1, "getpwnam: user \"%s\" has uid 0", NOBODY); in main()
69 errx(-1, "mmap: %s", strerror(errno)); in main()
72 errx(-1, "mlock privileged: %s", strerror(errno)); in main()
75 errx(-1, "munlock privileged: %s", strerror(errno)); in main()
78 errx(-1, "seteuid: %s", strerror(errno)); in main()
81 errx(-1, "mlock unprivileged: succeeded but shouldn't have"); in main()
83 errx(-1, "mlock unprivileged: %s", strerror(errno)); in main()
[all …]
/freebsd-12.1/sbin/newfs/
H A Dnewfs.c172 errx(1, "%s: bad file system format value", in main()
181 errx(1, "%s: bad sector size", optarg); in main()
205 errx(1, "%s: bad block size", in main()
234 errx(1, "%s: bad fragment size", optarg); in main()
249 errx(1, "%s: bad bytes per inode", optarg); in main()
263 errx(1, "%s: bad free space %%", optarg); in main()
274 errx(1, in main()
283 errx(1, "%s: bad reserved size", optarg); in main()
330 errx(1, "%s: ", special); in main()
334 errx(1, "%s: %s", special, disk.d_error); in main()
[all …]
/freebsd-12.1/tools/regression/netinet/ipsockopt/
H A Dipsockopt.c80 errx(-1, "get_sock_priv: running without real uid 0"); in get_socket_priv()
162 errx(-1, "test_ip_options(%s): getsockopt() after set " in test_ip_options()
177 errx(-1, "test_ip_options(%s): getsockopt() after set " in test_ip_options()
199 errx(-1, "test_ip_options(%s): getsockopt() after reset " in test_ip_options()
290 errx(-1, "test_ip_hdrincl: created raw socket as " in test_ip_hdrincl()
308 errx(-1, "test_ip_hdrincl(): %d bytes returned on " in test_ip_hdrincl()
312 errx(-1, "test_ip_hdrincl(): initial flag value of %d\n", in test_ip_hdrincl()
334 errx(-1, "test_ip_hdrincl(): getsockopt(IP_HDRINCL) " in test_ip_hdrincl()
362 errx(-1, "test_ip_hdrincl(): getsockopt(IP_HDRINCL) " in test_ip_hdrincl()
409 errx(-1, "test_ip_uchar(%s, %s): initial getsockopt() " in test_ip_uchar()
[all …]
/freebsd-12.1/usr.bin/colldef/
H A Dscan.l107 errx(EX_UNAVAILABLE, "map expected near line %u of %s",
116 errx(EX_UNAVAILABLE, "name buffer overflow near line %u, character '/'",
122 errx(EX_UNAVAILABLE, "name buffer overflow near line %u, character '>'",
128 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\"'",
136 errx(EX_UNAVAILABLE, "non-empty name expected near line %u",
143 errx(EX_UNAVAILABLE, "name <%s> not 'charmap'-defined near line %u",
172 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\t'",
236 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '%c'",
242 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '%c'",
261 errx(EX_UNAVAILABLE, "'charmap' file name expected near line %u",
[all …]
/freebsd-12.1/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-12.1/usr.sbin/pnfsdscopymr/
H A Dpnfsdscopymr.c86 errx(1, "Must be run as root/su"); in main()
95 errx(1, "-r and -m are mutually exclusive"); in main()
102 errx(1, "-r and -m are mutually exclusive"); in main()
124 errx(1, "Can't get vfs.nfs.pnfsmirror"); in main()
128 errx(1, "Can't migrate to same server"); in main()
164 errx(1, "Can't stat %s", pnfsdarg.dspath); in main()
168 errx(1, "Can't fsstat %s", pnfsdarg.dspath); in main()
182 errx(1, "No <host>: in mount %s", host); in main()
188 errx(1, "Can't get address for %s", host); in main()
244 errx(1, "No <host>: in mount %s", host); in main()
[all …]
/freebsd-12.1/tools/regression/audit/audit_pipe_ioctl/
H A Daudit_pipe_ioctl.c64 errx(-1, "AUDITPIPE_GET_QLEN: unchanged"); in main()
70 errx(-1, "AUDITPIPE_GET_QLIMIT_MIN: unchanged"); in main()
76 errx(-1, "AUDITPIPE_GET_QLIMIT_MAX: unchanged"); in main()
82 errx(-1, "AUDITPIPE_GET_QLIMIT: unchanged"); in main()
85 errx(-1, "queue length < minlen"); in main()
88 errx(-1, "queue length > maxlen"); in main()
102 errx(-1, "set to minlen didn't work"); in main()
112 errx(-1, "set to maxlen didn't work"); in main()
122 errx(-1, "AUDITPIPE_GET_INSERTS: unchanged"); in main()
128 errx(-1, "AUDITPIPE_GET_READS: unchanged"); in main()
[all …]
/freebsd-12.1/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-12.1/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-12.1/bin/dd/
H A Dargs.c117 errx(1, "unknown operand %s", oper); in jcl()
120 errx(1, "no value specified for %s", oper); in jcl()
125 errx(1, "unknown operand %s", tmp.name); in jcl()
156 errx(1, "record operations require cbs"); in jcl()
158 errx(1, "cbs cannot be zero"); in jcl()
233 errx(1, "need exactly one fill char"); in f_fillchar()
246 errx(1, "ibs must be between 1 and %zd", in f_ibs()
267 errx(1, "obs must be between 1 and %zd", in f_obs()
312 errx(1, "unknown status %s", arg); in f_status()
432 errx(1, "%s: invalid numeric value", oper); in get_num()
[all …]
/freebsd-12.1/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-12.1/tools/regression/sockets/shutdown/
H A Dshutdown.c52 errx(-1, "shutdown() for invalid file descriptor does not " in main()
57 errx(-1, in main()
68 errx(-1, "bind(%s, %d) for listen socket: %s", in main()
73 errx(-1, "getsockname() for listen socket: %s", in main()
78 errx(-1, "listen() for listen socket: %s", strerror(errno)); in main()
82 errx(-1, "socket(PF_INET, SOCK_STREAM, 0) for connect " in main()
92 errx(-1, "connect() for connect socket: %s", strerror(errno)); in main()
95 errx(-1, "shutdown(SHUT_RD - 1) does not return EINVAL"); in main()
97 errx(-1, "shutdown(SHUT_RDWR + 1) does not return EINVAL"); in main()
100 errx(-1, "shutdown(SHUT_RD) for connect socket: %s", in main()
[all …]
/freebsd-12.1/usr.sbin/uefisign/
H A Duefisign.c178 errx(1, "BIO_new_mem_buf(3) failed"); in magic()
184 errx(1, "NCONF_new(3) failed"); in magic()
190 errx(1, "NCONF_load_bio(3) failed"); in magic()
224 errx(1, "PKCS7_dataInit(3) failed"); in magic()
232 errx(1, "PKCS7_dataFinal(3) failed"); in magic()
268 errx(1, "PKCS7_sign(3) failed"); in sign()
303 errx(1, "BIO_new(3) failed"); in sign()
309 errx(1, "i2d_PKCS7_bio(3) failed"); in sign()
384 errx(1, "-c option is mandatory"); in main()
386 errx(1, "-k option is mandatory"); in main()
[all …]
/freebsd-12.1/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-12.1/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()
280 errx(1, "unable to determine type"); in main()
340 errx(1, "must specify -s for -r"); in main()
348 errx(1, "bad unit: %s", uflag); in main()
369 errx(1, "-d requires -u"); in main()
[all …]
/freebsd-12.1/usr.sbin/smbmsg/
H A Dsmbmsg.c239 errx(EX_USAGE, "Invalid number: %s", optarg); in main()
241 errx(EX_USAGE, in main()
254 errx(EX_USAGE, in main()
263 errx(EX_USAGE, in main()
277 errx(EX_USAGE, in main()
299 errx(EX_USAGE, "Nothing to do"); in main()
307 errx(EX_USAGE, "Invalid number: %s", *argv); in main()
309 errx(EX_USAGE, "Value out of range: %d", n); in main()
317 errx(EX_USAGE, "Invalid number: %s", *argv); in main()
319 errx(EX_USAGE, "Value out of range: %d", n); in main()
[all …]
/freebsd-12.1/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 …]
H A Dcheck-der.c247 errx(1, "malloc"); in test_octet_string()
249 errx(1, "malloc"); in test_octet_string()
289 errx(1, "malloc"); in test_bmp_string()
291 errx(1, "malloc"); in test_bmp_string()
294 errx(1, "malloc"); in test_bmp_string()
296 errx(1, "malloc"); in test_bmp_string()
337 errx(1, "malloc"); in test_universal_string()
339 errx(1, "malloc"); in test_universal_string()
342 errx(1, "malloc"); in test_universal_string()
344 errx(1, "malloc"); in test_universal_string()
[all …]
/freebsd-12.1/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 …]

12345678910>>...40