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

1234567891011>>

/freebsd-13-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-13-stable/tools/build/cross-build/
H A Dfake_sysctl.c52 errx(EX_USAGE, "Missing arguments for kern.vm_guest");
55 errx(EX_USAGE, "kern.vm_guest is read-only");
59 errx(EX_USAGE, "fatal: unknown sysctl %s\n", name);
/freebsd-13-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-13-stable/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c88 errx(-1, "not ok 1 - socket: %s", strerror(errno));
99 errx(-1, "not ok 2 - getsockopt() after socket() succeeded");
101 errx(-1, "not ok 2 - getsockopt() after socket() failed with "
115 errx(-1, "not ok 3 - bind %s", strerror(errno));
125 errx(-1, "not ok 4 - getsockopt() after bind() succeeded");
127 errx(-1, "not ok 4 - getsockopt() after bind() failed with %d (%s)",
139 errx(-1, "not ok 5 - setsockopt() before listen() succeeded");
149 errx(-1, "not ok 6 - getsockopt() after pre-listen() setsockopt() "
152 errx(-1, "not ok 6 - pre-listen() getsockopt() failed with %d (%s)",
160 errx(
[all...]
/freebsd-13-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-13-stable/share/examples/tests/tests/plain/
H A Dprintf_test.c57 errx(EXIT_FAILURE, "snprintf with two formatters failed");
60 errx(EXIT_FAILURE, "Bad formatting: got %s", buffer);
69 errx(EXIT_FAILURE, "snprintf did not return the expected "
73 errx(EXIT_FAILURE, "Bad formatting: got %s", buffer);
95 errx(EXIT_FAILURE, "Written and read data differ");
/freebsd-13-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-13-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-13-stable/usr.bin/login/
H A Dlogin_audit.c78 errx(1, "could not determine audit condition");
85 errx(1, "could not calculate audit mask");
96 errx(1, "audit error: au_open() failed");
100 errx(1, "audit error: au_to_subject32() failed");
104 errx(1, "audit error: au_to_return32() failed");
108 errx(1, "audit record was not committed.");
129 errx(1, "could not determine audit condition");
135 errx(1, "audit error: au_open() failed");
144 errx(1, "audit error: au_to_subject32() failed");
151 errx(
[all...]
/freebsd-13-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-13-stable/tools/build/
H A Dbeinstall.sh68 errx() { function
149 [ -n "${BENAME}" ] || errx "Must specify BENAME"
150 [ -n "${BE_MNTPT}" ] || errx "Must specify BE_MNTPT"
165 ${BE_UTILITY} check || errx "${BE_UTILITY} sanity check failed"
169 trap 'errx "Interrupt caught"' HUP INT TERM
171 [ "$(whoami)" != "root" ] && errx "Must be run as root"
173 [ ! -f "Makefile.inc1" ] && errx "Must be in FreeBSD source tree"
176 [ ! -d "${objdir}" ] && errx "Must have built FreeBSD from source tree"
185 [ $? -ne 0 ] && errx "Can't lookup git commit timestamp"
193 errx "Unabl
[all...]
/freebsd-13-stable/lib/libcasper/libcasper/
H A Dlibcasper_impl.c60 errx(1, "Unable to open %s", _PATH_DEVNULL);
65 errx(1, "Unable to secure fd");
67 errx(1, "Unable to secure fd");
/freebsd-13-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-13-stable/contrib/netbsd-tests/libexec/ld.elf_so/
H A Dh_df_1_noopen.c42 errx(1, "%s", dlerror());
/freebsd-13-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-13-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-13-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-13-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-13-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-13-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...]
/freebsd-13-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-13-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));

Completed in 95 milliseconds

1234567891011>>