Home
last modified time | relevance | path

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

12345678910>>...39

/freebsd-10-stable/usr.bin/iscsictl/
Discsictl.c234 errx(1, "missing TargetName for target \"%s\"", in conf_verify()
238 errx(1, "cannot specify TargetName for discovery " in conf_verify()
242 errx(1, "invalid target name \"%s\"", in conf_verify()
248 errx(1, "missing TargetAddress for target \"%s\"", in conf_verify()
253 errx(1, "invalid initiator name \"%s\"", in conf_verify()
271 errx(1, "missing chapIName for target \"%s\"", in conf_verify()
275 errx(1, "missing chapSecret for target \"%s\"", in conf_verify()
280 errx(1, "missing tgtChapName for " in conf_verify()
283 errx(1, "missing tgtChapSecret for " in conf_verify()
399 errx(1, "ISCSISLIST"); in kernel_modify_some()
[all …]
Dparse.y80 errx(1, "duplicated target %s", $1);
128 errx(1, "duplicated TargetName at line %d", lineno);
136 errx(1, "duplicated TargetAddress at line %d", lineno);
144 errx(1, "duplicated InitiatorName at line %d", lineno);
152 errx(1, "duplicated InitiatorAddress at line %d", lineno);
160 errx(1, "duplicated InitiatorAlias at line %d", lineno);
168 errx(1, "duplicated chapIName at line %d", lineno);
176 errx(1, "duplicated chapSecret at line %d", lineno);
184 errx(1, "duplicated tgtChapName at line %d", lineno);
192 errx(1, "duplicated tgtChapSecret at line %d", lineno);
[all …]
/freebsd-10-stable/tools/regression/sockets/accf_data_attach/
Daccf_data_attach.c86 errx(-1, "not ok 1 - socket: %s", strerror(errno)); in main()
97 errx(-1, "not ok 2 - getsockopt() after socket() succeeded"); in main()
99 errx(-1, "not ok 2 - getsockopt() after socket() failed with " in main()
112 errx(-1, "not ok 3 - bind %s", strerror(errno)); in main()
122 errx(-1, "not ok 4 - getsockopt() after bind() succeeded"); in main()
124 errx(-1, "not ok 4 - getsockopt() after bind() failed with %d (%s)", in main()
136 errx(-1, "not ok 5 - setsockopt() before listen() succeeded"); in main()
146 errx(-1, "not ok 6 - getsockopt() after pre-listen() setsockopt() " in main()
149 errx(-1, "not ok 6 - pre-listen() getsockopt() failed with %d (%s)", in main()
157 errx(-1, "not ok 7 - listen: %s", strerror(errno)); in main()
[all …]
/freebsd-10-stable/usr.bin/login/
Dlogin_audit.c76 errx(1, "login: Could not determine audit condition"); in au_login_success()
83 errx(1, "login: Could not set audit mask\n"); in au_login_success()
94 errx(1,"login: Audit Error: au_open() failed"); in au_login_success()
98 errx(1, "login: Audit Error: au_to_subject32() failed"); in au_login_success()
102 errx(1, "login: Audit Error: au_to_return32() failed"); in au_login_success()
106 errx(1, "login: Audit Record was not committed."); in au_login_success()
127 errx(1, "login: Could not determine audit condition"); in au_login_fail()
133 errx(1, "login: Audit Error: au_open() failed"); in au_login_fail()
142 errx(1, "login: Audit Error: au_to_subject32() failed"); in au_login_fail()
149 errx(1, "login: Audit Error: au_to_subject32() failed"); in au_login_fail()
[all …]
/freebsd-10-stable/tools/regression/sockets/accept_fd_leak/
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()
112 errx(-1, "ioctl(F_GETFL): %s", strerror(errno)); in main()
115 errx(-1, "ioctl(F_SETFL): %s", strerror(errno)); in main()
118 errx(-1, "ioctl(F_GETFL): %s", strerror(errno)); in main()
120 errx(-1, "Failed to set O_NONBLOCK (i=0x%x)\n", i); 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()
[all …]
/freebsd-10-stable/usr.sbin/mtree/
Dspec.c77 errx(1, "line %d too long", lineno); in mtree_readspec()
105 errx(1, "line %d: missing field", lineno); in mtree_readspec()
122 errx(1, "line %d: slash character in file name", in mtree_readspec()
137 noparent: errx(1, "line %d: no parent node", lineno); in mtree_readspec()
141 errx(1, "calloc"); in mtree_readspec()
147 errx(1, "filename %s is ill-encoded", p); in mtree_readspec()
179 errx(1, "line %d: missing value", lineno); in set()
184 errx(1, "line %d: invalid checksum %s", in set()
190 errx(1, "strdup"); in set()
195 errx(1, "strdup"); in set()
[all …]
/freebsd-10-stable/tools/regression/mlock/
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-10-stable/sbin/newfs/
Dnewfs.c157 errx(1, "bad volume label. Valid characters are alphanumerics."); in main()
160 errx(1, "bad volume label. Length is longer than %d.", in main()
170 errx(1, "%s: bad file system format value", in main()
179 errx(1, "%s: bad sector size", optarg); in main()
196 errx(1, "%s: bad maximum contiguous blocks", in main()
202 errx(1, "%s: bad block size", in main()
205 errx(1, "%s: block size too small, min is %d", in main()
208 errx(1, "%s: block size too large, max is %d", in main()
214 errx(1, "%s: bad blocks per cylinder group", in main()
220 errx(1, "%s: bad extent block size", optarg); in main()
[all …]
/freebsd-10-stable/tools/regression/netinet/ipsockopt/
Dipsockopt.c80 errx(-1, "get_sock_priv: running without real uid 0"); in get_socket_priv()
129 errx(-1, "test_ip_options(%s): initial getsockopt() returned " in test_ip_options()
162 errx(-1, "test_ip_options(%s): getsockopt() after set " in test_ip_options()
170 errx(-1, "test_ip_options(%s): getsockopt() after set didn't " 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()
233 errx(-1, "test_ip_hdrincl(): initial getsockopt(IP_HDRINC) " in test_ip_hdrincl()
244 errx(-1, "test_ip_hdrincl(): setsockopt(IP_HDRINCL) on TCP " in test_ip_hdrincl()
264 errx(-1, "test_ip_hdrincl(): getsockopt(IP_HDRINCL) on UDP " in test_ip_hdrincl()
274 errx(-1, "test_ip_hdrincl(): setsockopt(IP_HDRINCL) on UDP " in test_ip_hdrincl()
[all …]
/freebsd-10-stable/bin/dd/
Dargs.c110 errx(1, "unable to allocate space for the argument \"%s\"", *argv); in jcl()
112 errx(1, "unknown operand %s", oper); in jcl()
115 errx(1, "no value specified for %s", oper); in jcl()
120 errx(1, "unknown operand %s", tmp.name); in jcl()
122 errx(1, "%s: illegal argument combination or already set", in jcl()
151 errx(1, "record operations require cbs"); in jcl()
153 errx(1, "cbs cannot be zero"); in jcl()
165 errx(1, "cbs meaningless if not doing record operations"); in jcl()
185 errx(1, "bs must be between 1 and %jd", (intmax_t)SSIZE_MAX); in f_bs()
196 errx(1, "cbs must be between 1 and %jd", (intmax_t)SSIZE_MAX); in f_cbs()
[all …]
/freebsd-10-stable/usr.bin/colldef/
Dscan.l105 errx(EX_UNAVAILABLE, "map expected near line %u of %s",
114 errx(EX_UNAVAILABLE, "name buffer overflow near line %u, character '/'",
120 errx(EX_UNAVAILABLE, "name buffer overflow near line %u, character '>'",
126 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\"'",
134 errx(EX_UNAVAILABLE, "non-empty name expected near line %u",
141 errx(EX_UNAVAILABLE, "name <%s> not 'charmap'-defined near line %u",
161errx(EX_UNAVAILABLE, "non-ASCII or non-printable character 0x%02x not allowed in the map/name near…
164 errx(EX_UNAVAILABLE, "map/name buffer overflow near line %u of %s, character '%c'",
170 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\t'",
176 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\b'",
[all …]
/freebsd-10-stable/tools/regression/audit/audit_pipe_ioctl/
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-10-stable/crypto/heimdal/lib/ntlm/
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()
143 errx(1, "type3 targetname wrong"); in test_parse()
146 errx(1, "type3 username wrong"); in test_parse()
167 errx(1, "heim_ntlm_encode_type2"); in test_parse()
[all …]
/freebsd-10-stable/contrib/netbsd-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 …]
/freebsd-10-stable/crypto/heimdal/lib/gssapi/
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()
106 errx(1, "lifetime not equal %lu != %lu", in copy_import()
112 errx(1, "usages disjoined"); in copy_import()
[all …]
Dtest_context.c97 errx(1, "name '%s' not unknown", name); in string_to_oid()
173 errx(1, "init_sec_context: %s", in loop()
202 errx(1, "accept_sec_context: %s", in loop()
224 errx(1, "got delegated cred but didn't expect one"); in loop()
226 errx(1, "asked for delegarated cred but did get one"); in loop()
228 errx(1, "got deleg_cred cred but didn't ask"); in loop()
231 errx(1, "mech mismatch"); in loop()
235 errx(1, "num loops %d was lager then max loops %d", in loop()
259 errx(1, "gss_wrap failed: %s", in wrapunwrap()
265 errx(1, "gss_unwrap failed: %s", in wrapunwrap()
[all …]
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/stdlib/
Dh_getopt_long.c71 errx(1, "missing optstring at line %ld", in main()
87 errx(1, "missing longopts at line %ld", in main()
104 errx(1, "longopt: without longopts at line %ld", in main()
107 errx(1, "longopt: too many options at line %ld", in main()
114 errx(1, "missing longopt at line %ld", in main()
131 errx(1, "unknown has_arg %s 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()
[all …]
/freebsd-10-stable/tools/regression/sockets/shutdown/
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-10-stable/contrib/netbsd-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 …]
/freebsd-10-stable/usr.sbin/uefisign/
Duefisign.c176 errx(1, "BIO_new_mem_buf(3) failed"); in magic()
182 errx(1, "NCONF_new(3) failed"); in magic()
188 errx(1, "NCONF_load_bio(3) failed"); in magic()
194 errx(1, "NCONF_get_string(3) failed"); in magic()
200 errx(1, "ASN1_generate_nconf(3) failed"); in magic()
222 errx(1, "PKCS7_dataInit(3) failed"); in magic()
230 errx(1, "PKCS7_dataFinal(3) failed"); in magic()
260 errx(1, "BIO_new_mem_buf(3) failed"); in sign()
266 errx(1, "PKCS7_sign(3) failed"); in sign()
272 errx(1, "EVP_get_digestbyname(\"%s\") failed", DIGEST); in sign()
[all …]
/freebsd-10-stable/sbin/mdconfig/
Dmdconfig.c117 errx(1, "-a is mutually exclusive " in main()
123 errx(1, "-d is mutually exclusive " in main()
130 errx(1, "-r is mutually exclusive " in main()
137 errx(1, "-l is mutually exclusive " in main()
147 errx(1, "-t can be passed only once"); in main()
162 errx(1, "unknown type: %s", optarg); in main()
166 errx(1, "-f can be passed only once"); in main()
197 errx(1, "unknown option: %s", optarg); in main()
204 errx(1, "-s can be passed only once"); in main()
224 errx(1, "unknown suffix on -s argument"); in main()
[all …]
/freebsd-10-stable/usr.bin/netstat/
Dnetisr.c115 errx(-1, "%s: kvm_nlist(%s): %s", __func__, name, in netisr_load_kvm_uint()
118 errx(-1, "%s: kvm_nlist(%s): unresolved symbol", __func__, in netisr_load_kvm_uint()
121 errx(-1, "%s: kvm_read(%s): %s", __func__, name, in netisr_load_kvm_uint()
195 errx(-1, "%s: invalid len %ju", name, (uintmax_t)retlen); in netisr_load_sysctl_uint()
244 errx(-1, "%s: NETISR_MAXPROT mismatch", __func__); in netisr_load_kvm_proto()
251 errx(-1, "%s: kvm_nlist(_netisr_proto): %s", __func__, in netisr_load_kvm_proto()
254 errx(-1, "%s: kvm_nlist(_netisr_proto): unresolved symbol", in netisr_load_kvm_proto()
258 errx(-1, "%s: kvm_read(_netisr_proto): %s", __func__, in netisr_load_kvm_proto()
306 errx(-1, "net.isr.proto: invalid len"); in netisr_load_sysctl_proto()
313 errx(-1, "net.isr.proto: invalid len"); in netisr_load_sysctl_proto()
[all …]
/freebsd-10-stable/usr.sbin/smbmsg/
Dsmbmsg.c238 errx(EX_USAGE, "Invalid number: %s", optarg); in main()
240 errx(EX_USAGE, in main()
251 errx(EX_USAGE, "Invalid number: %s", optarg); in main()
253 errx(EX_USAGE, in main()
260 errx(EX_USAGE, "Invalid number: %s", optarg); in main()
262 errx(EX_USAGE, in main()
273 errx(EX_USAGE, "Invalid number: %s", optarg); in main()
276 errx(EX_USAGE, in main()
296 errx(EX_USAGE, "Illegal # IO bytes for word IO"); in main()
298 errx(EX_USAGE, "Nothing to do"); in main()
[all …]
/freebsd-10-stable/crypto/heimdal/lib/asn1/
Dasn1_print.c68 errx (1, "der_get_tag: %s", error_message (ret)); in loop()
70 errx (1, "unreasonable length (%u) > %u", in loop()
87 errx (1, "der_get_tag: %s", error_message (ret)); in loop()
89 errx (1, "unreasonable tag length (%u) > %u", in loop()
101 errx(1, "indef form used on unsupported object"); in loop()
105 errx(1, "indefinite form used recursively more then %lu " in loop()
112 errx (1, "unreasonable inner length (%u) > %u", in loop()
147 errx (1, "der_get_integer: %s", error_message (ret)); in loop()
155 errx (1, "der_get_heim_integer: %s", in loop()
159 errx (1, "der_print_hex_heim_integer: %s", in loop()
[all …]
/freebsd-10-stable/contrib/netcat/
Dsocks.c76 errx(1, "getaddrinfo(\"%.64s\", \"%.64s\"): %s", h, p, in decode_addrport()
83 errx(1, "internal error: addrlen < res->ai_addrlen"); in decode_addrport()
97 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()
177 errx(1, "authentication method negotiation failed"); 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()
229 errx(1, "connection failed, SOCKS error %d", buf[1]); in socks_connect()
[all …]

12345678910>>...39