Searched refs:errx (Results 1 - 25 of 962) sorted by relevance

1234567891011>>

/freebsd-11-stable/tools/regression/mlock/
H A Dmlock.c55 errx(-1, "mlock must run as root");
60 errx(-1, "getpwnam: user \"%s\" not found", NOBODY);
62 errx(-1, "getpwnam: %s", strerror(errno));
64 errx(-1, "getpwnam: user \"%s\" has uid 0", NOBODY);
69 errx(-1, "mmap: %s", strerror(errno));
72 errx(-1, "mlock privileged: %s", strerror(errno));
75 errx(-1, "munlock privileged: %s", strerror(errno));
78 errx(-1, "seteuid: %s", strerror(errno));
81 errx(-1, "mlock unprivileged: succeeded but shouldn't have");
83 errx(
[all...]
/freebsd-11-stable/tools/regression/audit/audit_pipe_ioctl/
H A Daudit_pipe_ioctl.c64 errx(-1, "AUDITPIPE_GET_QLEN: unchanged");
70 errx(-1, "AUDITPIPE_GET_QLIMIT_MIN: unchanged");
76 errx(-1, "AUDITPIPE_GET_QLIMIT_MAX: unchanged");
82 errx(-1, "AUDITPIPE_GET_QLIMIT: unchanged");
85 errx(-1, "queue length < minlen");
88 errx(-1, "queue length > maxlen");
102 errx(-1, "set to minlen didn't work");
112 errx(-1, "set to maxlen didn't work");
122 errx(-1, "AUDITPIPE_GET_INSERTS: unchanged");
128 errx(
[all...]
/freebsd-11-stable/tools/regression/sockets/shutdown/
H A Dshutdown.c52 errx(-1, "shutdown() for invalid file descriptor does not "
57 errx(-1,
68 errx(-1, "bind(%s, %d) for listen socket: %s",
73 errx(-1, "getsockname() for listen socket: %s",
78 errx(-1, "listen() for listen socket: %s", strerror(errno));
82 errx(-1, "socket(PF_INET, SOCK_STREAM, 0) for connect "
92 errx(-1, "connect() for connect socket: %s", strerror(errno));
95 errx(-1, "shutdown(SHUT_RD - 1) does not return EINVAL");
97 errx(-1, "shutdown(SHUT_RDWR + 1) does not return EINVAL");
100 errx(
[all...]
/freebsd-11-stable/tools/regression/sockets/unix_socket/
H A Dunix_socket.c60 errx(-1, "socket(PF_LOCAL, SOCK_RAW, 0) returned %d", sock);
68 errx(-1, "socketpair(PF_LOCAL, SOCK_STREAM, 0, socks) [0] < 0");
70 errx(-1, "socketpair(PF_LOCAL, SOCK_STREAM, 0, socks) [1] < 1");
77 errx(-1, "socketpair(PF_LOCAL, SOCK_DGRAM, 0, socks) [0] < 0");
79 errx(-1, "socketpair(PF_LOCAL, SOCK_DGRAM, 0, socks) [1] < 1");
/freebsd-11-stable/share/examples/tests/tests/plain/
H A Dprintf_test.c54 errx(EXIT_FAILURE, "snprintf with two formatters failed");
57 errx(EXIT_FAILURE, "Bad formatting: got %s", buffer);
66 errx(EXIT_FAILURE, "snprintf did not return the expected "
70 errx(EXIT_FAILURE, "Bad formatting: got %s", buffer);
92 errx(EXIT_FAILURE, "Written and read data differ");
/freebsd-11-stable/tools/regression/sockets/accept_fd_leak/
H A Daccept_fd_leak.c80 errx(-1, "Non-sequential fd allocation\n");
84 errx(-1, "socket: %s", strerror(errno));
108 errx(-1, "listen: %s", strerror(errno));
112 errx(-1, "ioctl(F_GETFL): %s", strerror(errno));
115 errx(-1, "ioctl(F_SETFL): %s", strerror(errno));
118 errx(-1, "ioctl(F_GETFL): %s", strerror(errno));
120 errx(-1, "Failed to set O_NONBLOCK (i=0x%x)\n", i);
125 errx(-1, "accept succeeded\n");
127 errx(-1, "accept: %s", strerror(errno));
148 errx(
[all...]
/freebsd-11-stable/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c86 errx(-1, "not ok 1 - socket: %s", strerror(errno));
97 errx(-1, "not ok 2 - getsockopt() after socket() succeeded");
99 errx(-1, "not ok 2 - getsockopt() after socket() failed with "
112 errx(-1, "not ok 3 - bind %s", strerror(errno));
122 errx(-1, "not ok 4 - getsockopt() after bind() succeeded");
124 errx(-1, "not ok 4 - getsockopt() after bind() failed with %d (%s)",
136 errx(-1, "not ok 5 - setsockopt() before listen() succeeded");
146 errx(-1, "not ok 6 - getsockopt() after pre-listen() setsockopt() "
149 errx(-1, "not ok 6 - pre-listen() getsockopt() failed with %d (%s)",
157 errx(
[all...]
/freebsd-11-stable/usr.bin/login/
H A Dlogin_audit.c76 errx(1, "login: Could not determine audit condition");
83 errx(1, "login: Could not set audit mask\n");
94 errx(1,"login: Audit Error: au_open() failed");
98 errx(1, "login: Audit Error: au_to_subject32() failed");
102 errx(1, "login: Audit Error: au_to_return32() failed");
106 errx(1, "login: Audit Record was not committed.");
127 errx(1, "login: Could not determine audit condition");
133 errx(1, "login: Audit Error: au_open() failed");
142 errx(1, "login: Audit Error: au_to_subject32() failed");
149 errx(
[all...]
/freebsd-11-stable/crypto/heimdal/appl/gssmask/
H A Dcommon.h74 errx(1, "krb5_ret_int16 " #num); \
80 errx(1, "krb5_ret_int32 " #num); \
86 errx(1, "krb5_ret_data " #data); \
92 errx(1, "krb5_ret_data " #data); \
99 errx(1, "krb5_store_int32 " #num); \
105 errx(1, "krb5_store_data " #data); \
111 errx(1, "krb5_store_str " #str); \
/freebsd-11-stable/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_forkcli.c25 errx(1, "unexpected pid %d", pid1);
29 errx(1, "write newlyopened /dev/null");
43 errx(1, "unexpected pid %d", pid2);
45 errx(1, "child and parent pids are equal");
49 errx(1, "write child /dev/null");
58 errx(1, "write parent /dev/null");
62 errx(1, "child exited with status %d", status);
64 errx(1, "write parent /dev/null");
87 errx(1, "pipe");
104 errx(
[all...]
/freebsd-11-stable/lib/libcasper/libcasper/
H A Dlibcasper_impl.c59 errx(1, "Unable to open %s", _PATH_DEVNULL);
64 errx(1, "Unable to secure fd");
66 errx(1, "Unable to secure fd");
/freebsd-11-stable/contrib/netbsd-tests/libexec/ld.elf_so/
H A Dh_df_1_noopen.c42 errx(1, "%s", dlerror());
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Demalloc.c51 errx (1, "malloc %lu failed", (unsigned long)sz);
H A Derrx.c39 errx(int eval, const char *fmt, ...) function
H A Desetenv.c44 errx (1, "failed setting environment variable %s", var);
H A Destrdup.c51 errx (1, "strdup failed");
/freebsd-11-stable/crypto/heimdal/lib/sl/
H A Dtest_sl.c79 errx(1, "sl_make_argv test %d failed", i);
81 errx(1, "sl_make_argv passed test %d when it shouldn't", i);
83 errx(1, "result argc (%d) != should be argc (%d) for test %d",
87 errx(1, "result argv (%s) != should be argv (%s) for test %d",
/freebsd-11-stable/tools/regression/sigqueue/sigqtest1/
H A Dsigqtest1.c14 errx(1, "si_code != SI_QUEUE");
16 errx(1, "signal is out of order");
42 errx(1, "errno != EAGAIN");
50 errx(1, "error, signal lost");
/freebsd-11-stable/tools/regression/sockets/pr_atomic/
H A Dpr_atomic.c65 errx(-1, "socket");
71 errx(-1, "bind");
74 errx(-1, "fork");
82 errx(-1,"socket");
85 errx(-1,"sendto");
94 errx(-1,"recvfrom succeeded when failure expected");
/freebsd-11-stable/usr.sbin/fmtree/
H A Dspec.c77 errx(1, "line %d too long", lineno);
105 errx(1, "line %d: missing field", lineno);
122 errx(1, "line %d: slash character in file name",
137 noparent: errx(1, "line %d: no parent node", lineno);
141 errx(1, "calloc");
147 errx(1, "filename %s is ill-encoded", p);
179 errx(1, "line %d: missing value", lineno);
184 errx(1, "line %d: invalid checksum %s",
190 errx(1, "strdup");
195 errx(
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/
H A Dh_client.c47 errx(1, "need testname as param");
68 errx(EXIT_FAILURE, "select succesful");
71 errx(EXIT_FAILURE, "stdin fileno is still set");
87 errx(EXIT_FAILURE, "select succesful");
93 errx(EXIT_FAILURE, "select2 succesful");
111 errx(EXIT_FAILURE, "poll unexpected rv %d (%d)",
114 errx(EXIT_FAILURE, "poll unexpected revents");
129 errx(EXIT_FAILURE, "unexpected fd8 %d %d", fd, errno);
131 errx(EXIT_FAILURE, "fd leak?");
133 errx(EXIT_FAILUR
[all...]
H A Dh_cwd.c87 errx(EXIT_FAILURE, "strcmp1");
95 errx(EXIT_FAILURE, "strcmp2");
103 errx(EXIT_FAILURE, "strcmp3");
109 errx(EXIT_FAILURE, "strcmp4");
116 errx(EXIT_FAILURE, "strcmp5");
122 errx(EXIT_FAILURE, "strcmp6");
142 errx(EXIT_FAILURE, "strcmp");
150 errx(1, "usage");
160 errx(EXIT_FAILURE, "invalid chdir type");
/freebsd-11-stable/crypto/heimdal/lib/gssapi/
H A Dtest_kcred.c71 errx(1, "gss_acquire_cred");
76 errx(1, "gss_inquire_cred");
80 errx(1, "krb5_init_context");
88 errx(1, "gss_krb5_copy_ccache");
92 errx(1, "gss_krb5_import_cred");
97 errx(1, "gss_inquire_cred 2");
101 errx(1, "gss_compare_name");
103 errx(1, "names not equal");
106 errx(1, "lifetime not equal %lu != %lu",
112 errx(
[all...]
/freebsd-11-stable/tools/regression/sockets/listenclose/
H A Dlistenclose.c65 errx(-1,
77 errx(-1, "bind(%s, %d) for listen socket: %s",
82 errx(-1, "getsockname() for listen socket: %s",
87 errx(-1, "listen() for listen socket: %s", strerror(errno));
91 errx(-1, "socket(PF_INET, SOCK_STREAM, 0) for connect "
96 errx(-1, "socket(PF_INET, SOCK_STREAM, 0) for connect socket"
106 errx(-1, "connect() for connect socket: %s", strerror(errno));
/freebsd-11-stable/crypto/heimdal/lib/ntlm/
H A Dtest_ntlm.c67 errx(1, "heim_ntlm_encode_type1");
74 errx(1, "heim_ntlm_encode_type1");
94 errx(1, "heim_ntlm_encode_type2");
101 errx(1, "heim_ntlm_decode_type2");
128 errx(1, "heim_ntlm_encode_type3");
137 errx(1, "heim_ntlm_decode_type3");
140 errx(1, "type3 ws wrong");
143 errx(1, "type3 targetname wrong");
146 errx(1, "type3 username wrong");
167 errx(
[all...]

Completed in 103 milliseconds

1234567891011>>