Symbol: errno
bin/cat/cat.c
250
if (fd < 0 && errno == EOPNOTSUPP)
bin/cat/cat.c
270
if (errno == EINVAL || errno == EBADF ||
bin/cat/cat.c
271
errno == EISDIR)
bin/cat/cat.c
338
if (ferror(fp) && errno == EILSEQ) {
bin/cat/cat.c
456
errno = EINVAL;
bin/cat/cat.c
469
serrno = errno;
bin/cat/cat.c
471
errno = serrno;
bin/cat/cat.c
475
serrno = errno;
bin/cat/cat.c
478
errno = serrno;
bin/cat/cat.c
485
serrno = errno;
bin/cat/cat.c
492
errno = serrno;
bin/cat/cat.c
517
serrno = errno;
bin/cat/cat.c
519
errno = serrno;
bin/chflags/chflags.c
131
errno = 0;
bin/chflags/chflags.c
134
errno = ERANGE;
bin/chflags/chflags.c
135
if (errno)
bin/chflags/chflags.c
151
for (rval = 0; errno = 0, (p = fts_read(ftsp)) != NULL;) {
bin/chflags/chflags.c
186
e = errno;
bin/chflags/chflags.c
206
if (errno)
bin/chmod/chmod.c
153
for (rval = 0; errno = 0, (p = fts_read(ftsp)) != NULL;) {
bin/chmod/chmod.c
213
if (errno)
bin/chmod/chmod.c
243
else if (ret < 0 && errno != EINVAL)
bin/cp/cp.c
238
if (r == -1 && errno != ENOENT)
bin/cp/cp.c
686
if (errno)
bin/cp/extern.h
61
warnc(errno == ENOTCAPABLE ? EACCES : errno, __VA_ARGS__)
bin/cp/extern.h
63
errc(rv, errno == ENOTCAPABLE ? EACCES : errno, __VA_ARGS__)
bin/cp/utils.c
211
if (wcount < 0 && errno == EINVAL) {
bin/cp/utils.c
221
else if (errno != EINTR)
bin/cp/utils.c
367
if (errno != EPERM) {
bin/cp/utils.c
393
if (errno != EOPNOTSUPP || fs->st_flags != 0) {
bin/cp/utils.c
414
} else if (ret < 0 && errno != EINVAL) {
bin/cp/utils.c
424
} else if (ret < 0 && errno != EINVAL) {
bin/cpuset/cpuset.c
132
err(errno, "getid");
bin/cpuset/cpuset.c
257
errno = 0;
bin/cpuset/cpuset.c
259
err(errno == ENOENT ? 127 : 126, "%s", *argv);
bin/dd/args.c
494
errno = 0;
bin/dd/args.c
498
if (errno != 0)
bin/dd/args.c
543
errno = 0;
bin/dd/args.c
547
if (errno != 0)
bin/dd/dd.c
116
if (close(out.fd) == -1 && errno != EINTR)
bin/dd/dd.c
333
errno = 0;
bin/dd/dd.c
334
if (lseek(io->fd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE)
bin/dd/dd.c
608
if (errno != EINTR)
bin/dd/position.c
163
errno = 0;
bin/dd/position.c
165
errno != 0)
bin/dd/position.c
93
errno = 0;
bin/dd/position.c
95
errno != 0)
bin/ed/buf.c
104
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
115
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
220
fprintf(stderr, "%s: %s\n", sfn, strerror(errno));
bin/ed/buf.c
60
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
68
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
88
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/ed.h
108
errno == ERANGE) { \
bin/ed/ed.h
124
fprintf(stderr, "%s\n", strerror(errno)); \
bin/ed/ed.h
131
fprintf(stderr, "%s\n", strerror(errno)); \
bin/ed/ed.h
149
fprintf(stderr, "%s\n", strerror(errno)); \
bin/ed/glbl.c
156
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/glbl.c
165
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/io.c
128
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/io.c
150
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
155
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
159
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
199
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/io.c
271
fprintf(stderr, "stdin: %s\n", strerror(errno));
bin/ed/io.c
43
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
48
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
52
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/main.c
1275
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/main.c
1375
int save_errno = errno;
bin/ed/main.c
1384
errno = save_errno;
bin/ed/re.c
61
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/undo.c
48
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/undo.c
63
fprintf(stderr, "%s\n", strerror(errno));
bin/expr/expr.y
162
errno = 0;
bin/expr/expr.y
165
if (errno != ERANGE) {
bin/getfacl/getfacl.c
123
} else if (ret < 0 && errno != EINVAL) {
bin/getfacl/getfacl.c
133
if (!acl && errno != EOPNOTSUPP) {
bin/kenv/kenv.c
123
if (errno == ENOENT)
bin/ln/ln.c
157
errno = ENOTDIR;
bin/ln/ln.c
241
errno = EISDIR;
bin/ln/ln.c
271
errno = ENAMETOOLONG;
bin/ls/ls.c
680
while (errno = 0, (p = fts_read(ftsp)) != NULL)
bin/ls/ls.c
710
if (chp == NULL && errno != 0) {
bin/ls/ls.c
735
if (errno)
bin/ls/print.c
741
(void)fprintf(stderr, "\nls: %s: %s\n", name, strerror(errno));
bin/ls/print.c
808
} else if (ret < 0 && errno != EINVAL) {
bin/ls/print.c
817
} else if (ret < 0 && errno != EINVAL) {
bin/mkdir/mkdir.c
168
if (errno == EEXIST || errno == EISDIR) {
bin/mkdir/mkdir.c
175
errno = EEXIST;
bin/mkdir/mkdir.c
177
errno = ENOTDIR;
bin/mkdir/mkdir.c
93
if (errno == ENOTDIR || errno == ENOENT)
bin/mv/mv.c
216
if (errno == EXDEV) {
bin/mv/mv.c
277
if (errno == EEXIST && unlink(to) == 0)
bin/mv/mv.c
335
if (errno != EOPNOTSUPP ||
bin/mv/mv.c
376
} else if (errno != ENOENT) {
bin/mv/mv.c
447
} else if (ret < 0 && errno != EINVAL) {
bin/mv/mv.c
457
} else if (ret < 0 && errno != EINVAL) {
bin/pax/ar_io.c
1000
syswarn(1, errno, "Unable to locate tape filemark.");
bin/pax/ar_io.c
1012
syswarn(1, errno, "Unable to backspace over tape filemark.");
bin/pax/ar_io.c
1023
syswarn(1, errno, "Unable to backspace over last tape block.");
bin/pax/ar_io.c
1027
syswarn(1, errno, "Cannot determine archive tape blocksize.");
bin/pax/ar_io.c
1038
syswarn(1, errno, "Unable to locate tape filemark.");
bin/pax/ar_io.c
1044
syswarn(1, errno, "Unable to backspace over tape filemark.");
bin/pax/ar_io.c
1075
syswarn(1,errno,"Unable to backspace tape over %d pad blocks",
bin/pax/ar_io.c
1105
syswarn(0, errno, "Unable to set signal mask");
bin/pax/ar_io.c
1108
syswarn(0, errno, "Unable to restore signal mask");
bin/pax/ar_io.c
115
syswarn(0, errno, "Failed open to read on %s", name);
bin/pax/ar_io.c
124
syswarn(0, errno, "Failed open to write on %s", name);
bin/pax/ar_io.c
135
syswarn(0, errno, "Failed open to read/write on %s",
bin/pax/ar_io.c
151
syswarn(1, errno, "Failed chdir to %s", chdname);
bin/pax/ar_io.c
158
syswarn(0, errno, "Failed stat on %s", arcname);
bin/pax/ar_io.c
177
else if ((lseek(arfd, (off_t)0L, SEEK_CUR) == -1) && (errno == ESPIPE))
bin/pax/ar_io.c
462
syswarn(1, errno, "Unable to truncate archive file");
bin/pax/ar_io.c
567
syswarn(1, errno, "Failed read on archive volume %d", arvol);
bin/pax/ar_io.c
632
if ((errno == ENOSPC) || (errno == EFBIG) || (errno == EDQUOT))
bin/pax/ar_io.c
640
if (errno == EACCES) {
bin/pax/ar_io.c
649
if ((errno == ENOSPC) || (errno == EIO) || (errno == ENXIO))
bin/pax/ar_io.c
686
syswarn(1, errno, "Failed write to archive volume: %d", arvol);
bin/pax/ar_io.c
831
syswarn(1, errno, "Forward positioning operation on archive failed");
bin/pax/ar_io.c
885
syswarn(1, errno,
bin/pax/ar_io.c
910
syswarn(1, errno, "Unable to seek archive backwards");
bin/pax/ar_io.c
957
syswarn(1,errno, "Unable to backspace tape %d blocks.",
bin/pax/ar_subs.c
273
syswarn(1, errno, "Cannot chdir to %s",
bin/pax/ar_subs.c
327
syswarn(1, errno,
bin/pax/ar_subs.c
429
syswarn(1,errno, "Unable to open %s to read",
bin/pax/ar_subs.c
746
syswarn(1, errno, "Cannot access destination directory %s",
bin/pax/ar_subs.c
912
syswarn(1, errno, "Unable to open %s to read",
bin/pax/buf_subs.c
625
syswarn(1, errno, "Read fault on %s", arcn->org_name);
bin/pax/buf_subs.c
629
syswarn(1, errno, "Failed stat on %s", arcn->org_name);
bin/pax/buf_subs.c
678
syswarn(0,errno,"Unable to obtain block size for file %s",fnm);
bin/pax/buf_subs.c
773
syswarn(0,errno,"Unable to obtain block size for file %s",fnm);
bin/pax/buf_subs.c
795
syswarn(1, errno, "Failed write during copy of %s to %s",
bin/pax/buf_subs.c
801
syswarn(1, errno, "Failed stat of %s", arcn->org_name);
bin/pax/file_subs.c
108
oerrno = errno;
bin/pax/file_subs.c
133
syswarn(0, errno, "Unable to close file descriptor on %s",
bin/pax/file_subs.c
175
syswarn(1,errno,"Unable to link to %s from %s", arcn->ln_name,
bin/pax/file_subs.c
288
syswarn(1, errno, "Unable to remove %s", from);
bin/pax/file_subs.c
293
syswarn(1, errno, "Unable to remove %s", from);
bin/pax/file_subs.c
308
oerrno = errno;
bin/pax/file_subs.c
404
oerrno = errno;
bin/pax/file_subs.c
447
syswarn(0, errno,"Could not access %s (stat)",
bin/pax/file_subs.c
510
syswarn(1,errno,"Unable to remove directory %s", name);
bin/pax/file_subs.c
520
syswarn(1, errno, "Could not unlink %s", name);
bin/pax/file_subs.c
648
syswarn(0,errno,"Unable to obtain file stats %s", fnm);
bin/pax/file_subs.c
655
syswarn(1, errno, "Access/modification time set failed on: %s",
bin/pax/file_subs.c
675
if (strcmp(NM_PAX, argv0) == 0 || errno != EPERM || vflag ||
bin/pax/file_subs.c
677
syswarn(1, errno, "Unable to set file uid/gid of %s",
bin/pax/file_subs.c
694
syswarn(1, errno, "Could not set permissions on %s", fnm);
bin/pax/file_subs.c
795
syswarn(1,errno,"File seek on %s",
bin/pax/file_subs.c
812
syswarn(1, errno, "Failed write to file %s", name);
bin/pax/file_subs.c
843
syswarn(1, errno, "Failed seek on file %s", fname);
bin/pax/file_subs.c
848
syswarn(1, errno, "Failed write to file %s", fname);
bin/pax/file_subs.c
929
syswarn(1, errno, "Failed stat on %s", arcn->org_name);
bin/pax/file_subs.c
933
syswarn(1, errno, "File rewind failed on: %s", arcn->org_name);
bin/pax/ftree.c
299
syswarn(1, errno,
bin/pax/ftree.c
304
syswarn(1, errno, "Can't chdir to %s",
bin/pax/ftree.c
471
syswarn(1, errno, "Unable to read symlink %s",
bin/pax/options.c
992
if (errno != ENOENT || mkdir(path, 0777)) {
bin/pax/pax.c
228
syswarn(0, errno, "Can't open current working directory.");
bin/pax/pax.c
410
syswarn(1, errno, "Unable to set up signal handler");
bin/pax/tables.c
340
syswarn(1, errno, "Unable to create temporary file: %s",
bin/pax/tables.c
393
syswarn(1, errno,
bin/pax/tables.c
398
syswarn(1, errno,
bin/pax/tables.c
450
syswarn(1, errno, "Failed write to file time table");
bin/pax/tables.c
452
syswarn(1, errno, "Failed seek on file time table");
bin/pkill/pkill.c
674
if (errno != ESRCH)
bin/pkill/pkill.c
752
if (errno == ENOENT)
bin/pkill/pkill.c
793
if (errno == ENOENT)
bin/pkill/pkill.c
851
if (errno != EWOULDBLOCK) {
bin/pkill/tests/spin_helper.c
85
} while (errno == E2BIG);
bin/ps/ps.c
1012
errno = 0;
bin/ps/ps.c
1014
if (errno != 0 || *endp != '\0' || bigtemp > UID_MAX)
bin/ps/ps.c
591
if ((kp == NULL && errno != ESRCH) || (kp != NULL && nentries < 0))
bin/ps/ps.c
839
errno = 0;
bin/ps/ps.c
841
if (errno == 0 && *endp == '\0' && bigtemp <= GID_MAX) {
bin/ps/ps.c
894
errno = 0;
bin/ps/ps.c
898
errno = ERANGE;
bin/ps/ps.c
899
} else if (errno != 0 || tempid > pid_max) {
bin/ps/ps.c
901
errno = ERANGE;
bin/ps/ps.c
903
if (errno == ERANGE) {
bin/pwait/pwait.c
108
errno = 0;
bin/pwait/pwait.c
110
if (end == optarg || errno == ERANGE || timeout < 0) {
bin/pwait/pwait.c
174
errno = 0;
bin/pwait/pwait.c
176
if (pid < 0 || pid > pid_max || *end != '\0' || errno != 0) {
bin/pwait/pwait.c
195
if (errno != ESRCH)
bin/rm/rm.c
192
if (fflag && errno == ENOENT)
bin/rm/rm.c
196
while (errno = 0, (p = fts_read(fts)) != NULL) {
bin/rm/rm.c
261
if (rval == 0 || (fflag && errno == ENOENT)) {
bin/rm/rm.c
276
if (rval == 0 || (fflag && errno == ENOENT)) {
bin/rm/rm.c
302
if (rval == 0 || (fflag && errno == ENOENT)) {
bin/rm/rm.c
319
if (!fflag && errno)
bin/rm/rm.c
341
if (!fflag || errno != ENOENT) {
bin/rm/rm.c
373
if (rval && (!fflag || errno != ENOENT)) {
bin/setfacl/setfacl.c
222
} else if (ret < 0 && errno != EINVAL && errno != ENOENT) {
bin/setfacl/setfacl.c
499
while (errno = 0, (file = fts_read(ftsp)) != NULL)
bin/setfacl/setfacl.c
501
if (errno != 0)
bin/sh/arith_yacc.c
106
errno = 0;
bin/sh/arith_yacc.c
108
if (errno != 0 || *p != '\0')
bin/sh/arith_yylex.c
72
errno = ERANGE;
bin/sh/arith_yylex.c
75
errno = ERANGE;
bin/sh/bltin/bltin.h
63
#define warn(fmt, ...) warning(fmt ": %s", __VA_ARGS__, strerror(errno))
bin/sh/cd.c
117
if (errno != ENOENT)
bin/sh/cd.c
118
errno1 = errno;
bin/sh/cd.c
134
if (errno != ENOENT)
bin/sh/cd.c
135
errno1 = errno;
bin/sh/cd.c
351
error(".: %s", strerror(errno));
bin/sh/cd.c
396
if (errno != ERANGE)
bin/sh/eval.c
584
error("Pipe call failed: %s", strerror(errno));
bin/sh/eval.c
684
error("Pipe call failed: %s", strerror(errno));
bin/sh/eval.c
986
error("Pipe call failed: %s", strerror(errno));
bin/sh/exec.c
115
e = errno;
bin/sh/exec.c
121
if (errno != ENOENT && errno != ENOTDIR)
bin/sh/exec.c
122
e = errno;
bin/sh/exec.c
177
e = errno;
bin/sh/exec.c
185
errno = ENOEXEC;
bin/sh/exec.c
193
errno = e;
bin/sh/exec.c
407
if (errno != ENOENT && errno != ENOTDIR)
bin/sh/exec.c
408
e = errno;
bin/sh/exec.c
802
argv[i], strerror(errno));
bin/sh/expand.c
485
while ((i = read(in.fd, buf, sizeof buf)) < 0 && errno == EINTR)
bin/sh/expand.c
851
errno = 0;
bin/sh/expand.c
853
if (errno != 0 || num > shellparam.nparam)
bin/sh/histedit.c
138
errno = 0;
bin/sh/histedit.c
139
if (history(hist, &he, H_LOAD, histfile) != -1 || errno == ENOENT)
bin/sh/input.c
161
if (errno == EINTR)
bin/sh/input.c
163
if (parsefile->fd == 0 && errno == EWOULDBLOCK) {
bin/sh/input.c
370
e = errno;
bin/sh/jobs.c
1023
TRACE(("Vfork failed, errno=%d\n", errno));
bin/sh/jobs.c
1025
error("Cannot fork: %s", strerror(errno));
bin/sh/jobs.c
1099
error("tcsetpgrp failed, errno=%d\n", errno);
bin/sh/jobs.c
1188
errno = EINTR;
bin/sh/jobs.c
1195
} while (pid == -1 && errno == EINTR);
bin/sh/jobs.c
1196
if (pid == -1 && errno == ECHILD && job != NULL)
bin/sh/jobs.c
732
errno = ESRCH;
bin/sh/jobs.c
902
TRACE(("Fork failed, errno=%d\n", errno));
bin/sh/jobs.c
904
error("Cannot fork: %s", strerror(errno));
bin/sh/jobs.c
935
error("tcsetpgrp failed, errno=%d", errno);
bin/sh/jobs.c
947
_PATH_DEVNULL, strerror(errno));
bin/sh/jobs.c
959
_PATH_DEVNULL, strerror(errno));
bin/sh/miscbltin.c
274
if (errno == EINTR) {
bin/sh/miscbltin.c
281
warning("read error: %s", strerror(errno));
bin/sh/miscbltin.c
590
errno = 0;
bin/sh/miscbltin.c
592
if (errno != 0 || *end != '\0')
bin/sh/miscbltin.c
607
error("can't get limit: %s", strerror(errno));
bin/sh/miscbltin.c
622
error("can't get limit: %s", strerror(errno));
bin/sh/miscbltin.c
629
error("bad limit: %s", strerror(errno));
bin/sh/mknodes.c
105
error("Can't open %s: %s", argv[1], strerror(errno));
bin/sh/mknodes.c
214
error("Can't open %s: %s", file, strerror(errno));
bin/sh/mknodes.c
216
error("Can't create nodes.h: %s", strerror(errno));
bin/sh/output.c
364
} else if (errno != EINTR) {
bin/sh/redir.c
139
switch (errno) {
bin/sh/redir.c
145
error("%d: %s", fd, strerror(errno));
bin/sh/redir.c
178
error("cannot open %s: %s", fname, strerror(errno));
bin/sh/redir.c
183
error("cannot create %s: %s", fname, strerror(errno));
bin/sh/redir.c
190
error("cannot create %s: %s", fname, strerror(errno));
bin/sh/redir.c
193
error("cannot create %s: %s", fname, strerror(errno));
bin/sh/redir.c
208
error("cannot create %s: %s", fname, strerror(errno));
bin/sh/redir.c
213
error("cannot create %s: %s", fname, strerror(errno));
bin/sh/redir.c
223
strerror(errno));
bin/sh/redir.c
238
e = errno;
bin/sh/redir.c
263
error("Pipe call failed: %s", strerror(errno));
bin/sh/show.c
393
fprintf(stderr, "Can't open %s: %s\n", s, strerror(errno));
bin/sleep/sleep.c
121
if (errno != EINTR)
bin/test/test.c
530
errno = 0;
bin/test/test.c
536
if (errno != 0)
bin/test/test.c
537
error((errno == EINVAL) ? "%s: bad number" :
bin/test/test.c
556
errno = 0;
bin/test/test.c
562
if (errno != 0)
bin/test/test.c
563
error((errno == EINVAL) ? "%s: bad number" :
bin/timeout/timeout.c
175
if (kill(pid, signo) < 0 && errno != ESRCH)
bin/timeout/timeout.c
181
errno != ESRCH) {
bin/timeout/timeout.c
372
_exit(errno == ENOENT ? EXIT_CMD_NOENT : EXIT_CMD_ERROR);
bin/timeout/timeout.c
424
if (errno != EINTR)
bin/uuidgen/uuidgen.c
80
errno = EINVAL;
cddl/usr.sbin/zfsd/zfsd.cc
351
if (errno == EINTR)
cddl/usr.sbin/zfsd/zfsd.cc
421
if (errno == EEXIST)
crypto/heimdal/appl/afsutil/pagsh.c
201
if (errno == ENOENT || c_flag) {
crypto/heimdal/appl/ftp/ftp/ftp.c
1045
errno = d = 0;
crypto/heimdal/appl/ftp/ftp/ftp.c
1065
if (errno != EPIPE)
crypto/heimdal/appl/ftp/ftp/ftp.c
1137
if (errno != EPIPE)
crypto/heimdal/appl/ftp/ftp/ftp.c
661
if (errno != EPIPE)
crypto/heimdal/appl/ftp/ftp/ftp.c
813
errno = d = c = 0;
crypto/heimdal/appl/ftp/ftp/ftp.c
843
if (errno != EPIPE)
crypto/heimdal/appl/ftp/ftp/ftp.c
943
if (errno != ENOENT && errno != EACCES) {
crypto/heimdal/appl/ftp/ftp/ftp.c
960
if (!runique && errno == EACCES &&
crypto/heimdal/appl/ftp/ftp/ftp.c
968
if (runique && errno == EACCES &&
crypto/heimdal/appl/ftp/ftp/ruserpass.c
122
if (errno != ENOENT)
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2394
(yyvsp[(3) - (5)].s), strerror(errno));
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
618
$3, strerror(errno));
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1013
errno = save_errno;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1023
if (errno != 0) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1203
if (errno != EADDRINUSE || tries > 10)
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1215
t = errno;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1219
errno = t;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1237
errno = ETIMEDOUT;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1312
strerror(errno));
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1318
if (errno == EADDRINUSE && retry < swaitmax) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1803
reply(550, "%s.", strerror(errno));
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2174
reply(code, "%s: %s.", string, strerror(errno));
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2236
errno = ENOENT;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
964
int save_errno = errno;
crypto/heimdal/appl/ftp/ftpd/ls.c
309
sec_fprintf2(out, "readlink(%s): %s", filename, strerror(errno));
crypto/heimdal/appl/ftp/ftpd/ls.c
469
if (errno != EINVAL)
crypto/heimdal/appl/ftp/ftpd/ls.c
527
sec_fprintf2(out, "%s: %s\r\n", files[i], strerror(errno));
crypto/heimdal/appl/ftp/ftpd/popen.c
227
while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
crypto/heimdal/appl/gssmask/gssmask.c
702
strerror(errno));
crypto/heimdal/appl/kf/kfd.c
150
krb5_err(context, 1, errno, "gethostname");
crypto/heimdal/appl/kf/kfd.c
207
krb5_err(context, 1, errno, "krb5_read_priv_message");
crypto/heimdal/appl/kf/kfd.c
227
krb5_warn(context, errno, "setgid");
crypto/heimdal/appl/kf/kfd.c
231
krb5_warn(context, errno, "setuid");
crypto/heimdal/appl/login/limits_conf.c
111
if(errno != ENOENT && errno != ENOTDIR)
crypto/heimdal/appl/login/limits_conf.c
160
errno = 0;
crypto/heimdal/appl/login/limits_conf.c
166
if((value == LONG_MIN || value == LONG_MAX) && errno == ERANGE) {
crypto/heimdal/appl/login/login_access.c
119
} else if (errno != ENOENT) {
crypto/heimdal/appl/push/push.c
308
if (errno == EAGAIN)
crypto/heimdal/appl/rcp/rcp.c
292
syserr: run_err("%s: %s", name, strerror(errno));
crypto/heimdal/appl/rcp/rcp.c
340
haderr = result >= 0 ? EIO : errno;
crypto/heimdal/appl/rcp/rcp.c
347
haderr = result >= 0 ? EIO : errno;
crypto/heimdal/appl/rcp/rcp.c
351
haderr = errno;
crypto/heimdal/appl/rcp/rcp.c
368
run_err("%s: %s", name, strerror(errno));
crypto/heimdal/appl/rcp/rcp.c
527
run_err("%s", strerror(errno));
crypto/heimdal/appl/rcp/rcp.c
539
errno = ENOTDIR;
crypto/heimdal/appl/rcp/rcp.c
556
np, strerror(errno));
crypto/heimdal/appl/rcp/rcp.c
565
bad: run_err("%s: %s", np, strerror(errno));
crypto/heimdal/appl/rcp/rcp.c
581
run_err("%s", j ? strerror(errno) :
crypto/heimdal/appl/rcp/rcp.c
593
wrerrno = j >= 0 ? EIO : errno;
crypto/heimdal/appl/rcp/rcp.c
603
wrerrno = j >= 0 ? EIO : errno;
crypto/heimdal/appl/rcp/rcp.c
606
run_err("%s: truncate: %s", np, strerror(errno));
crypto/heimdal/appl/rcp/rcp.c
613
np, strerror(errno));
crypto/heimdal/appl/rcp/rcp.c
618
np, strerror(errno));
crypto/heimdal/appl/rcp/rcp.c
626
np, strerror(errno));
crypto/heimdal/appl/rcp/util.c
155
run_err("fstat: %s", strerror(errno));
crypto/heimdal/appl/rcp/util.c
168
run_err("%s", strerror(errno));
crypto/heimdal/appl/rcp/util.c
88
errno = ENOTDIR;
crypto/heimdal/appl/rcp/util.c
90
run_err("%s: %s", cp, strerror(errno));
crypto/heimdal/appl/rsh/limits_conf.c
111
if(errno != ENOENT && errno != ENOTDIR)
crypto/heimdal/appl/rsh/limits_conf.c
160
errno = 0;
crypto/heimdal/appl/rsh/limits_conf.c
166
if((value == LONG_MIN || value == LONG_MAX) && errno == ERANGE) {
crypto/heimdal/appl/rsh/login_access.c
119
} else if (errno != ENOENT) {
crypto/heimdal/appl/rsh/rsh.c
109
if (errno == EINTR)
crypto/heimdal/appl/rsh/rsh.c
502
if (errno == EINTR)
crypto/heimdal/appl/rsh/rsh.c
647
int save_errno = errno;
crypto/heimdal/appl/rsh/rsh.c
690
errno = save_errno;
crypto/heimdal/appl/rsh/rshd.c
110
syslog (LOG_ERR, "%s: %s: %s", what, strerror(errno), buf + 1);
crypto/heimdal/appl/rsh/rshd.c
126
syslog_and_die("read: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
263
syslog_and_die ("reading auth info: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
440
if (errno == EINTR)
crypto/heimdal/appl/rsh/rshd.c
443
syslog_and_die ("select: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
448
syslog_and_die ("read: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
459
syslog_and_die ("read: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
472
syslog_and_die ("read: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
618
syslog_and_die("getsockname: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
621
syslog_and_die ("getpeername: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
632
syslog_and_die ("reading port number: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
667
syslog_and_die ("socket: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
671
syslog (LOG_WARNING, "connect: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
678
syslog_and_die ("reading auth info: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
751
syslog(LOG_ERR, "setlogin() failed: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
756
syslog(LOG_ERR, "setpcred() failure: %s", strerror(errno));
crypto/heimdal/appl/rsh/rshd.c
971
syslog(LOG_WARNING, "setsockopt (SO_KEEPALIVE): %s", strerror(errno));
crypto/heimdal/appl/telnet/telnet/commands.c
2221
&& (errno != ENOPROTOOPT))
crypto/heimdal/appl/telnet/telnet/commands.c
2231
addrstr, strerror(errno));
crypto/heimdal/appl/telnet/telnet/network.c
147
if (errno != ENOBUFS && errno != EWOULDBLOCK) {
crypto/heimdal/appl/telnet/telnet/network.c
84
} while ((value == -1) && (errno == EINTR));
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
809
if (errno == EINTR) {
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
878
if ((c == -1) && (errno == EINVAL)) {
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
88
errno = 0;
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
928
if (c < 0 && errno == EWOULDBLOCK) {
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
947
if (c < 0 && errno == EIO)
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
949
if (c < 0 && errno == EWOULDBLOCK) {
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1386
save_errno = errno;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
461
|| errno != EIO) {
crypto/heimdal/appl/telnet/telnetd/sys_term.c
791
if(err < 0 && errno != EINVAL)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
800
if(err < 0 && errno != EINVAL)
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1037
if (errno == EINTR) {
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1097
if ((ncc == -1) && (errno == EINVAL)) {
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1113
if (ncc < 0 && errno == EWOULDBLOCK)
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1143
if (pcc < 0 && (errno == EWOULDBLOCK ||
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1145
errno == EAGAIN ||
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1147
errno == EIO)) {
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1258
errno = EAGAIN;
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1299
errno = EAGAIN;
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1312
errno = EAGAIN;
crypto/heimdal/appl/telnet/telnetd/telnetd.c
457
&& (errno != ENOPROTOOPT) )
crypto/heimdal/appl/telnet/telnetd/utility.c
101
} while ((value == -1) && (errno == EINTR));
crypto/heimdal/appl/telnet/telnetd/utility.c
126
if (errno == EWOULDBLOCK || errno == EINTR)
crypto/heimdal/appl/telnet/telnetd/utility.c
293
if (errno == EWOULDBLOCK || errno == EINTR)
crypto/heimdal/appl/telnet/telnetd/utility.c
378
fatalperror_errno(f, msg, errno);
crypto/heimdal/appl/telnet/telnetd/utility.c
64
if (errno == EINTR)
crypto/heimdal/appl/test/tcp_server.c
102
krb5_err (context, 1, errno, "krb5_net_read");
crypto/heimdal/appl/test/tcp_server.c
112
krb5_err (context, 1, errno, "krb5_net_read");
crypto/heimdal/appl/test/tcp_server.c
129
krb5_err (context, 1, errno, "krb5_net_read");
crypto/heimdal/appl/test/tcp_server.c
139
krb5_err (context, 1, errno, "krb5_net_read");
crypto/heimdal/appl/test/tcp_server.c
65
krb5_err (context, 1, errno, "gethostname");
crypto/heimdal/kadmin/check.c
132
krb5_warn(context, errno, "asprintf");
crypto/heimdal/kadmin/check.c
152
krb5_warn(context, errno, "asprintf");
crypto/heimdal/kadmin/check.c
172
krb5_warn(context, errno, "asprintf");
crypto/heimdal/kadmin/check.c
193
krb5_warn(context, errno, "malloc");
crypto/heimdal/kadmin/check.c
199
krb5_warn(context, errno, "asprintf");
crypto/heimdal/kadmin/check.c
214
krb5_warn(context, errno, "asprintf");
crypto/heimdal/kadmin/dump.c
61
krb5_warn(context, errno, "open: %s", argv[0]);
crypto/heimdal/kadmin/kadm_conn.c
253
krb5_warn(contextp, krb5_eai_to_heim_errno(e, errno),
crypto/heimdal/kadmin/load.c
377
krb5_warn(context, errno, "fopen(%s)", filename);
crypto/heimdal/kadmin/rpc.c
260
return (ret < 0)? errno : krb5_storage_get_eof_code(sp);
crypto/heimdal/kadmin/rpc.c
281
return (ret < 0)? errno : krb5_storage_get_eof_code(sp);
crypto/heimdal/kadmin/server.c
576
krb5_err(contextp, 1, errno, "read");
crypto/heimdal/kadmin/server.c
583
krb5_err (contextp, 1, errno, "reading sendauth version");
crypto/heimdal/kadmin/stash.c
109
krb5_warn(context, errno, "setting master key");
crypto/heimdal/kadmin/stash.c
122
if(unlink(new) < 0 && errno != ENOENT) {
crypto/heimdal/kadmin/stash.c
123
ret = errno;
crypto/heimdal/kadmin/stash.c
133
if(link(opt->key_file_string, old) < 0 && errno != ENOENT) {
crypto/heimdal/kadmin/stash.c
134
ret = errno;
crypto/heimdal/kadmin/stash.c
139
ret = errno;
crypto/heimdal/kadmin/stash.c
149
krb5_warn(context, errno, "writing master key file");
crypto/heimdal/kadmin/stash.c
91
krb5_warn(context, errno, "reading passphrase");
crypto/heimdal/kadmin/util.c
594
int save_errno = errno;
crypto/heimdal/kcm/config.c
179
return errno;
crypto/heimdal/kcm/config.c
198
return errno;
crypto/heimdal/kdc/connect.c
271
krb5_warn(context, errno, "socket(%d, %d, 0)", family, type);
crypto/heimdal/kdc/connect.c
289
krb5_warn(context, errno, "bind %s/%d", a_str, ntohs(port));
crypto/heimdal/kdc/connect.c
299
krb5_warn(context, errno, "listen %s/%d", a_str, ntohs(port));
crypto/heimdal/kdc/connect.c
488
krb5_warn(context, errno,
crypto/heimdal/kdc/connect.c
90
krb5_err (context, 1, errno, "realloc");
crypto/heimdal/kdc/connect.c
904
if (errno != EINTR)
crypto/heimdal/kdc/hprop.c
304
krb5_warn (context, errno, "connect %s", host);
crypto/heimdal/kdc/hpropd.c
149
krb5_err(context, 1, errno, "getpeername");
crypto/heimdal/kdc/kstash.c
118
krb5_err(context, 1, errno, "failed to read passphrase");
crypto/heimdal/kdc/kstash.c
140
if(unlink(new) < 0 && errno != ENOENT) {
crypto/heimdal/kdc/kstash.c
141
ret = errno;
crypto/heimdal/kdc/kstash.c
151
if(link(keyfile, old) < 0 && errno != ENOENT) {
crypto/heimdal/kdc/kstash.c
152
ret = errno;
crypto/heimdal/kdc/kstash.c
157
ret = errno;
crypto/heimdal/kdc/kstash.c
167
krb5_warn(context, errno, "writing master key file");
crypto/heimdal/kdc/mit_dump.c
150
return errno;
crypto/heimdal/kdc/pkinit.c
1507
"PK-INIT failed to open ocsp data file %d", errno);
crypto/heimdal/kdc/pkinit.c
1512
ret = errno;
crypto/heimdal/kdc/pkinit.c
1531
"PK-INIT failed to read ocsp data %d", errno);
crypto/heimdal/kdc/process.c
278
int saved_errno = errno;
crypto/heimdal/kpasswd/kpasswdd.c
118
krb5_warn (context, errno, "sendmsg");
crypto/heimdal/kpasswd/kpasswdd.c
688
krb5_err (context, 1, errno, "socket");
crypto/heimdal/kpasswd/kpasswdd.c
692
int save_errno = errno;
crypto/heimdal/kpasswd/kpasswdd.c
714
if (errno == EINTR)
crypto/heimdal/kpasswd/kpasswdd.c
717
krb5_err (context, 1, errno, "select");
crypto/heimdal/kpasswd/kpasswdd.c
727
if(errno == EINTR)
crypto/heimdal/kpasswd/kpasswdd.c
730
krb5_err (context, 1, errno, "recvfrom");
crypto/heimdal/kuser/klist.c
398
if(errno == EDOM)
crypto/heimdal/lib/asn1/lex.c
2264
int oerrno = errno;
crypto/heimdal/lib/asn1/lex.c
2282
errno = oerrno;
crypto/heimdal/lib/asn1/lex.c
962
errno=0; \
crypto/heimdal/lib/asn1/lex.c
965
if( errno != EINTR) \
crypto/heimdal/lib/asn1/lex.c
970
errno=0; \
crypto/heimdal/lib/com_err/lex.c
1399
int oerrno = errno;
crypto/heimdal/lib/com_err/lex.c
1417
errno = oerrno;
crypto/heimdal/lib/com_err/lex.c
639
errno=0; \
crypto/heimdal/lib/com_err/lex.c
642
if( errno != EINTR) \
crypto/heimdal/lib/com_err/lex.c
647
errno=0; \
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
375
*minor_status = errno;
crypto/heimdal/lib/hdb/db.c
107
code = errno;
crypto/heimdal/lib/hdb/db.c
168
return errno;
crypto/heimdal/lib/hdb/db.c
190
code = errno;
crypto/heimdal/lib/hdb/db.c
222
code = errno;
crypto/heimdal/lib/hdb/db.c
248
code = errno;
crypto/heimdal/lib/hdb/db.c
254
return errno;
crypto/heimdal/lib/hdb/db.c
272
if(db->hdb_db == NULL && errno == ENOENT)
crypto/heimdal/lib/hdb/db.c
275
ret = errno;
crypto/heimdal/lib/hdb/db3.c
165
return errno;
crypto/heimdal/lib/hdb/db3.c
220
return errno;
crypto/heimdal/lib/hdb/hdb-mitdb.c
593
code = errno;
crypto/heimdal/lib/hdb/hdb-mitdb.c
647
return errno;
crypto/heimdal/lib/hdb/hdb-mitdb.c
669
code = errno;
crypto/heimdal/lib/hdb/hdb-mitdb.c
701
code = errno;
crypto/heimdal/lib/hdb/hdb-mitdb.c
727
code = errno;
crypto/heimdal/lib/hdb/hdb-mitdb.c
733
return errno;
crypto/heimdal/lib/hdb/hdb-mitdb.c
845
switch (errno) {
crypto/heimdal/lib/hdb/hdb-mitdb.c
856
if(db->hdb_db == NULL && errno == ENOENT)
crypto/heimdal/lib/hdb/hdb-mitdb.c
859
ret = errno;
crypto/heimdal/lib/hdb/hdb.c
147
if(code == 0 || errno != EWOULDBLOCK)
crypto/heimdal/lib/hdb/hdb.c
153
if(errno == EWOULDBLOCK)
crypto/heimdal/lib/hdb/mkey.c
162
int save_errno = errno;
crypto/heimdal/lib/hdb/mkey.c
170
return errno;
crypto/heimdal/lib/hdb/mkey.c
209
int save_errno = errno;
crypto/heimdal/lib/hdb/mkey.c
218
int save_errno = errno;
crypto/heimdal/lib/hdb/mkey.c
255
int save_errno = errno;
crypto/heimdal/lib/hdb/mkey.c
264
int save_errno = errno;
crypto/heimdal/lib/hdb/mkey.c
304
int save_errno = errno;
crypto/heimdal/lib/hdb/mkey.c
320
return errno;
crypto/heimdal/lib/hdb/mkey.c
323
return errno;
crypto/heimdal/lib/hdb/ndbm.c
150
int ret = errno;
crypto/heimdal/lib/hdb/ndbm.c
199
ret = errno;
crypto/heimdal/lib/hdb/ndbm.c
288
return errno;
crypto/heimdal/lib/hdb/ndbm.c
316
ret = errno;
crypto/heimdal/lib/hdb/ndbm.c
325
ret = errno;
crypto/heimdal/lib/hx509/cert.c
3191
context->querystat, strerror(errno));
crypto/heimdal/lib/hx509/ks_dir.c
114
return errno;
crypto/heimdal/lib/hx509/ks_file.c
436
p, strerror(errno));
crypto/heimdal/lib/hx509/revoke.c
341
return errno;
crypto/heimdal/lib/hx509/revoke.c
579
return errno;
crypto/heimdal/lib/ipc/client.c
332
return errno;
crypto/heimdal/lib/ipc/client.c
336
return errno;
crypto/heimdal/lib/ipc/client.c
460
return errno;
crypto/heimdal/lib/ipc/common.c
151
return errno;
crypto/heimdal/lib/ipc/server.c
1095
return errno;
crypto/heimdal/lib/ipc/server.c
1109
return errno;
crypto/heimdal/lib/ipc/server.c
1114
return errno;
crypto/heimdal/lib/kadm5/ad.c
646
errno = ENOMEM;
crypto/heimdal/lib/kadm5/ad.c
659
errno = ENOMEM;
crypto/heimdal/lib/kadm5/init_c.c
443
krb5_warn (context, errno, "connect(%s)", hostname);
crypto/heimdal/lib/kadm5/init_c.c
520
return errno;
crypto/heimdal/lib/kadm5/init_c.c
526
return errno;
crypto/heimdal/lib/kadm5/iprop-log.c
151
ret = errno;
crypto/heimdal/lib/kadm5/iprop-log.c
169
ret = errno;
crypto/heimdal/lib/kadm5/iprop-log.c
181
ret = errno;
crypto/heimdal/lib/kadm5/ipropd_master.c
116
krb5_err (context, 1, errno, "bind");
crypto/heimdal/lib/kadm5/ipropd_master.c
118
krb5_err (context, 1, errno, "listen");
crypto/heimdal/lib/kadm5/ipropd_master.c
154
krb5_err (context, 1, errno, "bind6");
crypto/heimdal/lib/kadm5/ipropd_master.c
156
krb5_err (context, 1, errno, "listen6");
crypto/heimdal/lib/kadm5/ipropd_master.c
60
krb5_err (context, 1, errno, "socket AF_UNIX");
crypto/heimdal/lib/kadm5/ipropd_master.c
66
krb5_err (context, 1, errno, "bind %s", addr.sun_path);
crypto/heimdal/lib/kadm5/ipropd_master.c
893
krb5_err (context, 1, errno, "open %s",
crypto/heimdal/lib/kadm5/ipropd_master.c
936
if (errno == EINTR)
crypto/heimdal/lib/kadm5/ipropd_master.c
939
krb5_err (context, 1, errno, "select");
crypto/heimdal/lib/kadm5/ipropd_master.c
969
krb5_warn (context, errno, "recvfrom");
crypto/heimdal/lib/kadm5/ipropd_slave.c
222
krb5_err(context, 1, errno, "Failed to write log to disk");
crypto/heimdal/lib/kadm5/ipropd_slave.c
225
krb5_err(context, 1, errno, "Failed to sync log to disk");
crypto/heimdal/lib/kadm5/ipropd_slave.c
675
if (errno == EINTR)
crypto/heimdal/lib/kadm5/ipropd_slave.c
678
krb5_err (context, 1, errno, "select");
crypto/heimdal/lib/kadm5/ipropd_slave.c
82
krb5_warn(context, errno, "connection failed to %s[%s]",
crypto/heimdal/lib/kadm5/log.c
102
ret = errno;
crypto/heimdal/lib/kadm5/log.c
108
ret = errno;
crypto/heimdal/lib/kadm5/log.c
112
return errno;
crypto/heimdal/lib/kadm5/log.c
136
return errno;
crypto/heimdal/lib/kadm5/log.c
139
return errno;
crypto/heimdal/lib/kadm5/log.c
203
return errno;
crypto/heimdal/lib/kadm5/log.c
207
return errno;
crypto/heimdal/lib/kadm5/log.c
62
return errno;
crypto/heimdal/lib/kafs/afssys.c
110
if(errno == ENOEXEC && (p = dlerror()) != NULL)
crypto/heimdal/lib/kafs/afssys.c
112
else if (errno != ENOENT)
crypto/heimdal/lib/kafs/afssys.c
113
fprintf(stderr, "dlopen(%s): %s\n", path, strerror(errno));
crypto/heimdal/lib/kafs/afssys.c
190
saved_errno = errno;
crypto/heimdal/lib/kafs/afssys.c
215
errno = EINVAL;
crypto/heimdal/lib/kafs/afssys.c
219
saved_errno = errno;
crypto/heimdal/lib/kafs/afssys.c
221
errno = saved_errno;
crypto/heimdal/lib/kafs/afssys.c
273
errno = ENOSYS;
crypto/heimdal/lib/kafs/afssys.c
332
errno = ENOSYS;
crypto/heimdal/lib/kafs/afssys.c
347
errno = 0;
crypto/heimdal/lib/kafs/afssys.c
368
if (errno == EINVAL) {
crypto/heimdal/lib/kafs/afssys.c
394
if (errno == EINVAL) {
crypto/heimdal/lib/kafs/afssys.c
430
saved_errno = errno;
crypto/heimdal/lib/kafs/afssys.c
561
errno = saved_errno;
crypto/heimdal/lib/krb5/acl.c
259
int save_errno = errno;
crypto/heimdal/lib/krb5/addr_families.c
1188
save_errno = errno;
crypto/heimdal/lib/krb5/config_file.c
501
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
1061
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
130
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
164
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
221
return errno;
crypto/heimdal/lib/krb5/fcache.c
223
return errno;
crypto/heimdal/lib/krb5/fcache.c
229
return errno;
crypto/heimdal/lib/krb5/fcache.c
256
return errno;
crypto/heimdal/lib/krb5/fcache.c
260
if(errno == ENOENT)
crypto/heimdal/lib/krb5/fcache.c
263
return errno;
crypto/heimdal/lib/krb5/fcache.c
274
return errno;
crypto/heimdal/lib/krb5/fcache.c
280
return errno;
crypto/heimdal/lib/krb5/fcache.c
340
int xret = errno;
crypto/heimdal/lib/krb5/fcache.c
400
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
466
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
529
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
831
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
855
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
88
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
964
if (ret && errno != EXDEV) {
crypto/heimdal/lib/krb5/fcache.c
966
ret = errno;
crypto/heimdal/lib/krb5/fcache.c
973
} else if (ret && errno == EXDEV) {
crypto/heimdal/lib/krb5/get_addrs.c
106
ret = errno;
crypto/heimdal/lib/krb5/get_addrs.c
54
ret = errno;
crypto/heimdal/lib/krb5/get_addrs.c
60
ret = errno;
crypto/heimdal/lib/krb5/get_for_creds.c
237
krb5_error_code ret2 = krb5_eai_to_heim_errno(ret, errno);
crypto/heimdal/lib/krb5/get_host_realm.c
231
return errno;
crypto/heimdal/lib/krb5/keytab_file.c
106
return errno;
crypto/heimdal/lib/krb5/keytab_file.c
124
return errno;
crypto/heimdal/lib/krb5/keytab_file.c
384
ret = errno;
crypto/heimdal/lib/krb5/keytab_file.c
556
ret = errno;
crypto/heimdal/lib/krb5/keytab_file.c
68
return (ret < 0)? errno : KRB5_KT_END;
crypto/heimdal/lib/krb5/keytab_file.c
711
ret = errno;
crypto/heimdal/lib/krb5/keytab_file.c
90
return (ret < 0)? errno : KRB5_KT_END;
crypto/heimdal/lib/krb5/keytab_keyfile.c
208
ret = errno;
crypto/heimdal/lib/krb5/keytab_keyfile.c
282
ret = (ret < 0) ? errno : KRB5_KT_END;
crypto/heimdal/lib/krb5/keytab_keyfile.c
338
ret = errno;
crypto/heimdal/lib/krb5/keytab_keyfile.c
359
ret = errno;
crypto/heimdal/lib/krb5/keytab_keyfile.c
392
ret = errno;
crypto/heimdal/lib/krb5/keytab_keyfile.c
408
ret = errno;
crypto/heimdal/lib/krb5/keytab_keyfile.c
417
ret = errno;
crypto/heimdal/lib/krb5/keytab_keyfile.c
424
ret = errno;
crypto/heimdal/lib/krb5/keytab_keyfile.c
440
ret = errno;
crypto/heimdal/lib/krb5/keytab_keyfile.c
74
ret = errno;
crypto/heimdal/lib/krb5/krbhst.c
418
ret = krb5_eai_to_heim_errno(ret, errno);
crypto/heimdal/lib/krb5/kuserok.c
124
return errno;
crypto/heimdal/lib/krb5/kuserok.c
135
return errno;
crypto/heimdal/lib/krb5/kuserok.c
144
return errno;
crypto/heimdal/lib/krb5/kuserok.c
58
return errno;
crypto/heimdal/lib/krb5/kuserok.c
64
return errno;
crypto/heimdal/lib/krb5/log.c
319
ret = errno;
crypto/heimdal/lib/krb5/log.c
329
ret = errno;
crypto/heimdal/lib/krb5/net_write.c
104
if (errno == EINTR)
crypto/heimdal/lib/krb5/net_write.c
97
errno = ETIMEDOUT;
crypto/heimdal/lib/krb5/principal.c
1052
ret = errno;
crypto/heimdal/lib/krb5/read_message.c
49
ret = errno;
crypto/heimdal/lib/krb5/read_message.c
64
ret = errno;
crypto/heimdal/lib/krb5/recvauth.c
103
ret = errno;
crypto/heimdal/lib/krb5/recvauth.c
125
ret = errno;
crypto/heimdal/lib/krb5/recvauth.c
162
ret = errno;
crypto/heimdal/lib/krb5/recvauth.c
202
ret = errno;
crypto/heimdal/lib/krb5/replay.c
137
ret = errno;
crypto/heimdal/lib/krb5/replay.c
163
ret = errno;
crypto/heimdal/lib/krb5/replay.c
214
ret = errno;
crypto/heimdal/lib/krb5/replay.c
233
ret = errno;
crypto/heimdal/lib/krb5/replay.c
244
rk_strerror_r(errno, buf, sizeof(buf));
crypto/heimdal/lib/krb5/send_to_kdc.c
288
return krb5_eai_to_heim_errno(ret, errno);
crypto/heimdal/lib/krb5/send_to_kdc.c
75
if (errno == EINTR)
crypto/heimdal/lib/krb5/sendauth.c
102
ret = errno;
crypto/heimdal/lib/krb5/sendauth.c
109
ret = errno;
crypto/heimdal/lib/krb5/sendauth.c
93
ret = errno;
crypto/heimdal/lib/krb5/sock_principal.c
50
ret = errno;
crypto/heimdal/lib/krb5/sock_principal.c
56
int save_errno = errno;
crypto/heimdal/lib/krb5/store.c
330
return errno;
crypto/heimdal/lib/krb5/store.c
388
return errno;
crypto/heimdal/lib/krb5/store.c
564
return (ret<0)?errno:sp->eof_code;
crypto/heimdal/lib/krb5/store.c
605
return (ret<0)?errno:sp->eof_code;
crypto/heimdal/lib/krb5/store.c
656
return errno;
crypto/heimdal/lib/krb5/store.c
692
return (ret < 0)? errno : sp->eof_code;
crypto/heimdal/lib/krb5/store_emem.c
99
errno = EINVAL;
crypto/heimdal/lib/krb5/store_fd.c
65
return errno;
crypto/heimdal/lib/krb5/store_mem.c
88
errno = EINVAL;
crypto/heimdal/lib/krb5/test_store.c
208
krb5_err(context, 1, errno, "fstat");
crypto/heimdal/lib/krb5/test_store.c
215
krb5_err(context, 1, errno, "fstat");
crypto/heimdal/lib/krb5/test_store.c
306
krb5_err(context, 1, errno, "open(%s)", fn);
crypto/heimdal/lib/krb5/test_store.c
323
krb5_err(context, 1, errno, "open(%s)", fn);
crypto/heimdal/lib/krb5/verify_init.c
92
ret = errno;
crypto/heimdal/lib/krb5/verify_krb5_conf.c
94
if ((v == LONG_MIN || v == LONG_MAX) && errno != 0) {
crypto/heimdal/lib/krb5/write_message.c
49
ret = errno;
crypto/heimdal/lib/roken/dumpdata.c
69
return errno;
crypto/heimdal/lib/roken/dumpdata.c
71
ret = errno;
crypto/heimdal/lib/roken/dumpdata.c
83
ret = errno;
crypto/heimdal/lib/roken/environment.c
120
ret = errno;
crypto/heimdal/lib/roken/flock.c
73
errno = EINVAL;
crypto/heimdal/lib/roken/getcap.c
1003
errno = ENOMEM;
crypto/heimdal/lib/roken/getcap.c
118
errno = ENOMEM;
crypto/heimdal/lib/roken/getcap.c
255
errno = ENOMEM;
crypto/heimdal/lib/roken/getcap.c
268
errno = ENOMEM;
crypto/heimdal/lib/roken/getcap.c
425
errno = ENOMEM;
crypto/heimdal/lib/roken/getcap.c
567
errno = ENOMEM;
crypto/heimdal/lib/roken/getcap.c
606
errno = ENOMEM;
crypto/heimdal/lib/roken/getcap.c
873
errno = ENOMEM;
crypto/heimdal/lib/roken/getifaddrs.c
1006
errno = ret;
crypto/heimdal/lib/roken/getifaddrs.c
1051
if (ioctl (fd, siocgifconf, &ifconf) < 0 && errno != EINVAL) {
crypto/heimdal/lib/roken/getifaddrs.c
1052
ret = errno;
crypto/heimdal/lib/roken/getifaddrs.c
1090
ret = errno;
crypto/heimdal/lib/roken/getifaddrs.c
1152
errno = ret;
crypto/heimdal/lib/roken/getifaddrs.c
1182
errno = ENXIO;
crypto/heimdal/lib/roken/getifaddrs.c
132
#define __set_errno(e) (errno = (e))
crypto/heimdal/lib/roken/getifaddrs.c
319
if ((read_len < 0 && errno == EINTR) || (msg.msg_flags & MSG_TRUNC))
crypto/heimdal/lib/roken/getifaddrs.c
377
int saved_errno = errno;
crypto/heimdal/lib/roken/getifaddrs.c
424
int saved_errno = errno;
crypto/heimdal/lib/roken/getifaddrs.c
454
saved_errno = errno;
crypto/heimdal/lib/roken/getifaddrs.c
467
int saved_errno = errno;
crypto/heimdal/lib/roken/getifaddrs.c
477
int saved_errno = errno;
crypto/heimdal/lib/roken/getifaddrs.c
905
if (ioctl (fd, siocgifconf, &ifconf) < 0 && errno != EINVAL) {
crypto/heimdal/lib/roken/getifaddrs.c
906
ret = errno;
crypto/heimdal/lib/roken/getifaddrs.c
944
ret = errno;
crypto/heimdal/lib/roken/glob.c
587
errno = 0;
crypto/heimdal/lib/roken/glob.c
593
if (pglob->gl_errfunc(buf, errno) ||
crypto/heimdal/lib/roken/glob.c
683
errno = 0;
crypto/heimdal/lib/roken/inet_ntop.c
148
errno = EAFNOSUPPORT;
crypto/heimdal/lib/roken/inet_ntop.c
52
errno = ENOSPC;
crypto/heimdal/lib/roken/inet_ntop.c
89
errno = ENOSPC;
crypto/heimdal/lib/roken/inet_pton.c
110
errno = EAFNOSUPPORT;
crypto/heimdal/lib/roken/mkstemp.c
65
if(fd >= 0 || errno != EEXIST)
crypto/heimdal/lib/roken/net_read.c
54
if (errno == EINTR)
crypto/heimdal/lib/roken/net_write.c
54
if (errno == EINTR)
crypto/heimdal/lib/roken/net_write.c
96
if (errno == EINTR)
crypto/heimdal/lib/roken/readv.c
50
errno = ENOMEM;
crypto/heimdal/lib/roken/recvmsg.c
51
errno = ENOMEM;
crypto/heimdal/lib/roken/sendmsg.c
53
errno = ENOMEM;
crypto/heimdal/lib/roken/simple_exec.c
100
if (errno != EINTR) {
crypto/heimdal/lib/roken/simple_exec.c
200
exit((errno == ENOENT) ? EX_NOTFOUND : EX_NOEXEC);
crypto/heimdal/lib/roken/simple_exec.c
242
exit((errno == ENOENT) ? EX_NOTFOUND : EX_NOEXEC);
crypto/heimdal/lib/roken/simple_exec.c
265
exit((errno == ENOENT) ? EX_NOTFOUND : EX_NOEXEC);
crypto/heimdal/lib/roken/socket.c
328
if ((SOCK_CLOEXEC & type) && s < 0 && errno == EINVAL) {
crypto/heimdal/lib/roken/socket_wrapper.c
1228
errno = EAFNOSUPPORT;
crypto/heimdal/lib/roken/socket_wrapper.c
1238
errno = EPROTONOSUPPORT;
crypto/heimdal/lib/roken/socket_wrapper.c
1247
errno = EPROTONOSUPPORT;
crypto/heimdal/lib/roken/socket_wrapper.c
1291
errno = EINVAL;
crypto/heimdal/lib/roken/socket_wrapper.c
1407
errno = ESOCKTNOSUPPORT;
crypto/heimdal/lib/roken/socket_wrapper.c
1432
errno = ESOCKTNOSUPPORT;
crypto/heimdal/lib/roken/socket_wrapper.c
1445
errno = ESOCKTNOSUPPORT;
crypto/heimdal/lib/roken/socket_wrapper.c
1469
errno = ENFILE;
crypto/heimdal/lib/roken/socket_wrapper.c
1495
errno = EINVAL;
crypto/heimdal/lib/roken/socket_wrapper.c
1508
if (ret == -1 && errno == ENOENT) {
crypto/heimdal/lib/roken/socket_wrapper.c
1509
errno = EHOSTUNREACH;
crypto/heimdal/lib/roken/socket_wrapper.c
1577
errno = ENOTCONN;
crypto/heimdal/lib/roken/socket_wrapper.c
1613
errno = ENOPROTOOPT;
crypto/heimdal/lib/roken/socket_wrapper.c
1633
errno = ENOPROTOOPT;
crypto/heimdal/lib/roken/socket_wrapper.c
1716
errno = EHOSTUNREACH;
crypto/heimdal/lib/roken/socket_wrapper.c
1721
if (ret == -1 && errno == ENOENT) {
crypto/heimdal/lib/roken/socket_wrapper.c
1722
errno = EHOSTUNREACH;
crypto/heimdal/lib/roken/socket_wrapper.c
1750
if (ret == -1 && errno != EAGAIN && errno != ENOBUFS) {
crypto/heimdal/lib/roken/socket_wrapper.c
1771
if (ret == -1 && errno != EAGAIN && errno != ENOBUFS) {
crypto/heimdal/lib/roken/socket_wrapper.c
281
errno = EINVAL;
crypto/heimdal/lib/roken/socket_wrapper.c
286
errno = EINVAL;
crypto/heimdal/lib/roken/socket_wrapper.c
291
errno = EINVAL;
crypto/heimdal/lib/roken/socket_wrapper.c
301
errno = EINVAL;
crypto/heimdal/lib/roken/socket_wrapper.c
319
errno = EINVAL;
crypto/heimdal/lib/roken/socket_wrapper.c
333
errno = EINVAL;
crypto/heimdal/lib/roken/socket_wrapper.c
387
errno = ENETUNREACH;
crypto/heimdal/lib/roken/socket_wrapper.c
416
errno = ENETUNREACH;
crypto/heimdal/lib/roken/socket_wrapper.c
421
errno = EINVAL;
crypto/heimdal/lib/roken/socket_wrapper.c
495
errno = EADDRNOTAVAIL;
crypto/heimdal/lib/roken/socket_wrapper.c
523
errno = ENETUNREACH;
crypto/heimdal/lib/roken/socket_wrapper.c
575
errno = ESOCKTNOSUPPORT;
crypto/heimdal/lib/roken/socket_wrapper.c
587
errno = EAFNOSUPPORT;
crypto/heimdal/lib/roken/socket_wrapper.c
616
errno = ESOCKTNOSUPPORT;
crypto/heimdal/lib/roken/socket_wrapper.c
624
errno = EAFNOSUPPORT;
crypto/heimdal/lib/roken/strcollect.c
53
errno = ENOMEM;
crypto/heimdal/lib/roken/strerror_r.c
54
err = ((code != 0)? errno : 0);
crypto/heimdal/lib/roken/vsyslog.c
68
int saved_errno = errno;
crypto/heimdal/lib/roken/warnerr.c
42
int sverrno = errno;
crypto/heimdal/lib/roken/writev.c
50
errno = ENOMEM;
crypto/heimdal/lib/sl/slc-lex.c
1336
int oerrno = errno;
crypto/heimdal/lib/sl/slc-lex.c
1354
errno = oerrno;
crypto/heimdal/lib/sl/slc-lex.c
618
errno=0; \
crypto/heimdal/lib/sl/slc-lex.c
621
if( errno != EINTR) \
crypto/heimdal/lib/sl/slc-lex.c
626
errno=0; \
crypto/krb5/src/appl/gss-sample/gss-misc.c
127
if (errno == EINTR)
crypto/krb5/src/appl/gss-sample/gss-misc.c
97
if (errno == EINTR)
crypto/krb5/src/appl/sample/sclient/sclient.c
174
fprintf(stderr, "%s: socket: %s\n", mbuf, strerror(errno));
crypto/krb5/src/appl/sample/sclient/sclient.c
178
fprintf(stderr, "%s: connect: %s\n", mbuf, strerror(errno));
crypto/krb5/src/appl/sample/sclient/sclient.c
232
errno = ECONNABORTED;
crypto/krb5/src/appl/sample/sclient/sclient.c
233
com_err(argv[0], errno, "while reading data from server");
crypto/krb5/src/appl/sample/sclient/sclient.c
245
errno = ECONNABORTED;
crypto/krb5/src/appl/sample/sclient/sclient.c
246
com_err(argv[0], errno, "while reading data from server");
crypto/krb5/src/appl/sample/sclient/sclient.c
74
errno = SOCKET_ERRNO;
crypto/krb5/src/appl/simple/client/sim_client.c
167
com_err(progname, errno, "opening datagram socket");
crypto/krb5/src/appl/simple/client/sim_client.c
189
com_err(progname, errno, "while binding datagram socket");
crypto/krb5/src/appl/simple/client/sim_client.c
216
com_err(progname, errno, "while connecting to server");
crypto/krb5/src/appl/simple/client/sim_client.c
222
com_err(progname, errno, "while sending KRB_AP_REQ message");
crypto/krb5/src/appl/simple/client/sim_client.c
232
com_err(progname, errno, "while getting socket name");
crypto/krb5/src/appl/simple/client/sim_client.c
266
com_err(progname, errno, "while sending SAFE message");
crypto/krb5/src/appl/simple/client/sim_client.c
282
com_err(progname, errno, "while sending PRIV message");
crypto/krb5/src/appl/user_user/client.c
100
com_err ("uu-client", errno, "binding socket");
crypto/krb5/src/appl/user_user/client.c
121
com_err ("uu-client", errno, "connecting to \"%s\" (%s).",
crypto/krb5/src/appl/user_user/client.c
92
com_err ("uu-client", errno, "creating socket");
crypto/krb5/src/appl/user_user/server.c
104
com_err("uu-server", errno, "accepting");
crypto/krb5/src/appl/user_user/server.c
164
com_err("uu-server", errno, "getting client address");
crypto/krb5/src/appl/user_user/server.c
171
com_err("uu-server", errno, "getting local address");
crypto/krb5/src/appl/user_user/server.c
74
com_err("uu-server", errno, "creating socket");
crypto/krb5/src/appl/user_user/server.c
92
com_err("uu-server", errno, "binding socket");
crypto/krb5/src/appl/user_user/server.c
96
com_err("uu-server", errno, "listening");
crypto/krb5/src/clients/ksu/heuristic.c
579
retval = errno;
crypto/krb5/src/clients/ksu/krb_auth_su.c
107
com_err("ksu", errno, _("while reclaiming root uid"));
crypto/krb5/src/clients/ksu/krb_auth_su.c
88
com_err("ksu", errno, _("while switching to target uid"));
crypto/krb5/src/clients/ksu/main.c
1004
com_err(prog_name, errno,
crypto/krb5/src/clients/ksu/main.c
175
com_err(prog_name, errno, _("while allocating memory"));
crypto/krb5/src/clients/ksu/main.c
188
com_err (prog_name, errno, _("while setting euid to source user"));
crypto/krb5/src/clients/ksu/main.c
278
com_err(prog_name, errno,
crypto/krb5/src/clients/ksu/main.c
391
com_err(prog_name, errno, _("while returning to source uid after "
crypto/krb5/src/clients/ksu/main.c
468
com_err(prog_name, errno, _("while reclaiming root uid"));
crypto/krb5/src/clients/ksu/main.c
528
com_err(prog_name, errno, _("while switching to target for "
crypto/krb5/src/clients/ksu/main.c
541
com_err(prog_name, errno, _("while switching back from target "
crypto/krb5/src/clients/ksu/main.c
703
com_err(prog_name, errno,
crypto/krb5/src/clients/ksu/main.c
742
com_err(prog_name, errno, _("while trying to execv %s"), params[0]);
crypto/krb5/src/clients/ksu/main.c
768
com_err(prog_name, errno, _("while calling waitpid"));
crypto/krb5/src/clients/ksu/main.c
773
com_err(prog_name, errno, _("while trying to fork."));
crypto/krb5/src/clients/ksu/main.c
778
com_err(prog_name, errno, _("while trying to execv %s"),
crypto/krb5/src/clients/ksu/main.c
827
retval = errno;
crypto/krb5/src/clients/kvno/kvno.c
234
return errno;
crypto/krb5/src/include/k5-util.h
74
# define krb5_seteuid(EUID) (errno = EPERM, -1)
crypto/krb5/src/include/k5-util.h
85
# define krb5_setegid(EGID) (errno = EPERM, -1)
crypto/krb5/src/include/port-sockets.h
219
#define SOCKET_ERRNO errno
crypto/krb5/src/include/port-sockets.h
220
#define SOCKET_SET_ERRNO(x) (errno = (x))
crypto/krb5/src/kadmin/dbutil/dump.c
1127
return errno ? -1 : 0;
crypto/krb5/src/kadmin/dbutil/dump.c
1306
com_err(progname, errno, _("while opening %s for writing"), ofile);
crypto/krb5/src/kadmin/dbutil/dump.c
1439
com_err(progname, errno, _("while opening %s"), dumpfile);
crypto/krb5/src/kadmin/dbutil/dump.c
151
com_err(progname, errno, _("while allocating temporary filename dump"));
crypto/krb5/src/kadmin/dbutil/dump.c
162
com_err(progname, errno, _("while renaming dump file into place"));
crypto/krb5/src/kadmin/dbutil/dump.c
188
com_err(progname, errno, _("while creating 'ok' file, '%s'"), file_ok);
crypto/krb5/src/kadmin/dbutil/tabdump.c
160
errno = EINVAL;
crypto/krb5/src/kadmin/dbutil/tabdump.c
164
errno = EINVAL;
crypto/krb5/src/kadmin/dbutil/tabdump.c
198
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
204
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
221
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
227
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
251
errno = ret;
crypto/krb5/src/kadmin/dbutil/tabdump.c
279
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
281
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
283
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
285
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
303
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
305
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
307
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
309
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
311
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
316
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
324
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
326
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
375
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
377
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
379
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
381
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
383
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
428
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
430
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
432
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
434
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
436
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
438
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
458
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
460
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
480
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
483
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
485
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
494
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
498
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
502
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
506
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
529
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
533
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
537
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
541
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
545
ret = errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
561
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
563
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
565
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
567
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
569
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
571
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
573
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
611
com_err(progname, errno, _("opening %s for writing"),
crypto/krb5/src/kadmin/dbutil/tabdump.c
613
return errno;
crypto/krb5/src/kadmin/dbutil/tabdump.c
630
return errno;
crypto/krb5/src/kadmin/server/auth_acl.c
401
error_message(errno), fname);
crypto/krb5/src/kadmin/server/auth_acl.c
402
ret = errno;
crypto/krb5/src/kadmin/server/auth_acl.c
403
k5_setmsg(context, errno, _("Cannot open %s: %s"), fname,
crypto/krb5/src/kadmin/server/ipropd_svc.c
368
error_message(errno));
crypto/krb5/src/kadmin/server/ipropd_svc.c
379
whoami, error_message(errno));
crypto/krb5/src/kadmin/server/ipropd_svc.c
394
error_message(errno));
crypto/krb5/src/kadmin/server/ipropd_svc.c
414
error_message(errno));
crypto/krb5/src/kadmin/server/ovsec_kadmd.c
125
return errno;
crypto/krb5/src/kadmin/server/ovsec_kadmd.c
127
st1 = (fprintf(file, "%ld\n", pid) < 0) ? errno : 0;
crypto/krb5/src/kadmin/server/ovsec_kadmd.c
128
st2 = (fclose(file) == EOF) ? errno : 0;
crypto/krb5/src/kadmin/server/ovsec_kadmd.c
508
fail_to_start(errno, _("spawning daemon process"));
crypto/krb5/src/kdc/main.c
1011
kdc_err(kcontext, errno, _("creating worker processes"));
crypto/krb5/src/kdc/main.c
533
status = errno;
crypto/krb5/src/kdc/main.c
842
return errno;
crypto/krb5/src/kdc/main.c
844
st1 = (fprintf(file, "%ld\n", pid) < 0) ? errno : 0;
crypto/krb5/src/kdc/main.c
845
st2 = (fclose(file) == EOF) ? errno : 0;
crypto/krb5/src/kdc/main.c
997
kdc_err(kcontext, errno, _("while detaching from tty"));
crypto/krb5/src/kprop/kprop.c
157
com_err(progname, errno, _("while getting default realm"));
crypto/krb5/src/kprop/kprop.c
176
com_err(progname, errno, _("while setting client principal name"));
crypto/krb5/src/kprop/kprop.c
185
com_err(progname, errno, _("while setting server principal name"));
crypto/krb5/src/kprop/kprop.c
242
com_err(progname, errno, _("while creating socket"));
crypto/krb5/src/kprop/kprop.c
247
retval = errno;
crypto/krb5/src/kprop/kprop.c
269
com_err(progname, errno, _("while getting local socket address"));
crypto/krb5/src/kprop/kprop.c
352
com_err(progname, errno, _("while trying to open %s"), dbpathname);
crypto/krb5/src/kprop/kprop.c
358
if (err == EAGAIN || err == EWOULDBLOCK || errno == EACCES) {
crypto/krb5/src/kprop/kprop.c
366
com_err(progname, errno, _("while trying to stat %s"), data_fn);
crypto/krb5/src/kprop/kprop.c
374
com_err(progname, errno, _("while trying to stat %s"), data_ok_fn);
crypto/krb5/src/kprop/kprop.c
588
com_err(progname, errno, _("while creating 'last_prop' file, '%s'"),
crypto/krb5/src/kprop/kpropd.c
1110
com_err(argv[0], errno, _("copying db args"));
crypto/krb5/src/kprop/kpropd.c
1175
com_err(progname, errno, _("Unable to map log!\n"));
crypto/krb5/src/kprop/kpropd.c
1198
com_err(progname, errno, _("while getting local socket address"));
crypto/krb5/src/kprop/kpropd.c
1439
send_error(context, fd, errno, buf);
crypto/krb5/src/kprop/kpropd.c
1581
com_err(progname, errno, _("while trying to fork %s"), kdb_util);
crypto/krb5/src/kprop/kpropd.c
1585
com_err(progname, errno, _("while trying to exec %s"), kdb_util);
crypto/krb5/src/kprop/kpropd.c
1592
com_err(progname, errno, _("while waiting for %s"), kdb_util);
crypto/krb5/src/kprop/kpropd.c
188
return errno;
crypto/krb5/src/kprop/kpropd.c
190
st1 = (fprintf(fp, "%ld\n", pid) < 0) ? errno : 0;
crypto/krb5/src/kprop/kpropd.c
191
st2 = (fclose(fp) == EOF) ? errno : 0;
crypto/krb5/src/kprop/kpropd.c
261
com_err(progname, errno, _("while checking if stdin is a socket"));
crypto/krb5/src/kprop/kpropd.c
286
pid_file, strerror(errno));
crypto/krb5/src/kprop/kpropd.c
298
strerror(errno));
crypto/krb5/src/kprop/kpropd.c
305
strerror(errno));
crypto/krb5/src/kprop/kpropd.c
339
com_err(progname, errno, _("do_iprop failed.\n"));
crypto/krb5/src/kprop/kpropd.c
397
com_err(progname, errno, _("while obtaining socket"));
crypto/krb5/src/kprop/kpropd.c
403
com_err(progname, errno, _("while setting SO_REUSEADDR option"));
crypto/krb5/src/kprop/kpropd.c
411
com_err(progname, errno, _("while unsetting IPV6_V6ONLY option"));
crypto/krb5/src/kprop/kpropd.c
416
com_err(progname, errno, _("while binding listener socket"));
crypto/krb5/src/kprop/kpropd.c
420
com_err(progname, errno, "in listen call");
crypto/krb5/src/kprop/kpropd.c
431
int e = errno;
crypto/krb5/src/kprop/kpropd.c
439
com_err(progname, errno, _("while forking"));
crypto/krb5/src/kprop/kpropd.c
450
} while (wait_pid == -1 && errno == EINTR);
crypto/krb5/src/kprop/kpropd.c
455
"(%d %s)\n"), errno, strerror(errno));
crypto/krb5/src/kprop/kpropd.c
457
com_err(progname, errno,
crypto/krb5/src/kprop/kpropd.c
498
if (errno == ENOTSOCK && fd == 0 && !standalone) {
crypto/krb5/src/kprop/kpropd.c
512
com_err(progname, errno,
crypto/krb5/src/kprop/kpropd.c
559
com_err(progname, errno, _("while opening database file, '%s'"),
crypto/krb5/src/kprop/kpropd.c
565
com_err(progname, errno, _("while renaming %s to %s"),
crypto/krb5/src/kprop/kpropd.c
595
com_err(progname, errno,
crypto/krb5/src/lib/apputils/net-server.c
1114
int e = errno;
crypto/krb5/src/lib/apputils/net-server.c
1157
if (errno != EINTR && errno != EAGAIN
crypto/krb5/src/lib/apputils/net-server.c
1163
&& errno != ECONNREFUSED
crypto/krb5/src/lib/apputils/net-server.c
1165
com_err(conn->prog, errno, _("while receiving from network"));
crypto/krb5/src/lib/apputils/net-server.c
1268
com_err(conn->prog, errno, _("Failed to get address for %d"), s);
crypto/krb5/src/lib/apputils/net-server.c
1286
com_err(conn->prog, errno,
crypto/krb5/src/lib/apputils/net-server.c
1442
error_message(errno));
crypto/krb5/src/lib/apputils/net-server.c
473
#define SOCKET_ERRNO errno
crypto/krb5/src/lib/apputils/net-server.c
627
e = errno;
crypto/krb5/src/lib/apputils/net-server.c
645
com_err(prog, errno, _("Cannot enable SO_REUSEADDR on fd %d"), sock);
crypto/krb5/src/lib/apputils/net-server.c
650
com_err(prog, errno, _("setsockopt(%d,IPV6_V6ONLY,1) failed"),
crypto/krb5/src/lib/apputils/net-server.c
661
e = errno;
crypto/krb5/src/lib/apputils/net-server.c
837
ret = errno;
crypto/krb5/src/lib/apputils/net-server.c
838
com_err(prog, errno, _("Cannot listen on %s server socket on %s"),
crypto/krb5/src/lib/apputils/net-server.c
846
ret = errno;
crypto/krb5/src/lib/apputils/net-server.c
847
com_err(prog, errno,
crypto/krb5/src/lib/apputils/net-server.c
855
ret = errno;
crypto/krb5/src/lib/apputils/net-server.c
856
com_err(prog, errno, _("cannot set SO_LINGER on %s socket on %s"),
crypto/krb5/src/lib/apputils/net-server.c
890
ret = errno;
crypto/krb5/src/lib/apputils/net-server.c
900
ret = errno;
crypto/krb5/src/lib/apputils/udppktinfo.c
153
errno = EINVAL;
crypto/krb5/src/lib/apputils/udppktinfo.c
286
return errno;
crypto/krb5/src/lib/apputils/udppktinfo.c
446
return errno;
crypto/krb5/src/lib/crypto/krb/prng.c
132
errno = 0;
crypto/krb5/src/lib/crypto/krb/prng.c
135
if (errno == EINTR)
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
63
errno = ENOMEM;
crypto/krb5/src/lib/kadm5/logger.c
319
&cp[5], error_message(errno));
crypto/krb5/src/lib/kadm5/logger.c
787
error_message(errno));
crypto/krb5/src/lib/kadm5/srv/pwqual_dict.c
111
if (errno == ENOENT) {
crypto/krb5/src/lib/kadm5/srv/pwqual_dict.c
117
return errno;
crypto/krb5/src/lib/kadm5/srv/pwqual_dict.c
122
return errno;
crypto/krb5/src/lib/kadm5/srv/pwqual_dict.c
131
return errno;
crypto/krb5/src/lib/kdb/kdb_default.c
168
if (statrc == -1 && errno != ENOENT) {
crypto/krb5/src/lib/kdb/kdb_default.c
170
retval = errno;
crypto/krb5/src/lib/kdb/kdb_default.c
201
retval = errno;
crypto/krb5/src/lib/kdb/kdb_default.c
204
tmp_ktpath, keyfile, error_message(errno));
crypto/krb5/src/lib/kdb/kdb_log.c
178
return errno;
crypto/krb5/src/lib/kdb/kdb_log.c
187
return errno;
crypto/krb5/src/lib/kdb/kdb_log.c
517
retval = errno;
crypto/krb5/src/lib/kdb/kdb_log.c
528
retval = errno;
crypto/krb5/src/lib/kdb/kdb_log.c
536
retval = errno;
crypto/krb5/src/lib/krad/internal.h
155
return errno;
crypto/krb5/src/lib/krad/packet.c
160
return errno;
crypto/krb5/src/lib/krad/remote.c
174
return errno;
crypto/krb5/src/lib/krad/remote.c
179
i = errno;
crypto/krb5/src/lib/krad/remote.c
277
if (errno == EWOULDBLOCK || errno == EAGAIN || errno == ENOBUFS ||
crypto/krb5/src/lib/krad/remote.c
278
errno == EINTR)
crypto/krb5/src/lib/krad/remote.c
334
if (i < 0 && (errno == EWOULDBLOCK || errno == EAGAIN || errno == EINTR))
crypto/krb5/src/lib/krad/t_packet.c
128
retval = errno;
crypto/krb5/src/lib/krad/t_packet.c
135
retval = errno;
crypto/krb5/src/lib/krad/t_packet.c
141
retval = errno;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
226
if (errno == ENOENT && mkdir(dirname, S_IRWXU) == 0)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1015
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1081
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1087
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1094
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1102
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1119
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1124
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1328
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
135
return interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
152
return ferror(fp) ? errno : KRB5_CC_END;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
344
return interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
378
return st ? interpret_errno(context, errno) : 0;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
485
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
497
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
517
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
567
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
582
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
593
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
604
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
612
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
619
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
629
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
637
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
645
ret = interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
840
return interpret_errno(context, errno);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
880
errsave = errno;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
890
errsave = errno;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
898
errsave = errno;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
361
ret = errno;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
397
return (st == -1) ? errno : KRB5_CC_IO;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
404
return (st == -1) ? errno : KRB5_CC_IO;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
415
return (st < 0) ? errno : KRB5_CC_IO;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1056
} else if (errno != ENOKEY && errno != EACCES) {
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1058
krcursor->keys[krcursor->currkey], strerror(errno)));
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1225
data->princ_id, strerror(errno)));
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1276
ret = errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1412
ret = errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1442
return errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1474
key, strerror(errno)));
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1550
ret = errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
299
return (key == -1 && errno == ENOTSUP) ? get_persistent_fallback(uid) :
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
344
return errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
346
return errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
350
return errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
492
errno = 0;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
494
if (errno || *cnend != '\0')
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
551
return (key == -1) ? errno : 0;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
612
ret = errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
620
ret = errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
679
ret = errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
717
} else if (errno != EINVAL && errno != ENODEV) {
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
718
return errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
724
return errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
847
return errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
868
ret = errno;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
870
data->collection_id, error_message(errno)));
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
996
DEBUG_PRINT(("Error getting from keyring: %s\n", strerror(errno)));
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1102
error = errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1152
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1257
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1324
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1326
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1331
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1336
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1340
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1350
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1361
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1368
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1370
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1373
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1375
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
302
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
738
errno = 0;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
742
if ((mode == KRB5_LOCKMODE_EXCLUSIVE) && (errno == ENOENT)) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
745
errno = 0;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
752
switch (errno) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
761
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
779
kerror = errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
791
kerror = errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
845
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
859
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
913
return errno;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
928
return errno;
crypto/krb5/src/lib/krb5/krb/ai_authdata.c
278
return errno;
crypto/krb5/src/lib/krb5/krb/parse_host_string.c
105
errno = 0;
crypto/krb5/src/lib/krb5/krb/parse_host_string.c
107
if (errno || endptr == port || *endptr != '\0' || l > 65535)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
531
errno = 0;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
533
if (errno != 0) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
534
retval = errno;
crypto/krb5/src/lib/krb5/krb/sendauth.c
74
return((len < 0) ? errno : ECONNABORTED);
crypto/krb5/src/lib/krb5/krb/str_conv.c
240
return errno;
crypto/krb5/src/lib/krb5/os/c_ustime.c
67
return errno;
crypto/krb5/src/lib/krb5/os/genaddrs.c
104
return errno;
crypto/krb5/src/lib/krb5/os/hostrealm.c
247
return errno;
crypto/krb5/src/lib/krb5/os/krbfileio.c
84
return errno;
crypto/krb5/src/lib/krb5/os/krbfileio.c
94
return errno;
crypto/krb5/src/lib/krb5/os/localaddr.c
1082
int e = errno;
crypto/krb5/src/lib/krb5/os/localaddr.c
431
return errno;
crypto/krb5/src/lib/krb5/os/localaddr.c
553
retval = errno;
crypto/krb5/src/lib/krb5/os/localaddr.c
566
retval = errno;
crypto/krb5/src/lib/krb5/os/localaddr.c
726
retval = errno;
crypto/krb5/src/lib/krb5/os/localaddr.c
739
retval = errno;
crypto/krb5/src/lib/krb5/os/localaddr.c
883
code = errno;
crypto/krb5/src/lib/krb5/os/localauth_k5login.c
121
ret = errno;
crypto/krb5/src/lib/krb5/os/localauth_k5login.c
129
ret = errno;
crypto/krb5/src/lib/krb5/os/localauth_rule.c
230
errno = 0;
crypto/krb5/src/lib/krb5/os/localauth_rule.c
232
if (errno != 0 || num_comps < 0 || *end != ':')
crypto/krb5/src/lib/krb5/os/localauth_rule.c
249
errno = 0;
crypto/krb5/src/lib/krb5/os/localauth_rule.c
251
if (errno || ind > num_comps)
crypto/krb5/src/lib/krb5/os/lock_file.c
155
if (errno == EACCES || errno == EAGAIN) /* see POSIX/IEEE 1003.1-1988,
crypto/krb5/src/lib/krb5/os/lock_file.c
158
if (errno != EINVAL) /* Fall back to flock if we get EINVAL */
crypto/krb5/src/lib/krb5/os/lock_file.c
159
return(errno);
crypto/krb5/src/lib/krb5/os/lock_file.c
160
retval = errno;
crypto/krb5/src/lib/krb5/os/lock_file.c
167
retval = errno;
crypto/krb5/src/lib/krb5/os/lock_file.c
99
if (st == 0 || errno != EINVAL)
crypto/krb5/src/lib/krb5/os/net_read.c
51
errno = SOCKET_ERRNO;
crypto/krb5/src/lib/krb5/os/net_write.c
65
errno = SOCKET_ERRNO;
crypto/krb5/src/lib/krb5/os/read_msg.c
41
return((len2 < 0) ? errno : ECONNABORTED);
crypto/krb5/src/lib/krb5/os/read_msg.c
57
return((len2 < 0) ? errno : ECONNABORTED);
crypto/krb5/src/lib/krb5/os/sendto_kdc.c
182
return errno;
crypto/krb5/src/lib/krb5/os/sendto_kdc.c
788
return errno;
crypto/krb5/src/lib/krb5/os/t_gifconf.c
102
int e = errno;
crypto/krb5/src/lib/krb5/os/t_gifconf.c
104
errno = e;
crypto/krb5/src/lib/krb5/os/timeofday.c
47
return (krb5_error_code) errno;
crypto/krb5/src/lib/krb5/os/trace.c
461
return errno;
crypto/krb5/src/lib/krb5/os/write_msg.c
64
return errno;
crypto/krb5/src/lib/krb5/rcache/rc_dfl.c
105
ret = errno;
crypto/krb5/src/lib/krb5/rcache/rc_dfl.c
71
ret = (*fd_out < 0) ? errno : 0;
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
116
return errno;
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
119
return errno;
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
151
return errno;
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
159
return errno;
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
250
ret = errno;
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
85
return errno;
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
88
return errno;
crypto/krb5/src/lib/rpc/bindresvport.c
70
errno = EPFNOSUPPORT;
crypto/krb5/src/lib/rpc/bindresvport.c
77
errno = EADDRINUSE;
crypto/krb5/src/lib/rpc/bindresvport.c
78
for (i = 0; i < NPORTS && res < 0 && errno == EADDRINUSE; i++) {
crypto/krb5/src/lib/rpc/clnt_tcp.c
141
rpc_createerr.cf_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_tcp.c
148
rpc_createerr.cf_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_tcp.c
175
rpc_createerr.cf_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_tcp.c
467
if (errno == EINTR)
crypto/krb5/src/lib/rpc/clnt_tcp.c
470
ct->ct_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_tcp.c
485
ct->ct_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_tcp.c
503
ct->ct_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_udp.c
137
rpc_createerr.cf_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_udp.c
146
rpc_createerr.cf_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_udp.c
186
rpc_createerr.cf_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_udp.c
284
cu->cu_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_udp.c
332
if (errno == EINTR)
crypto/krb5/src/lib/rpc/clnt_udp.c
334
cu->cu_error.re_errno = errno;
crypto/krb5/src/lib/rpc/clnt_udp.c
342
} while (inlen < 0 && errno == EINTR);
crypto/krb5/src/lib/rpc/clnt_udp.c
344
if (errno == EWOULDBLOCK)
crypto/krb5/src/lib/rpc/clnt_udp.c
346
cu->cu_error.re_errno = errno;
crypto/krb5/src/lib/rpc/pmap_rmt.c
359
if (errno == EINTR)
crypto/krb5/src/lib/rpc/pmap_rmt.c
371
if (errno == EINTR)
crypto/krb5/src/lib/rpc/svc_run.c
63
if (errno == EINTR) {
crypto/krb5/src/lib/rpc/svc_tcp.c
288
if (errno == EINTR)
crypto/krb5/src/lib/rpc/svc_tcp.c
380
if (errno == EINTR) {
crypto/krb5/src/lib/rpc/svc_udp.c
216
if (errno == EINTR)
crypto/krb5/src/lib/rpc/svc_udp.c
225
if (rlen == -1 && errno == EINTR)
crypto/krb5/src/plugins/kdb/db2/adb_openclose.c
270
ret = errno;
crypto/krb5/src/plugins/kdb/db2/adb_openclose.c
330
if (db->db == NULL && IS_EFTYPE(errno))
crypto/krb5/src/plugins/kdb/db2/adb_openclose.c
334
return (errno == EINVAL) ? OSA_ADB_BAD_DB : errno;
crypto/krb5/src/plugins/kdb/db2/adb_openclose.c
38
return errno;
crypto/krb5/src/plugins/kdb/db2/adb_openclose.c
40
return errno;
crypto/krb5/src/plugins/kdb/db2/adb_openclose.c
45
return errno;
crypto/krb5/src/plugins/kdb/db2/adb_openclose.c
57
return errno;
crypto/krb5/src/plugins/kdb/db2/adb_policy.c
335
ret = errno;
crypto/krb5/src/plugins/kdb/db2/adb_policy.c
365
ret = errno;
crypto/krb5/src/plugins/kdb/db2/adb_policy.c
75
ret = errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
1132
retval = errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
1436
retval = errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
1440
retval = errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
373
if (db == NULL && IS_EFTYPE(errno)) {
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
387
k5_prependmsg(context, errno, _("Cannot open DB2 database '%s'"),
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
393
return (db == NULL) ? errno : 0;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
498
retval = errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
628
return errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
675
return errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
679
retval = errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
700
retval = errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
784
retval = errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
847
retval = dbret ? errno : 0;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
882
retval = errno;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
915
retval = dbret ? errno : 0;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
920
retval = dbret ? errno : 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
133
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
119
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
79
errno = EPERM;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
79
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
327
einval: errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
330
eftype: errno = EFTYPE;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
363
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
369
if (errno != EINVAL) /* It's OK to not exist. */
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
371
errno = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
472
errno = ENOENT;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
108
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
89
errno = EPERM;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
140
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
197
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/db/db.c
69
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
107
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
124
(stat(file, &statbuf) && (errno == ENOENT))) {
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
125
if (errno == ENOENT)
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
126
errno = 0; /* In case someone looks at errno. */
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
131
RETURN_ERROR(errno, error0);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
138
RETURN_ERROR(errno, error1);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
188
RETURN_ERROR(errno, error1);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
245
save_errno = errno;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
247
errno = save_errno;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
256
errno = save_errno;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
285
errno = ENOENT;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
321
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
332
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
479
save_errno = errno;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
525
errno = save_errno;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
600
hashp->local_errno = errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
613
hashp->local_errno = errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
617
hashp->local_errno = errno = EPERM;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
631
hashp->local_errno = errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
635
hashp->local_errno = errno = EPERM;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
802
hashp->local_errno = errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/mpool.c
220
errno = E2BIG;
crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/mpool.c
230
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/mpool.c
406
errno = E2BIG;
crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/mpool.c
74
errno = ESPIPE;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
97
einval: errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
80
errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
127
errno = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
128
if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
216
einval: errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
217
err: sverrno = errno;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
222
errno = sverrno;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
241
errno = ENOENT;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
132
einval: errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
110
err: sverrno = errno;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
121
errno = sverrno;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
104
einval: errno = EINVAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/SEQ_TEST/t.c
27
printf("\n Open error on test.db %d %s\n",errno,strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/SEQ_TEST/t.c
47
printf("\n Error on dbopen %d %s\n",errno,strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
246
(void)fprintf(stderr, "dbopen: %s\n", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
265
"/dev/tty: %s\n", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
273
if (ferror(ifp) && errno == EINTR) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
670
(void)fprintf(stderr, "%s: %s\n", argv[1], strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
693
(void)fprintf(stderr, "%s: %s\n", argv[1], strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
723
(void)fprintf(stderr, "%s: %s\n", argv[1], strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
153
err("%s: %s", optarg, strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
173
err("%s: %s", *argv, strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
200
err("dbopen: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
230
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
373
err("db->close: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
409
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
412
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
416
err("line %lu: get: %s", lineno, strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
423
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
441
err("line %lu: getdata: %s", lineno, strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
456
err("line %lu: put: %s", lineno, strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
461
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
473
err("line %lu: rem: %s", lineno, strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
480
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
500
err("line %lu: synk: %s", lineno, strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
513
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
516
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
519
err("line %lu: seq: %s", lineno, strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
526
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
557
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
560
err("write: %s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
567
lineno, strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
769
err("%s: %s\n", name, strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
775
err("%s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
777
err("%s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
789
err("%s", strerror(errno));
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
103
fprintf(stderr, "\terrno: %d\n", errno);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
119
fprintf(stderr, "\terrno: %d\n", errno);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
123
fprintf(stderr, "\terrno: %d\n", errno);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
82
fprintf(stderr, "\terrno: %d\n", errno);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
627
com_err(progname, errno, _("while storing key"));
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
195
com_err(me, errno, _("Failed to open file %s: %s"), file_name,
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
196
strerror (errno));
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
216
com_err(me, errno,
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
222
com_err(me, errno,
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
248
com_err(me, errno, _("Error creating file %s"), tmp_file);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
259
com_err(me, errno, _("Failed to write service object "
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
268
com_err(me, errno, _("Failed to write service object "
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
279
com_err(me, errno,
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
294
com_err(me, errno,
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
77
ret = errno;
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
438
return errno;
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
462
return errno;
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
466
ret = errno;
crypto/krb5/src/plugins/preauth/otp/otp_state.c
101
retval = errno;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1329
retval = errno;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1426
retval = errno;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4086
TRACE_PKINIT_PKCS_OPEN_FAIL(context, idopts->cert_filename, errno);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
273
if ((slotid == LONG_MIN || slotid == LONG_MAX) && errno != 0) {
crypto/krb5/src/plugins/pwqual/test/main.c
64
return (errno == ENOENT) ? 0 : errno;
crypto/krb5/src/plugins/pwqual/test/main.c
67
return errno;
crypto/krb5/src/plugins/pwqual/test/main.c
73
return errno;
crypto/krb5/src/plugins/tls/k5tls/openssl.c
353
return errno;
crypto/krb5/src/util/profile/prof_file.c
318
return errno;
crypto/krb5/src/util/profile/prof_file.c
358
errno = 0;
crypto/krb5/src/util/profile/prof_file.c
361
return (errno != 0) ? errno : ENOENT;
crypto/krb5/src/util/profile/prof_file.c
424
errno = 0;
crypto/krb5/src/util/profile/prof_file.c
428
retval = errno;
crypto/krb5/src/util/profile/prof_file.c
437
retval = errno;
crypto/krb5/src/util/profile/prof_file.c
450
retval = errno;
crypto/krb5/src/util/profile/prof_file.c
453
} else if (errno == ENOENT && can_create) {
crypto/krb5/src/util/profile/prof_file.c
455
retval = errno;
crypto/krb5/src/util/profile/prof_file.c
466
retval = errno;
crypto/krb5/src/util/profile/prof_file.c
470
retval = errno;
crypto/krb5/src/util/profile/prof_get.c
291
errno = 0;
crypto/krb5/src/util/profile/prof_get.c
295
if ((ret_long == LONG_MIN || ret_long == LONG_MAX) && errno != 0)
crypto/krb5/src/util/ss/help.c
107
*code_ptr = errno;
crypto/krb5/src/util/ss/help.c
118
*code_ptr = errno;
crypto/krb5/src/util/ss/help.c
73
ss_perror(sci_idx, errno, "Can't fork for pager");
crypto/krb5/src/util/ss/invocation.c
103
*code_ptr = errno;
crypto/krb5/src/util/ss/invocation.c
52
*code_ptr = errno;
crypto/krb5/src/util/ss/invocation.c
59
*code_ptr = errno;
crypto/krb5/src/util/ss/invocation.c
72
*code_ptr = errno;
crypto/krb5/src/util/ss/invocation.c
85
*code_ptr = errno;
crypto/krb5/src/util/ss/invocation.c
92
*code_ptr = errno;
crypto/krb5/src/util/ss/pager.c
109
exit(errno);
crypto/krb5/src/util/ss/parse.c
66
ss_error(sci_idx, errno, "Can't allocate storage");
crypto/krb5/src/util/ss/parse.c
97
ss_error(sci_idx, errno, "Can't allocate storage");
crypto/krb5/src/util/ss/request_tbl.c
27
*code_ptr = errno;
crypto/krb5/src/util/support/fake-addrinfo.c
1023
case EAI_SYSTEM: return strerror (errno);
crypto/krb5/src/util/support/fake-addrinfo.c
1036
if (errno == ENOMEM)
crypto/krb5/src/util/support/fake-addrinfo.c
657
errno = err;
crypto/krb5/src/util/support/fake-addrinfo.c
930
errno = EINVAL;
crypto/krb5/src/util/support/fake-addrinfo.c
935
errno = EINVAL;
crypto/krb5/src/util/support/mkstemp.c
103
errno = ENOTDIR;
crypto/krb5/src/util/support/mkstemp.c
116
if (errno != EEXIST)
crypto/krb5/src/util/support/mkstemp.c
120
return(errno == ENOENT ? 1 : 0);
crypto/krb5/src/util/support/secure_getenv.c
101
errno = saved_errno;
crypto/krb5/src/util/support/secure_getenv.c
73
int saved_errno = errno;
crypto/krb5/src/util/support/strerror_r.c
46
errno = st;
crypto/krb5/src/util/support/strerror_r.c
59
errno = ERANGE;
crypto/krb5/src/util/support/strerror_r.c
80
errno = ERANGE;
crypto/krb5/src/util/verto/ev.c
1705
ev_printerr (strerror (errno));
crypto/krb5/src/util/verto/ev.c
2178
if (!fd_valid (fd) && errno == EBADF)
crypto/krb5/src/util/verto/ev.c
2398
if (fds [1] < 0 && errno == EINVAL)
crypto/krb5/src/util/verto/ev.c
2455
old_errno = errno; /* save errno because write will clobber it */
crypto/krb5/src/util/verto/ev.c
2477
errno = old_errno;
crypto/krb5/src/util/verto/ev.c
2667
|| errno != EINVAL
crypto/krb5/src/util/verto/ev.c
4063
if (sigfd < 0 && errno == EINVAL)
crypto/krb5/src/util/verto/ev.c
4259
if ((errno == ENOENT || errno == EACCES) && strlen (w->path) < 4096)
crypto/krb5/src/util/verto/ev.c
4267
| (errno == EACCES ? IN_ATTRIB : IN_CREATE | IN_MOVED_TO);
crypto/krb5/src/util/verto/ev.c
4277
while (w->wd < 0 && (errno == ENOENT || errno == EACCES));
crypto/krb5/src/util/verto/ev_poll.c
100
if (errno == EBADF)
crypto/krb5/src/util/verto/ev_poll.c
102
else if (errno == ENOMEM && !syserr_cb)
crypto/krb5/src/util/verto/ev_poll.c
104
else if (errno != EINTR)
crypto/krb5/src/util/verto/ev_select.c
177
errno = WSAGetLastError ();
crypto/krb5/src/util/verto/ev_select.c
181
if (errno >= WSABASEERR && errno < WSABASEERR + 1000)
crypto/krb5/src/util/verto/ev_select.c
182
if (errno == WSAENOTSOCK)
crypto/krb5/src/util/verto/ev_select.c
183
errno = EBADF;
crypto/krb5/src/util/verto/ev_select.c
185
errno -= WSABASEERR;
crypto/krb5/src/util/verto/ev_select.c
196
if (errno == EINVAL)
crypto/krb5/src/util/verto/ev_select.c
208
if (errno == EBADF)
crypto/krb5/src/util/verto/ev_select.c
210
else if (errno == ENOMEM && !syserr_cb)
crypto/krb5/src/util/verto/ev_select.c
212
else if (errno != EINTR)
crypto/krb5/src/util/verto/ev_win32.c
114
errno = WSAEINVAL;
crypto/libecc/src/tests/ec_utils.c
538
errno = 0;
crypto/libecc/src/tests/ec_utils.c
542
if(errno){
crypto/openssh/atomicio.c
115
errno = EINVAL;
crypto/openssh/atomicio.c
131
if (errno == EINTR) {
crypto/openssh/atomicio.c
134
errno = EINTR;
crypto/openssh/atomicio.c
138
} else if (errno == EAGAIN || errno == EWOULDBLOCK) {
crypto/openssh/atomicio.c
144
errno = EPIPE;
crypto/openssh/atomicio.c
157
errno = EFAULT;
crypto/openssh/atomicio.c
167
errno = EINTR;
crypto/openssh/atomicio.c
69
if (errno == EINTR) {
crypto/openssh/atomicio.c
72
errno = EINTR;
crypto/openssh/atomicio.c
76
} else if (errno == EAGAIN || errno == EWOULDBLOCK) {
crypto/openssh/atomicio.c
82
errno = EPIPE;
crypto/openssh/atomicio.c
87
errno = EINTR;
crypto/openssh/audit-bsm.c
144
r == EAI_SYSTEM ? strerror(errno) : gai_strerror(r));
crypto/openssh/audit-bsm.c
294
__func__, string, strerror(errno));
crypto/openssh/audit-bsm.c
327
SetAuditFuncText, strerror(errno));
crypto/openssh/audit-linux.c
48
if (errno == EINVAL || errno == EPROTONOSUPPORT ||
crypto/openssh/audit-linux.c
49
errno == EAFNOSUPPORT)
crypto/openssh/audit-linux.c
57
saved_errno = errno;
crypto/openssh/audit-linux.c
66
errno = saved_errno;
crypto/openssh/audit-linux.c
90
fatal("linux_audit_write_entry failed: %s", strerror(errno));
crypto/openssh/auth-krb5.c
255
oerrno = errno;
crypto/openssh/auth-krb5.c
263
oerrno = errno;
crypto/openssh/auth-pam.c
166
if (errno == EINTR)
crypto/openssh/auth-pam.c
198
error("fork(): %s", strerror(errno));
crypto/openssh/auth-pam.c
199
return errno;
crypto/openssh/auth-pam.c
231
if (errno == EINTR)
crypto/openssh/auth-pam.c
233
fatal("%s: waitpid: %s", __func__, strerror(errno));
crypto/openssh/auth-pam.c
291
fatal("%s: setreuid failed: %s", __func__, strerror(errno));
crypto/openssh/auth-pam.c
294
fatal("%s: setreuid failed: %s", __func__, strerror(errno));
crypto/openssh/auth-pam.c
499
strerror(errno));
crypto/openssh/auth-pam.c
824
error("PAM: failed create sockets: %s", strerror(errno));
crypto/openssh/auth-rhosts.c
286
debug3_f("stat %s: %s", path, strerror(errno));
crypto/openssh/auth2-pubkey.c
416
username, strerror(errno));
crypto/openssh/auth2-pubkey.c
687
username, strerror(errno));
crypto/openssh/auth2-pubkeyfile.c
451
if (errno != ENOENT) {
crypto/openssh/auth2-pubkeyfile.c
453
pw->pw_name, file_type, file, strerror(errno));
crypto/openssh/auth2-pubkeyfile.c
456
pw->pw_name, file_type, file, strerror(errno));
crypto/openssh/authfd.c
105
oerrno = errno;
crypto/openssh/authfd.c
107
errno = oerrno;
crypto/openssh/authfile.c
288
errno = ENOENT;
crypto/openssh/authfile.c
291
oerrno = errno;
crypto/openssh/authfile.c
293
errno = oerrno;
crypto/openssh/authfile.c
519
oerrno = errno;
crypto/openssh/authfile.c
521
errno = oerrno;
crypto/openssh/canohost.c
147
verbose_f("gethostname: %s", strerror(errno));
crypto/openssh/canohost.c
173
error("getsockname failed: %.100s", strerror(errno));
crypto/openssh/canohost.c
178
debug("getpeername failed: %.100s", strerror(errno));
crypto/openssh/channels.c
1846
oerrno = errno;
crypto/openssh/channels.c
1850
errno = oerrno;
crypto/openssh/channels.c
1853
if (errno != EINTR && errno != EWOULDBLOCK &&
crypto/openssh/channels.c
1854
errno != ECONNABORTED)
crypto/openssh/channels.c
1855
error("accept: %.100s", strerror(errno));
crypto/openssh/channels.c
1856
if (errno == EMFILE || errno == ENFILE)
crypto/openssh/channels.c
1982
if (errno != EINTR && errno != EWOULDBLOCK &&
crypto/openssh/channels.c
1983
errno != ECONNABORTED)
crypto/openssh/channels.c
1984
error("accept: %.100s", strerror(errno));
crypto/openssh/channels.c
1985
if (errno == EMFILE || errno == ENFILE)
crypto/openssh/channels.c
2020
error("accept from auth socket: %.100s", strerror(errno));
crypto/openssh/channels.c
2021
if (errno == EMFILE || errno == ENFILE)
crypto/openssh/channels.c
2048
err = errno;
crypto/openssh/channels.c
2142
if (errno == EINTR || (!force &&
crypto/openssh/channels.c
2143
(errno == EAGAIN || errno == EWOULDBLOCK)))
crypto/openssh/channels.c
2154
errno = 0;
crypto/openssh/channels.c
2157
if (pty_zeroread && len == 0 && errno != 0)
crypto/openssh/channels.c
2159
if (len == -1 && (errno == EINTR ||
crypto/openssh/channels.c
2160
((errno == EAGAIN || errno == EWOULDBLOCK) && !force)))
crypto/openssh/channels.c
2165
len == 0 ? "closed" : strerror(errno));
crypto/openssh/channels.c
2228
if (len == -1 && (errno == EINTR || errno == EAGAIN ||
crypto/openssh/channels.c
2229
errno == EWOULDBLOCK))
crypto/openssh/channels.c
2244
(errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK))
crypto/openssh/channels.c
2296
if (len == -1 && (errno == EINTR || errno == EAGAIN ||
crypto/openssh/channels.c
2297
errno == EWOULDBLOCK))
crypto/openssh/channels.c
2325
if (len == -1 && (errno == EINTR || ((errno == EAGAIN ||
crypto/openssh/channels.c
2326
errno == EWOULDBLOCK) && !force)))
crypto/openssh/channels.c
2406
if (len == -1 && (errno == EINTR || errno == EAGAIN))
crypto/openssh/channels.c
2467
if (len == -1 && (errno == EINTR || errno == EAGAIN))
crypto/openssh/channels.c
2506
error_f("accept: %s", strerror(errno));
crypto/openssh/channels.c
2507
if (errno == EMFILE || errno == ENFILE)
crypto/openssh/channels.c
2513
error_f("getpeereid failed: %s", strerror(errno));
crypto/openssh/channels.c
3882
strerror(errno));
crypto/openssh/channels.c
3901
ntop, strport, strerror(errno));
crypto/openssh/channels.c
3904
ntop, strport, strerror(errno));
crypto/openssh/channels.c
3912
strerror(errno));
crypto/openssh/channels.c
4613
error("socket: %.100s", strerror(errno));
crypto/openssh/channels.c
4615
verbose("socket: %.100s", strerror(errno));
crypto/openssh/channels.c
4621
cctx->ai->ai_addrlen) == -1 && errno != EINPROGRESS) {
crypto/openssh/channels.c
4623
cctx->host, ntop, strport, strerror(errno));
crypto/openssh/channels.c
4624
saved_errno = errno;
crypto/openssh/channels.c
4626
errno = saved_errno;
crypto/openssh/channels.c
4714
name, port, strerror(errno));
crypto/openssh/channels.c
5033
if ((errno != EINVAL) && (errno != EAFNOSUPPORT)
crypto/openssh/channels.c
5035
&& (errno != EPFNOSUPPORT)
crypto/openssh/channels.c
5038
error("socket: %.100s", strerror(errno));
crypto/openssh/channels.c
5053
strerror(errno));
crypto/openssh/channels.c
5076
error("listen: %.100s", strerror(errno));
crypto/openssh/channels.c
5108
error("socket: %.100s", strerror(errno));
crypto/openssh/channels.c
5117
error("connect %.100s: %.100s", addr.sun_path, strerror(errno));
crypto/openssh/channels.c
5252
debug2("socket: %.100s", strerror(errno));
crypto/openssh/channels.c
5258
X11_BASE_PORT + display_number, strerror(errno));
crypto/openssh/channels.c
5268
X11_BASE_PORT + display_number, strerror(errno));
crypto/openssh/clientloop.c
1303
error("fork: %.100s", strerror(errno));
crypto/openssh/clientloop.c
1463
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
1469
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
1475
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
1481
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
1486
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
1540
error_f("bsigset setup: %s", strerror(errno));
crypto/openssh/clientloop.c
1579
error_f("bsigset sigprocmask: %s", strerror(errno));
crypto/openssh/clientloop.c
1586
error_f("osigset sigprocmask: %s", strerror(errno));
crypto/openssh/clientloop.c
2213
if (r == SSH_ERR_SYSTEM_ERROR && errno == ENOENT) {
crypto/openssh/clientloop.c
2308
if (errno == ENOENT) {
crypto/openssh/clientloop.c
2314
options.user_hostfiles[i], strerror(errno));
crypto/openssh/clientloop.c
2525
if (r == SSH_ERR_SYSTEM_ERROR && errno == ENOENT) {
crypto/openssh/clientloop.c
343
error_f("mkdtemp: %s", strerror(errno));
crypto/openssh/clientloop.c
743
if (errno == EINTR)
crypto/openssh/clientloop.c
746
quit_message("poll: %s", strerror(errno));
crypto/openssh/clientloop.c
803
if (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK)
crypto/openssh/clientloop.c
805
if (errno == EPIPE) {
crypto/openssh/clientloop.c
964
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
969
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
973
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/dh.c
169
get_moduli_filename(), strerror(errno));
crypto/openssh/hostfile.c
278
if (r != SSH_ERR_SYSTEM_ERROR && errno != ENOENT)
crypto/openssh/hostfile.c
292
debug_f("fopen %s: %s", path, strerror(errno));
crypto/openssh/hostfile.c
490
else if (errno != ENOENT)
crypto/openssh/hostfile.c
491
error("Could not stat %s: %s", dotsshdir, strerror(errno));
crypto/openssh/hostfile.c
498
dotsshdir, strerror(errno));
crypto/openssh/hostfile.c
531
filename, strerror(errno));
crypto/openssh/hostfile.c
630
oerrno = errno;
crypto/openssh/hostfile.c
636
oerrno = errno;
crypto/openssh/hostfile.c
646
oerrno = errno;
crypto/openssh/hostfile.c
697
if (unlink(back) == -1 && errno != ENOENT) {
crypto/openssh/hostfile.c
698
oerrno = errno;
crypto/openssh/hostfile.c
699
error_f("unlink %.100s: %s", back, strerror(errno));
crypto/openssh/hostfile.c
704
oerrno = errno;
crypto/openssh/hostfile.c
706
back, strerror(errno));
crypto/openssh/hostfile.c
711
oerrno = errno;
crypto/openssh/hostfile.c
713
filename, strerror(errno));
crypto/openssh/hostfile.c
720
error_f("unlink \"%s\": %s", temp, strerror(errno));
crypto/openssh/hostfile.c
735
errno = oerrno;
crypto/openssh/hostfile.c
942
oerrno = errno;
crypto/openssh/hostfile.c
944
errno = oerrno;
crypto/openssh/kex.c
1226
error_f("write: %.100s", strerror(errno));
crypto/openssh/kex.c
1257
oerrno = errno;
crypto/openssh/kex.c
1265
oerrno = errno;
crypto/openssh/kex.c
1266
debug_f("write: %.100s", strerror(errno));
crypto/openssh/kex.c
1271
oerrno = errno;
crypto/openssh/kex.c
1299
if (r == -1 && errno == ETIMEDOUT) {
crypto/openssh/kex.c
1307
oerrno = errno;
crypto/openssh/kex.c
1308
error_f("%s", strerror(errno));
crypto/openssh/kex.c
1316
if (len != 1 && errno == EPIPE) {
crypto/openssh/kex.c
1321
oerrno = errno;
crypto/openssh/kex.c
1322
error_f("read: %.100s", strerror(errno));
crypto/openssh/kex.c
1338
oerrno = errno;
crypto/openssh/kex.c
1435
errno = oerrno;
crypto/openssh/krl.c
1281
oerrno = errno;
crypto/openssh/krl.c
1292
errno = oerrno;
crypto/openssh/log.c
323
strerror(errno));
crypto/openssh/log.c
349
int saved_errno = errno;
crypto/openssh/log.c
425
errno = saved_errno;
crypto/openssh/loginrec.c
1092
WTMP_FILE, strerror(errno));
crypto/openssh/loginrec.c
1099
WTMP_FILE, strerror(errno));
crypto/openssh/loginrec.c
1186
WTMP_FILE, strerror(errno));
crypto/openssh/loginrec.c
1191
WTMP_FILE, strerror(errno));
crypto/openssh/loginrec.c
1206
WTMP_FILE, strerror(errno));
crypto/openssh/loginrec.c
1264
WTMPX_FILE, strerror(errno));
crypto/openssh/loginrec.c
1272
WTMPX_FILE, strerror(errno));
crypto/openssh/loginrec.c
1351
WTMPX_FILE, strerror(errno));
crypto/openssh/loginrec.c
1356
WTMPX_FILE, strerror(errno));
crypto/openssh/loginrec.c
1371
WTMPX_FILE, strerror(errno));
crypto/openssh/loginrec.c
1536
LASTLOG_FILE, strerror(errno));
crypto/openssh/loginrec.c
1553
lastlog_file, strerror(errno));
crypto/openssh/loginrec.c
1563
lastlog_file, strerror(errno));
crypto/openssh/loginrec.c
1608
LASTLOG_FILE, strerror(errno));
crypto/openssh/loginrec.c
1663
LASTLOG_FILE, strerror(errno));
crypto/openssh/loginrec.c
1725
strerror(errno));
crypto/openssh/loginrec.c
1730
strerror(errno));
crypto/openssh/loginrec.c
1756
strerror(errno));
crypto/openssh/loginrec.c
870
logit("%s: lseek: %s", __func__, strerror(errno));
crypto/openssh/loginrec.c
892
logit("%s: lseek: %s", __func__, strerror(errno));
crypto/openssh/loginrec.c
904
UTMP_FILE, strerror(errno));
crypto/openssh/misc.c
139
error("fcntl(%d, F_GETFL): %s", fd, strerror(errno));
crypto/openssh/misc.c
1486
debug_f("%s open: %s", name, strerror(errno));
crypto/openssh/misc.c
1499
strerror(errno));
crypto/openssh/misc.c
150
strerror(errno));
crypto/openssh/misc.c
1507
strerror(errno));
crypto/openssh/misc.c
1537
strerror(errno));
crypto/openssh/misc.c
1542
if (fcntl(dupfd, F_GETFL) == -1 && errno == EBADF) {
crypto/openssh/misc.c
1544
fprintf(stderr, "dup2: %s\n", strerror(errno));
crypto/openssh/misc.c
163
error("fcntl(%d, F_GETFL): %s", fd, strerror(errno));
crypto/openssh/misc.c
174
fd, strerror(errno));
crypto/openssh/misc.c
1744
debug3("clock_gettime: %s", strerror(errno));
crypto/openssh/misc.c
183
if (gaierr == EAI_SYSTEM && errno != 0)
crypto/openssh/misc.c
1834
if (errno != EINTR)
crypto/openssh/misc.c
184
return strerror(errno);
crypto/openssh/misc.c
1946
errno = ENAMETOOLONG;
crypto/openssh/misc.c
1952
saved_errno = errno;
crypto/openssh/misc.c
1953
error_f("socket: %.100s", strerror(errno));
crypto/openssh/misc.c
1954
errno = saved_errno;
crypto/openssh/misc.c
1958
if (unlink(path) != 0 && errno != ENOENT)
crypto/openssh/misc.c
1959
error("unlink(%s): %.100s", path, strerror(errno));
crypto/openssh/misc.c
1962
saved_errno = errno;
crypto/openssh/misc.c
1963
error_f("cannot bind to path %s: %s", path, strerror(errno));
crypto/openssh/misc.c
1965
errno = saved_errno;
crypto/openssh/misc.c
1969
saved_errno = errno;
crypto/openssh/misc.c
197
debug("getsockopt TCP_NODELAY: %.100s", strerror(errno));
crypto/openssh/misc.c
1970
error_f("cannot listen on path %s: %s", path, strerror(errno));
crypto/openssh/misc.c
1973
errno = saved_errno;
crypto/openssh/misc.c
1987
error("setsockopt IPV6_V6ONLY: %s", strerror(errno));
crypto/openssh/misc.c
207
error("setsockopt TCP_NODELAY: %.100s", strerror(errno));
crypto/openssh/misc.c
217
error("setsockopt SO_REUSEADDR fd %d: %s", fd, strerror(errno));
crypto/openssh/misc.c
2224
if (errno != EINTR) {
crypto/openssh/misc.c
2225
error("%s waitpid: %s", tag, strerror(errno));
crypto/openssh/misc.c
2264
strerror(errno));
crypto/openssh/misc.c
2326
file, strerror(errno));
crypto/openssh/misc.c
236
fd, strerror(errno));
crypto/openssh/misc.c
267
rtable, fd, strerror(errno));
crypto/openssh/misc.c
2722
debug3("sigaction(%s): %s", strsignal(signum), strerror(errno));
crypto/openssh/misc.c
2735
strerror(errno));
crypto/openssh/misc.c
2741
error_f("dup2: %s", strerror(errno));
crypto/openssh/misc.c
2809
av[0], strerror(errno));
crypto/openssh/misc.c
2819
error("%s: pipe: %s", tag, strerror(errno));
crypto/openssh/misc.c
2830
error("%s: fork: %s", tag, strerror(errno));
crypto/openssh/misc.c
2852
strerror(errno));
crypto/openssh/misc.c
2856
error("%s: dup2: %s", tag, strerror(errno));
crypto/openssh/misc.c
2867
error("%s: dup2: %s", tag, strerror(errno));
crypto/openssh/misc.c
2875
pw->pw_name, (u_int)pw->pw_gid, strerror(errno));
crypto/openssh/misc.c
2880
strerror(errno));
crypto/openssh/misc.c
2885
strerror(errno));
crypto/openssh/misc.c
2891
error("%s: dup2: %s", tag, strerror(errno));
crypto/openssh/misc.c
2899
command, strerror(errno));
crypto/openssh/misc.c
2909
error("%s: fdopen: %s", tag, strerror(errno));
crypto/openssh/misc.c
2913
while (waitpid(pid, NULL, 0) == -1 && errno == EINTR)
crypto/openssh/misc.c
3091
error_f("open %s: %s", path, strerror(errno));
crypto/openssh/misc.c
3095
error_f("fstat %s: %s", path, strerror(errno));
crypto/openssh/misc.c
310
fd, tos, strerror(errno));
crypto/openssh/misc.c
3111
error_f("mmap %s: %s", path, strerror(errno));
crypto/openssh/misc.c
320
fd, tos, strerror(errno));
crypto/openssh/misc.c
358
errno = EINTR;
crypto/openssh/misc.c
364
oerrno = errno;
crypto/openssh/misc.c
369
errno = oerrno;
crypto/openssh/misc.c
372
else if (r == -1 && errno != EAGAIN && errno != EINTR)
crypto/openssh/misc.c
378
errno = ETIMEDOUT;
crypto/openssh/misc.c
416
} else if (errno == EINTR)
crypto/openssh/misc.c
418
else if (errno != EINPROGRESS)
crypto/openssh/misc.c
428
debug("getsockopt: %s", strerror(errno));
crypto/openssh/misc.c
432
errno = optval;
crypto/openssh/misc.c
733
fatal("put_host_port: asprintf: %s", strerror(errno));
crypto/openssh/moduli.c
463
logit("mkstemp(%s): %s", tmp, strerror(errno));
crypto/openssh/moduli.c
467
logit("write_checkpoint: fdopen: %s", strerror(errno));
crypto/openssh/moduli.c
479
strerror(errno));
crypto/openssh/monitor.c
1647
debug("getpeername: %.100s", strerror(errno));
crypto/openssh/monitor.c
1715
fatal_f("open(/dev/null): %s", strerror(errno));
crypto/openssh/monitor.c
1773
if (errno != EINTR)
crypto/openssh/monitor.c
1911
fatal_f("socketpair: %s", strerror(errno));
crypto/openssh/monitor.c
1914
error("setsockopt SO_ZEROIZE(0): %.100s", strerror(errno));
crypto/openssh/monitor.c
1916
error("setsockopt SO_ZEROIZE(1): %.100s", strerror(errno));
crypto/openssh/monitor.c
1925
fatal_f("pipe: %s", strerror(errno));
crypto/openssh/monitor.c
454
if (errno == EPIPE) {
crypto/openssh/monitor.c
461
fatal_f("log fd read: %s", strerror(errno));
crypto/openssh/monitor.c
473
fatal_f("log fd read: %s", strerror(errno));
crypto/openssh/monitor.c
507
if (errno == EINTR || errno == EAGAIN)
crypto/openssh/monitor.c
509
fatal_f("poll: %s", strerror(errno));
crypto/openssh/monitor_fdpass.c
146
(errno == EAGAIN || errno == EINTR)) {
crypto/openssh/monitor_fdpass.c
147
debug3_f("recvmsg: %s", strerror(errno));
crypto/openssh/monitor_fdpass.c
151
error_f("recvmsg: %s", strerror(errno));
crypto/openssh/monitor_fdpass.c
91
(errno == EAGAIN || errno == EINTR)) {
crypto/openssh/monitor_fdpass.c
92
debug3_f("sendmsg(%d): %s", fd, strerror(errno));
crypto/openssh/monitor_fdpass.c
96
error_f("sendmsg(%d): %s", fd, strerror(errno));
crypto/openssh/monitor_wrap.c
110
fatal_f("write: %s", strerror(errno));
crypto/openssh/monitor_wrap.c
122
if (errno == EINTR)
crypto/openssh/monitor_wrap.c
125
fatal_f("waitpid: %s", strerror(errno));
crypto/openssh/monitor_wrap.c
159
if (errno == EPIPE) {
crypto/openssh/monitor_wrap.c
164
fatal_f("write: %s", strerror(errno));
crypto/openssh/monitor_wrap.c
178
if (errno == EPIPE) {
crypto/openssh/monitor_wrap.c
183
fatal_f("read: %s", strerror(errno));
crypto/openssh/monitor_wrap.c
192
oerrno = errno;
crypto/openssh/monitor_wrap.c
193
error_f("read: %s", strerror(errno));
crypto/openssh/monitor_wrap.c
683
s->ptymaster, strerror(errno));
crypto/openssh/msg.c
55
error_f("write: %s", strerror(errno));
crypto/openssh/msg.c
59
error_f("write: %s", strerror(errno));
crypto/openssh/msg.c
76
if (errno != EPIPE)
crypto/openssh/msg.c
77
error_f("read header: %s", strerror(errno));
crypto/openssh/msg.c
91
error_f("read: %s", strerror(errno));
crypto/openssh/mux.c
1304
oerrno = errno;
crypto/openssh/mux.c
1328
if (errno != EEXIST) {
crypto/openssh/mux.c
1331
strerror(errno));
crypto/openssh/mux.c
1452
int save_errno = errno;
crypto/openssh/mux.c
1457
errno = save_errno;
crypto/openssh/mux.c
1472
errno = EINTR;
crypto/openssh/mux.c
1477
switch (errno) {
crypto/openssh/mux.c
1484
errno != EINTR)
crypto/openssh/mux.c
1494
errno = EPIPE;
crypto/openssh/mux.c
1524
errno = EINTR;
crypto/openssh/mux.c
1529
switch (errno) {
crypto/openssh/mux.c
1539
oerrno = errno;
crypto/openssh/mux.c
1541
errno = oerrno;
crypto/openssh/mux.c
1547
errno = EPIPE;
crypto/openssh/mux.c
1567
if ((oerrno = errno) == EPIPE)
crypto/openssh/mux.c
1569
strerror(errno));
crypto/openssh/mux.c
1571
errno = oerrno;
crypto/openssh/mux.c
1576
oerrno = errno;
crypto/openssh/mux.c
1577
debug3_f("read body failed: %s", strerror(errno));
crypto/openssh/mux.c
1579
errno = oerrno;
crypto/openssh/mux.c
1610
debug_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
1672
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
1723
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
1730
if (errno == EPIPE) {
crypto/openssh/mux.c
1734
fatal_f("read from master failed: %s", strerror(errno));
crypto/openssh/mux.c
1804
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
1941
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
1954
error_f("read from master failed: %s", strerror(errno));
crypto/openssh/mux.c
1992
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/mux.c
2086
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
2143
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
2151
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/mux.c
2160
error_f("read from master failed: %s", strerror(errno));
crypto/openssh/mux.c
2204
if (errno == EPIPE ||
crypto/openssh/mux.c
2205
(errno == EINTR && muxclient_terminate != 0))
crypto/openssh/mux.c
2207
fatal_f("mux_client_read_packet: %s", strerror(errno));
crypto/openssh/mux.c
2229
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
2235
fatal_f("read from master failed: %s", strerror(errno));
crypto/openssh/mux.c
2297
fatal_f("socket(): %s", strerror(errno));
crypto/openssh/mux.c
2306
strerror(errno));
crypto/openssh/mux.c
2308
if (errno == ECONNREFUSED &&
crypto/openssh/mux.c
2312
} else if (errno == ENOENT) {
crypto/openssh/mux.c
2316
strerror(errno));
crypto/openssh/mux.c
451
error_f("tcgetattr: %s", strerror(errno));
crypto/openssh/nchan.c
390
c->istate, c->ostate, strerror(errno));
crypto/openssh/nchan.c
396
c->istate, c->ostate, strerror(errno));
crypto/openssh/nchan.c
415
if (shutdown(c->sock, SHUT_RD) == -1 && errno != ENOTCONN) {
crypto/openssh/nchan.c
418
c->istate, c->ostate, strerror(errno));
crypto/openssh/nchan.c
424
c->istate, c->ostate, strerror(errno));
crypto/openssh/nchan.c
443
c->istate, c->ostate, strerror(errno));
crypto/openssh/openbsd-compat/basename.c
59
errno = ENAMETOOLONG;
crypto/openssh/openbsd-compat/bindresvport.c
109
if ((error < 0) && !((errno == EADDRINUSE) || (errno == EINVAL)))
crypto/openssh/openbsd-compat/bindresvport.c
87
errno = EPFNOSUPPORT;
crypto/openssh/openbsd-compat/bsd-asprintf.c
80
errno = ENOMEM;
crypto/openssh/openbsd-compat/bsd-err.c
43
fprintf(stderr, "%s: ", strerror(errno));
crypto/openssh/openbsd-compat/bsd-err.c
72
fprintf(stderr, "%s: ", strerror(errno));
crypto/openssh/openbsd-compat/bsd-flock.c
65
errno = EINVAL;
crypto/openssh/openbsd-compat/bsd-flock.c
72
if (rc && (errno == EAGAIN))
crypto/openssh/openbsd-compat/bsd-flock.c
73
errno = EWOULDBLOCK;
crypto/openssh/openbsd-compat/bsd-flock.c
76
errno = ENOSYS;
crypto/openssh/openbsd-compat/bsd-getentropy.c
67
save_errno = errno;
crypto/openssh/openbsd-compat/bsd-getentropy.c
77
if (errno == EAGAIN || errno == EINTR ||
crypto/openssh/openbsd-compat/bsd-getentropy.c
78
errno == EWOULDBLOCK)
crypto/openssh/openbsd-compat/bsd-getentropy.c
80
fatal("read %s: %s", SSH_RANDOM_DEV, strerror(errno));
crypto/openssh/openbsd-compat/bsd-misc.c
142
errno = ENOSYS;
crypto/openssh/openbsd-compat/bsd-misc.c
173
errno = ENOSYS;
crypto/openssh/openbsd-compat/bsd-misc.c
204
errno = ENOSYS;
crypto/openssh/openbsd-compat/bsd-misc.c
233
saverrno = errno;
crypto/openssh/openbsd-compat/bsd-misc.c
236
errno = saverrno;
crypto/openssh/openbsd-compat/bsd-misc.c
246
extern int errno;
crypto/openssh/openbsd-compat/bsd-misc.c
253
saverrno = errno;
crypto/openssh/openbsd-compat/bsd-misc.c
255
errno = saverrno;
crypto/openssh/openbsd-compat/bsd-misc.c
352
errno = ESRCH;
crypto/openssh/openbsd-compat/bsd-misc.c
373
errno = EOPNOTSUPP;
crypto/openssh/openbsd-compat/bsd-misc.c
410
errno = ENOSYS;
crypto/openssh/openbsd-compat/bsd-nextstep.c
70
errno = EINVAL;
crypto/openssh/openbsd-compat/bsd-poll.c
56
errno = EINVAL;
crypto/openssh/openbsd-compat/bsd-pselect.c
115
int save_errno = errno;
crypto/openssh/openbsd-compat/bsd-pselect.c
120
errno = save_errno;
crypto/openssh/openbsd-compat/bsd-pselect.c
174
saved_errno = errno;
crypto/openssh/openbsd-compat/bsd-pselect.c
193
"%s: %s", strsignal(sig), strerror(errno));
crypto/openssh/openbsd-compat/bsd-pselect.c
198
errno = saved_errno;
crypto/openssh/openbsd-compat/bsd-pselect.c
64
error_f("fcntl: %s", strerror(errno));
crypto/openssh/openbsd-compat/bsd-pselect.c
75
error("pipe(notify_pipe) failed %s", strerror(errno));
crypto/openssh/openbsd-compat/bsd-setres_id.c
34
errno = ENOSYS;
crypto/openssh/openbsd-compat/bsd-setres_id.c
39
saved_errno = errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
40
error("setregid %lu: %.100s", (u_long)rgid, strerror(errno));
crypto/openssh/openbsd-compat/bsd-setres_id.c
41
errno = saved_errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
46
saved_errno = errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
47
error("setegid %lu: %.100s", (u_long)egid, strerror(errno));
crypto/openssh/openbsd-compat/bsd-setres_id.c
48
errno = saved_errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
52
saved_errno = errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
53
error("setgid %lu: %.100s", (u_long)rgid, strerror(errno));
crypto/openssh/openbsd-compat/bsd-setres_id.c
54
errno = saved_errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
69
errno = ENOSYS;
crypto/openssh/openbsd-compat/bsd-setres_id.c
74
saved_errno = errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
75
error("setreuid %lu: %.100s", (u_long)ruid, strerror(errno));
crypto/openssh/openbsd-compat/bsd-setres_id.c
76
errno = saved_errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
83
saved_errno = errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
84
error("seteuid %lu: %.100s", (u_long)euid, strerror(errno));
crypto/openssh/openbsd-compat/bsd-setres_id.c
85
errno = saved_errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
90
saved_errno = errno;
crypto/openssh/openbsd-compat/bsd-setres_id.c
91
error("setuid %lu: %.100s", (u_long)ruid, strerror(errno));
crypto/openssh/openbsd-compat/bsd-setres_id.c
92
errno = saved_errno;
crypto/openssh/openbsd-compat/bsd-snprintf.c
162
errno = ERANGE; \
crypto/openssh/openbsd-compat/bsd-statvfs.c
69
errno = ENOSYS;
crypto/openssh/openbsd-compat/bsd-statvfs.c
87
errno = ENOSYS;
crypto/openssh/openbsd-compat/bsd-waitpid.c
40
errno = EINVAL;
crypto/openssh/openbsd-compat/dirname.c
64
errno = ENAMETOOLONG;
crypto/openssh/openbsd-compat/fmt_scaled.c
115
errno = EINVAL;
crypto/openssh/openbsd-compat/fmt_scaled.c
129
errno = ERANGE;
crypto/openssh/openbsd-compat/fmt_scaled.c
134
errno = ERANGE;
crypto/openssh/openbsd-compat/fmt_scaled.c
140
errno = ERANGE;
crypto/openssh/openbsd-compat/fmt_scaled.c
144
errno = ERANGE;
crypto/openssh/openbsd-compat/fmt_scaled.c
149
errno = ERANGE;
crypto/openssh/openbsd-compat/fmt_scaled.c
174
errno = EINVAL;
crypto/openssh/openbsd-compat/fmt_scaled.c
182
errno = ERANGE;
crypto/openssh/openbsd-compat/fmt_scaled.c
212
errno = EINVAL;
crypto/openssh/openbsd-compat/fmt_scaled.c
229
errno = ERANGE;
crypto/openssh/openbsd-compat/fmt_scaled.c
237
errno = ERANGE;
crypto/openssh/openbsd-compat/fmt_scaled.c
303
fprintf(stderr, "%lld invalid (%s)\n", ninput, strerror(errno));
crypto/openssh/openbsd-compat/fmt_scaled.c
91
errno = EINVAL;
crypto/openssh/openbsd-compat/fmt_scaled.c
98
errno = EINVAL;
crypto/openssh/openbsd-compat/getcwd.c
107
errno = 0; /* XXX readdir has no error return. */
crypto/openssh/openbsd-compat/getcwd.c
180
save_errno = errno;
crypto/openssh/openbsd-compat/getcwd.c
181
errno = 0;
crypto/openssh/openbsd-compat/getcwd.c
197
errno = ERANGE;
crypto/openssh/openbsd-compat/getcwd.c
225
if (!errno)
crypto/openssh/openbsd-compat/getcwd.c
226
errno = save_errno ? save_errno : ENOENT;
crypto/openssh/openbsd-compat/getcwd.c
229
save_errno = errno;
crypto/openssh/openbsd-compat/getcwd.c
237
errno = save_errno;
crypto/openssh/openbsd-compat/getcwd.c
74
errno = EINVAL;
crypto/openssh/openbsd-compat/getcwd.c
77
errno = ERANGE;
crypto/openssh/openbsd-compat/glob.c
649
errno = 0;
crypto/openssh/openbsd-compat/glob.c
720
errno = 0;
crypto/openssh/openbsd-compat/glob.c
727
if (pglob->gl_errfunc(buf, errno) ||
crypto/openssh/openbsd-compat/glob.c
747
errno = 0;
crypto/openssh/openbsd-compat/glob.c
858
errno = 0;
crypto/openssh/openbsd-compat/glob.c
886
errno = 0;
crypto/openssh/openbsd-compat/inet_ntop.c
203
errno = ENOSPC;
crypto/openssh/openbsd-compat/inet_ntop.c
67
errno = EAFNOSUPPORT;
crypto/openssh/openbsd-compat/inet_ntop.c
93
errno = ENOSPC;
crypto/openssh/openbsd-compat/mktemp.c
102
return(errno == ENOENT ? 0 : -1);
crypto/openssh/openbsd-compat/mktemp.c
106
if (fd != -1 || errno != EEXIST)
crypto/openssh/openbsd-compat/mktemp.c
112
if (errno != EEXIST)
crypto/openssh/openbsd-compat/mktemp.c
118
errno = EEXIST;
crypto/openssh/openbsd-compat/mktemp.c
81
errno = EINVAL;
crypto/openssh/openbsd-compat/port-aix.c
139
user, strerror(errno));
crypto/openssh/openbsd-compat/port-aix.c
149
user, strerror(errno));
crypto/openssh/openbsd-compat/port-aix.c
265
if (result == -1 && errno == EPERM && stat(_PATH_NOLOGIN, &st) == 0)
crypto/openssh/openbsd-compat/port-aix.c
355
registry, strerror(errno));
crypto/openssh/openbsd-compat/port-aix.c
358
strerror(errno));
crypto/openssh/openbsd-compat/port-aix.c
397
debug("AIX getuserattr S_AUTHDOMAIN: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-aix.c
399
debug("AIX getuserattr S_AUTHNAME: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-aix.c
88
fatal("Couldn't set usrinfo: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-irix.c
64
strerror(errno));
crypto/openssh/openbsd-compat/port-irix.c
70
strerror(errno));
crypto/openssh/openbsd-compat/port-irix.c
80
(int)projid, pw->pw_name, strerror(errno));
crypto/openssh/openbsd-compat/port-irix.c
86
debug("error setting satid: %.100s", strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
160
error("%s: getfilecon: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
170
__func__, strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
175
error("%s: setfilecon: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
196
logit_f("getcon failed with %s", strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
221
newctx, oldctx, strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
284
strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
289
oom_adj_path, strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
313
verbose("error writing %s: %s", oom_adj_path, strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
329
verbose("unable to lock memory: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
364
error_f("socket \"%s\" stat: %s", path, strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
379
error_f("socket \"%s\": %s", path, strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
383
error_f("socket \"%s\" connect: %s", path, strerror(errno));
crypto/openssh/openbsd-compat/port-linux.c
387
error_f("socket \"%s\" write: %s", path, strerror(errno));
crypto/openssh/openbsd-compat/port-net.c
154
__func__, TUN_CTRL_DEV, strerror(errno));
crypto/openssh/openbsd-compat/port-net.c
172
tun, strerror(errno));
crypto/openssh/openbsd-compat/port-net.c
180
mode, strerror(errno));
crypto/openssh/openbsd-compat/port-net.c
249
strerror(errno));
crypto/openssh/openbsd-compat/port-net.c
259
strerror(errno));
crypto/openssh/openbsd-compat/port-net.c
291
mode, strerror(errno));
crypto/openssh/openbsd-compat/port-net.c
58
__func__, fd, strerror(errno));
crypto/openssh/openbsd-compat/port-net.c
71
__func__, fd, name, strerror(errno));
crypto/openssh/openbsd-compat/port-prngd.c
100
error("Couldn't create socket: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-prngd.c
107
tcp_port, strerror(errno));
crypto/openssh/openbsd-compat/port-prngd.c
110
addr_un->sun_path, strerror(errno));
crypto/openssh/openbsd-compat/port-prngd.c
120
if (errno == EPIPE && errors < 10) {
crypto/openssh/openbsd-compat/port-prngd.c
126
strerror(errno));
crypto/openssh/openbsd-compat/port-prngd.c
131
if (errno == EPIPE && errors < 10) {
crypto/openssh/openbsd-compat/port-prngd.c
137
strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
104
"informative events: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
111
"template: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
132
"template: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
153
"template: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
175
"ctl file: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
180
__func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
220
strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
223
debug("getdefaultproj(%s): %s", pw->pw_name, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
240
error("priv_allocset: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
246
error("priv_str_to_set: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
275
fatal("priv_allocset: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
277
fatal("solaris_basic_privset: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
284
fatal("priv_addset: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
293
fatal("priv_delset: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
305
fatal("getppriv: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
308
fatal("setppriv: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
315
fatal("setppriv: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
319
fatal("getppriv: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
325
fatal("setppriv: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
338
fatal("solaris_basic_privset: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
346
fatal("priv_delset: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
351
fatal("setppriv: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
364
fatal("solaris_basic_privset: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
372
fatal("priv_delset: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
377
fatal("setppriv: %s", strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
54
"contract: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
59
"status: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
64
__func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
79
CT_TEMPLATE, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
89
"(pgrponly): %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
94
"fatal events: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/port-solaris.c
99
"critical events: %s", __func__, strerror(errno));
crypto/openssh/openbsd-compat/readpassphrase.c
146
save_errno = errno;
crypto/openssh/openbsd-compat/readpassphrase.c
156
errno == EINTR && !signo[SIGTTOU])
crypto/openssh/openbsd-compat/readpassphrase.c
191
errno = save_errno;
crypto/openssh/openbsd-compat/readpassphrase.c
65
errno = EINVAL;
crypto/openssh/openbsd-compat/readpassphrase.c
82
errno = ENOTTY;
crypto/openssh/openbsd-compat/reallocarray.c
41
errno = ENOMEM;
crypto/openssh/openbsd-compat/recallocarray.c
48
errno = ENOMEM;
crypto/openssh/openbsd-compat/recallocarray.c
55
errno = EINVAL;
crypto/openssh/openbsd-compat/regress/utimensattest.c
48
int saved_errno = errno;
crypto/openssh/openbsd-compat/rresvport.c
79
errno = EPFNOSUPPORT;
crypto/openssh/openbsd-compat/rresvport.c
92
if (errno != EADDRINUSE) {
crypto/openssh/openbsd-compat/setenv.c
144
errno = EINVAL;
crypto/openssh/openbsd-compat/setenv.c
207
errno = EINVAL;
crypto/openssh/openbsd-compat/setenv.c
213
errno = EINVAL;
crypto/openssh/openbsd-compat/setenv.c
95
errno = EINVAL;
crypto/openssh/openbsd-compat/sigact.c
104
errno = EINVAL;
crypto/openssh/openbsd-compat/sigact.c
115
errno = EINVAL;
crypto/openssh/openbsd-compat/sigact.c
126
errno = EINVAL;
crypto/openssh/openbsd-compat/sigact.c
59
errno = EINVAL;
crypto/openssh/openbsd-compat/sigact.c
72
errno = EINVAL;
crypto/openssh/openbsd-compat/sigact.c
94
errno = EINVAL;
crypto/openssh/openbsd-compat/strtoll.c
126
errno = ERANGE;
crypto/openssh/openbsd-compat/strtoll.c
136
errno = ERANGE;
crypto/openssh/openbsd-compat/strtonum.c
50
ev[0].err = errno;
crypto/openssh/openbsd-compat/strtonum.c
51
errno = 0;
crypto/openssh/openbsd-compat/strtonum.c
58
else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval)
crypto/openssh/openbsd-compat/strtonum.c
60
else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval)
crypto/openssh/openbsd-compat/strtonum.c
65
errno = ev[error].err;
crypto/openssh/openbsd-compat/strtoul.c
95
errno = ERANGE;
crypto/openssh/openbsd-compat/strtoull.c
97
errno = ERANGE;
crypto/openssh/openbsd-compat/vis.c
226
serrno = errno;
crypto/openssh/openbsd-compat/vis.c
230
errno = serrno;
crypto/openssh/packet.c
1472
if (errno != EAGAIN && errno != EINTR &&
crypto/openssh/packet.c
1473
errno != EWOULDBLOCK) {
crypto/openssh/packet.c
1997
int oerrno = errno;
crypto/openssh/packet.c
2013
if (errno == ECONNRESET) {
crypto/openssh/packet.c
2025
errno = oerrno;
crypto/openssh/packet.c
2037
errno = oerrno;
crypto/openssh/packet.c
2116
if (errno == EINTR || errno == EAGAIN ||
crypto/openssh/packet.c
2117
errno == EWOULDBLOCK)
crypto/openssh/packet.c
2159
if (errno != EAGAIN && errno != EINTR &&
crypto/openssh/packet.c
2160
errno != EWOULDBLOCK)
crypto/openssh/packet.c
560
debug_f("getpeername failed: %.100s", strerror(errno));
crypto/openssh/platform-tracing.c
57
strerror(errno));
crypto/openssh/platform-tracing.c
63
strerror(errno));
crypto/openssh/platform-tracing.c
69
strerror(errno));
crypto/openssh/platform-tracing.c
74
fatal("unable to set PT_DENY_ATTACH: %s", strerror(errno));
crypto/openssh/platform.c
92
error("setluid: %s", strerror(errno));
crypto/openssh/readconf.c
1374
filename, linenum, arg, strerror(errno));
crypto/openssh/readconf.c
2132
if (r != 1 && errno != ENOENT) {
crypto/openssh/readconf.c
2136
strerror(errno));
crypto/openssh/readconf.c
2583
fatal("fstat %s: %s", filename, strerror(errno));
crypto/openssh/readconf.c
549
shell, strerror(errno));
crypto/openssh/readconf.c
568
error("Unable to execute '%.100s': %s", cmd, strerror(errno));
crypto/openssh/readconf.c
576
fatal_f("fork: %.100s", strerror(errno));
crypto/openssh/readconf.c
579
if (errno != EINTR && errno != EAGAIN)
crypto/openssh/readconf.c
580
fatal_f("waitpid: %s", strerror(errno));
crypto/openssh/readconf.c
605
strerror(errno));
crypto/openssh/readconf.c
677
fatal("gethostname: %s", strerror(errno));
crypto/openssh/readpass.c
167
strerror(errno));
crypto/openssh/readpass.c
254
error_f("fflush: %s", strerror(errno));
crypto/openssh/readpass.c
273
error_f("fork: %s", strerror(errno));
crypto/openssh/readpass.c
284
error_f("exec(%s): %s", askpass, strerror(errno));
crypto/openssh/readpass.c
326
if (errno != EINTR)
crypto/openssh/readpass.c
330
fatal_f("waitpid: %s", strerror(errno));
crypto/openssh/readpass.c
61
error_f("fflush: %s", strerror(errno));
crypto/openssh/readpass.c
65
error_f("pipe: %s", strerror(errno));
crypto/openssh/readpass.c
70
error_f("fork: %s", strerror(errno));
crypto/openssh/readpass.c
77
fatal_f("dup2: %s", strerror(errno));
crypto/openssh/readpass.c
81
fatal_f("exec(%s): %s", askpass, strerror(errno));
crypto/openssh/readpass.c
89
if (r == -1 && errno == EINTR)
crypto/openssh/readpass.c
99
if (errno != EINTR)
crypto/openssh/regress/check-perm.c
104
strerror(errno));
crypto/openssh/regress/check-perm.c
196
fatal("Could not stat %s: %s", path, strerror(errno));
crypto/openssh/regress/check-perm.c
63
component, strerror(errno));
crypto/openssh/regress/check-perm.c
76
"%s", path, strerror(errno));
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
141
error_f("dup: %s", strerror(errno));
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
15
error_f("open /dev/null: %s", strerror(errno));
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
62
if (mkdir("sntrup761_pubkey_corpus", 0777) != 0 && errno != EEXIST)
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
64
if (mkdir("sntrup761_ciphertext_corpus", 0777) != 0 && errno != EEXIST)
crypto/openssh/regress/modpipe.c
111
if (errno == EAGAIN || errno == EINTR)
crypto/openssh/regress/modpipe.c
134
if (errno == EAGAIN || errno == EINTR)
crypto/openssh/regress/netcat.c
1047
if (errno == EAGAIN || errno == EINTR) {
crypto/openssh/regress/netcat.c
282
errno = 0;
crypto/openssh/regress/netcat.c
291
if (Tflag < 0 || Tflag > 255 || errstr || errno)
crypto/openssh/regress/netcat.c
542
errno = ENAMETOOLONG;
crypto/openssh/regress/netcat.c
578
errno = ENAMETOOLONG;
crypto/openssh/regress/netcat.c
688
if ((ret = connect(s, name, namelen)) != 0 && errno == EINPROGRESS) {
crypto/openssh/regress/netcat.c
695
errno = optval;
crypto/openssh/regress/netcat.c
699
errno = ETIMEDOUT;
crypto/openssh/regress/netcat.c
971
if (n == -1 && (errno == EAGAIN || errno == EINTR))
crypto/openssh/regress/netcat.c
992
if (n == -1 && (errno == EAGAIN || errno == EINTR))
crypto/openssh/regress/setuid-allowed.c
50
if (errno == ENOSYS)
crypto/openssh/regress/setuid-allowed.c
53
path, strerror(errno));
crypto/openssh/regress/unittests/test_helper/test_helper.c
223
ret, strerror(errno));
crypto/openssh/sandbox-capsicum.c
103
errno != ENOSYS)
crypto/openssh/sandbox-capsicum.c
105
if (cap_enter() < 0 && errno != ENOSYS)
crypto/openssh/sandbox-capsicum.c
78
__func__, strerror(errno));
crypto/openssh/sandbox-capsicum.c
82
__func__, strerror(errno));
crypto/openssh/sandbox-capsicum.c
86
__func__, strerror(errno));
crypto/openssh/sandbox-capsicum.c
90
if (cap_rights_limit(STDIN_FILENO, &rights) < 0 && errno != ENOSYS)
crypto/openssh/sandbox-capsicum.c
92
if (cap_rights_limit(STDOUT_FILENO, &rights) < 0 && errno != ENOSYS)
crypto/openssh/sandbox-capsicum.c
94
if (cap_rights_limit(STDERR_FILENO, &rights) < 0 && errno != ENOSYS)
crypto/openssh/sandbox-capsicum.c
99
errno != ENOSYS)
crypto/openssh/sandbox-darwin.c
75
__func__, strerror(errno));
crypto/openssh/sandbox-darwin.c
78
__func__, strerror(errno));
crypto/openssh/sandbox-darwin.c
81
__func__, strerror(errno));
crypto/openssh/sandbox-rlimit.c
67
strerror(errno));
crypto/openssh/sandbox-rlimit.c
72
strerror(errno));
crypto/openssh/sandbox-rlimit.c
77
strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
480
fatal("%s: sigaction(SIGSYS): %s", __func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
483
__func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
497
__func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
504
__func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
507
__func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
516
__func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
522
__func__, strerror(errno));
crypto/openssh/sandbox-solaris.c
97
fatal("setppriv: %s", strerror(errno));
crypto/openssh/scp.c
1193
strerror(errno));
crypto/openssh/scp.c
1348
fatal("stat local \"%s\": %s", src, strerror(errno));
crypto/openssh/scp.c
1351
fatal("basename \"%s\": %s", src, strerror(errno));
crypto/openssh/scp.c
1416
syserr: run_err("%s: %s", name, strerror(errno));
crypto/openssh/scp.c
1472
haderr = errno;
crypto/openssh/scp.c
1484
haderr = errno;
crypto/openssh/scp.c
1490
haderr = errno;
crypto/openssh/scp.c
1511
run_err("%s: %s", name, strerror(errno));
crypto/openssh/scp.c
1599
debug2_f("stat local \"%s\": %s", dst, strerror(errno));
crypto/openssh/scp.c
1611
error("local mkdir \"%s\": %s", dst, strerror(errno));
crypto/openssh/scp.c
1621
error("basename %s: %s", tmp, strerror(errno));
crypto/openssh/scp.c
1854
errno = ENOTDIR;
crypto/openssh/scp.c
1879
bad: run_err("%s: %s", np, strerror(errno));
crypto/openssh/scp.c
1909
strerror(errno) :
crypto/openssh/scp.c
1923
strerror(errno));
crypto/openssh/scp.c
1934
note_err("%s: %s", np, strerror(errno));
crypto/openssh/scp.c
1939
note_err("%s: truncate: %s", np, strerror(errno));
crypto/openssh/scp.c
1948
np, strerror(errno));
crypto/openssh/scp.c
1958
np, strerror(errno));
crypto/openssh/scp.c
1962
note_err("%s: close: %s", np, strerror(errno));
crypto/openssh/scp.c
1970
np, strerror(errno));
crypto/openssh/scp.c
2000
fatal("basename %s: %s", src, strerror(errno));
crypto/openssh/scp.c
2042
error("basename %s: %s", tmp, strerror(errno));
crypto/openssh/scp.c
217
errno == EINTR)
crypto/openssh/scp.c
2191
errno = ENOTDIR;
crypto/openssh/scp.c
2193
run_err("%s: %s", cp, strerror(errno));
crypto/openssh/scp.c
2235
run_err("fstat: %s", strerror(errno));
crypto/openssh/scp.c
225
int save_errno = errno;
crypto/openssh/scp.c
229
errno = save_errno;
crypto/openssh/scp.c
249
fatal("do_local_cmd: fork: %s", strerror(errno));
crypto/openssh/scp.c
263
if (errno != EINTR)
crypto/openssh/scp.c
264
fatal("do_local_cmd: waitpid: %s", strerror(errno));
crypto/openssh/scp.c
301
fatal("pipe: %s", strerror(errno));
crypto/openssh/scp.c
305
fatal("socketpair: %s", strerror(errno));
crypto/openssh/scp.c
316
fatal("fork: %s", strerror(errno));
crypto/openssh/scp.c
322
error("dup2: %s", strerror(errno));
crypto/openssh/scp.c
332
error("dup2: %s", strerror(errno));
crypto/openssh/scp.c
422
fatal("fork: %s", strerror(errno));
crypto/openssh/scp.c
425
if (errno != EINTR)
crypto/openssh/scp.c
426
fatal("do_cmd2: waitpid: %s", strerror(errno));
crypto/openssh/scp.c
599
errno = EINVAL;
crypto/openssh/scp.c
603
optarg + 7, strerror(errno));
crypto/openssh/servconf.c
1774
arg, strerror(errno));
crypto/openssh/servconf.c
827
fatal_f("getcwd: %s", strerror(errno));
crypto/openssh/serverloop.c
223
if (errno != EINTR)
crypto/openssh/serverloop.c
224
fatal_f("ppoll: %.100s", strerror(errno));
crypto/openssh/serverloop.c
266
if (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK)
crypto/openssh/serverloop.c
268
if (errno == EPIPE) {
crypto/openssh/serverloop.c
275
strerror(errno));
crypto/openssh/serverloop.c
311
(pid == -1 && errno == EINTR))
crypto/openssh/serverloop.c
330
error_f("bsigset setup: %s", strerror(errno));
crypto/openssh/serverloop.c
351
error_f("bsigset sigprocmask: %s", strerror(errno));
crypto/openssh/serverloop.c
357
error_f("osigset sigprocmask: %s", strerror(errno));
crypto/openssh/session.c
1224
fatal_f("xasprintf: %s", strerror(errno));
crypto/openssh/session.c
1261
fatal_f("xasprintf: %s", strerror(errno));
crypto/openssh/session.c
1342
component, strerror(errno));
crypto/openssh/session.c
1355
"%s", path, strerror(errno));
crypto/openssh/session.c
1357
fatal("chroot(\"%s\"): %s", path, strerror(errno));
crypto/openssh/session.c
1359
fatal_f("chdir(/) after chroot: %s", strerror(errno));
crypto/openssh/session.c
1380
error("setlogin failed: %s", strerror(errno));
crypto/openssh/session.c
1638
strerror(errno));
crypto/openssh/session.c
1697
errno = EINVAL;
crypto/openssh/session.c
1979
prog, strerror(errno));
crypto/openssh/session.c
214
"mkdtemp() failed: %.100s", strerror(errno));
crypto/openssh/session.c
2172
sig, strerror(errno));
crypto/openssh/session.c
2296
s->ptymaster, strerror(errno));
crypto/openssh/session.c
2614
fatal("gethostname: %.100s", strerror(errno));
crypto/openssh/session.c
281
error_f("mkstemp: %s", strerror(errno));
crypto/openssh/session.c
286
error_f("write: %s", strerror(errno));
crypto/openssh/session.c
290
error_f("close: %s", strerror(errno));
crypto/openssh/session.c
410
error_f("pipe in: %.100s", strerror(errno));
crypto/openssh/session.c
414
error_f("pipe out: %.100s", strerror(errno));
crypto/openssh/session.c
420
error_f("pipe err: %.100s", strerror(errno));
crypto/openssh/session.c
435
error_f("socketpair #1: %.100s", strerror(errno));
crypto/openssh/session.c
439
error_f("socketpair #2: %.100s", strerror(errno));
crypto/openssh/session.c
451
error_f("fork: %.100s", strerror(errno));
crypto/openssh/session.c
474
error("setsid failed: %.100s", strerror(errno));
crypto/openssh/session.c
586
error_f("dup #1: %s", strerror(errno));
crypto/openssh/session.c
593
error_f("dup #2: %s", strerror(errno));
crypto/openssh/session.c
603
error_f("fork: %.100s", strerror(errno));
crypto/openssh/session.c
623
error("dup2 stdin: %s", strerror(errno));
crypto/openssh/session.c
625
error("dup2 stdout: %s", strerror(errno));
crypto/openssh/session.c
627
error("dup2 stderr: %s", strerror(errno));
crypto/openssh/session.c
762
debug("getpeername: %.100s", strerror(errno));
crypto/openssh/sftp-client.c
1653
error("open local \"%s\": %s", local_path, strerror(errno));
crypto/openssh/sftp-client.c
1659
local_path, strerror(errno));
crypto/openssh/sftp-client.c
1755
write_errno = errno;
crypto/openssh/sftp-client.c
182
fatal("Couldn't send packet: %s", strerror(errno));
crypto/openssh/sftp-client.c
1840
strerror(errno));
crypto/openssh/sftp-client.c
1863
strerror(errno));
crypto/openssh/sftp-client.c
1872
local_path, strerror(errno));
crypto/openssh/sftp-client.c
1880
local_path, strerror(errno));
crypto/openssh/sftp-client.c
1930
if (mkdir(dst, tmpmode) == -1 && errno != EEXIST) {
crypto/openssh/sftp-client.c
1931
error("mkdir %s: %s", dst, strerror(errno));
crypto/openssh/sftp-client.c
199
if (errno == EPIPE || errno == ECONNRESET)
crypto/openssh/sftp-client.c
1996
dst, strerror(errno));
crypto/openssh/sftp-client.c
2004
strerror(errno));
crypto/openssh/sftp-client.c
202
fatal("Couldn't read packet: %s", strerror(errno));
crypto/openssh/sftp-client.c
2055
error("open local \"%s\": %s", local_path, strerror(errno));
crypto/openssh/sftp-client.c
2059
error("fstat local \"%s\": %s", local_path, strerror(errno));
crypto/openssh/sftp-client.c
2137
(errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK));
crypto/openssh/sftp-client.c
2141
local_path, strerror(errno));
crypto/openssh/sftp-client.c
219
if (errno == EPIPE)
crypto/openssh/sftp-client.c
222
fatal("Read packet: %s", strerror(errno));
crypto/openssh/sftp-client.c
2231
error("close local \"%s\": %s", local_path, strerror(errno));
crypto/openssh/sftp-client.c
2271
error("stat local \"%s\": %s", src, strerror(errno));
crypto/openssh/sftp-client.c
2307
error("local opendir \"%s\": %s", src, strerror(errno));
crypto/openssh/sftp-client.c
2324
strerror(errno));
crypto/openssh/sftp-client.c
2336
strerror(errno));
crypto/openssh/sftp-client.c
2407
if (errno == EINTR)
crypto/openssh/sftp-client.c
2409
fatal_f("poll: %s", strerror(errno));
crypto/openssh/sftp-realpath.c
102
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
117
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
127
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
158
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
162
if (errno == ENOENT && p == NULL) {
crypto/openssh/sftp-realpath.c
163
errno = serrno;
crypto/openssh/sftp-realpath.c
170
errno = ELOOP;
crypto/openssh/sftp-realpath.c
197
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
205
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
68
errno = ENOENT;
crypto/openssh/sftp-realpath.c
72
serrno = errno;
crypto/openssh/sftp-server.c
1003
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1009
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1020
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1027
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1056
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1066
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1081
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1092
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1112
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1197
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1218
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1235
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1257
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1282
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1286
if (errno == EOPNOTSUPP || errno == ENOSYS
crypto/openssh/sftp-server.c
1288
|| errno == EXDEV
crypto/openssh/sftp-server.c
1291
|| errno == LINK_OPNOTSUPP_ERRNO
crypto/openssh/sftp-server.c
1303
errno_to_portable(errno);
crypto/openssh/sftp-server.c
1308
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1311
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1318
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1340
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1366
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1385
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1404
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1425
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1443
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1462
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1489
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1501
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1509
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1561
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1599
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1650
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1657
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1668
if (ret == 0 && errno == EPIPE) {
crypto/openssh/sftp-server.c
1672
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1673
error("%s: read failed: %s", __func__, strerror(errno));
crypto/openssh/sftp-server.c
1681
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1684
strerror(errno));
crypto/openssh/sftp-server.c
1976
errno = 0;
crypto/openssh/sftp-server.c
1979
cp == optarg || (mask == 0 && errno != 0))
crypto/openssh/sftp-server.c
2032
strerror(errno));
crypto/openssh/sftp-server.c
2063
if (errno == EINTR)
crypto/openssh/sftp-server.c
2065
error("poll: %s", strerror(errno));
crypto/openssh/sftp-server.c
2076
if (errno != EAGAIN && errno != EINTR) {
crypto/openssh/sftp-server.c
2077
error("read: %s", strerror(errno));
crypto/openssh/sftp-server.c
2086
if (len == 0 || (len == -1 && errno == EPIPE)) {
crypto/openssh/sftp-server.c
2091
if (errno != EAGAIN && errno != EINTR) {
crypto/openssh/sftp-server.c
2092
error("write: %s", strerror(errno));
crypto/openssh/sftp-server.c
471
errno = ENOENT;
crypto/openssh/sftp-server.c
767
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
794
status = (ret == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
827
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
829
strerror(errno));
crypto/openssh/sftp-server.c
836
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
838
strerror(errno));
crypto/openssh/sftp-server.c
875
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
877
strerror(errno));
crypto/openssh/sftp-server.c
882
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
884
handle_to_name(handle), strerror(errno));
crypto/openssh/sftp-server.c
913
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
951
status = errno_to_portable(errno);
crypto/openssh/sftp.c
1512
errno = 0;
crypto/openssh/sftp.c
1515
((ll == LLONG_MIN || ll == LLONG_MAX) && errno == ERANGE) ||
crypto/openssh/sftp.c
1701
"\"%s\": %s", path1, strerror(errno));
crypto/openssh/sftp.c
1708
"\"%s\": %s", path1, strerror(errno));
crypto/openssh/sftp.c
1783
error("Couldn't get local cwd: %s", strerror(errno));
crypto/openssh/sftp.c
2302
strerror(errno));
crypto/openssh/sftp.c
237
int save_errno = errno;
crypto/openssh/sftp.c
2370
fatal("pipe: %s", strerror(errno));
crypto/openssh/sftp.c
2379
fatal("socketpair: %s", strerror(errno));
crypto/openssh/sftp.c
2385
fatal("fork: %s", strerror(errno));
crypto/openssh/sftp.c
2389
fprintf(stderr, "dup2: %s\n", strerror(errno));
crypto/openssh/sftp.c
240
while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR)
crypto/openssh/sftp.c
2407
fprintf(stderr, "exec: %s: %s\n", path, strerror(errno));
crypto/openssh/sftp.c
244
errno = save_errno;
crypto/openssh/sftp.c
251
int olderrno = errno;
crypto/openssh/sftp.c
2529
fatal("%s (%s).", strerror(errno), optarg);
crypto/openssh/sftp.c
255
errno = olderrno;
crypto/openssh/sftp.c
2575
errno = EINVAL;
crypto/openssh/sftp.c
2579
optarg + 7, strerror(errno));
crypto/openssh/sftp.c
267
int save_errno = errno;
crypto/openssh/sftp.c
2696
if (errno != EINTR)
crypto/openssh/sftp.c
2698
strerror(errno));
crypto/openssh/sftp.c
272
while ((pid = waitpid(sshpid, NULL, WNOHANG)) == -1 && errno == EINTR)
crypto/openssh/sftp.c
280
errno = save_errno;
crypto/openssh/sftp.c
337
fatal("Couldn't fork: %s", strerror(errno));
crypto/openssh/sftp.c
349
strerror(errno));
crypto/openssh/sftp.c
353
if (errno != EINTR)
crypto/openssh/sftp.c
354
fatal("Couldn't wait for child: %s", strerror(errno));
crypto/openssh/sftp.c
684
error("basename %s: %s", tmp, strerror(errno));
crypto/openssh/sftp.c
773
error("stat %s: %s", g.gl_pathv[i], strerror(errno));
crypto/openssh/sftp.c
779
error("basename %s: %s", tmp, strerror(errno));
crypto/openssh/ssh-add.c
200
if (r != SSH_ERR_SYSTEM_ERROR || errno != ENOENT)
crypto/openssh/ssh-add.c
406
if (r != SSH_ERR_SYSTEM_ERROR || errno != ENOENT)
crypto/openssh/ssh-agent.c
1428
strerror(errno));
crypto/openssh/ssh-agent.c
1624
provider, strerror(errno));
crypto/openssh/ssh-agent.c
1695
provider, strerror(errno));
crypto/openssh/ssh-agent.c
1985
error("accept from AUTH_SOCKET: %s", strerror(errno));
crypto/openssh/ssh-agent.c
1989
error("getpeereid %d failed: %s", fd, strerror(errno));
crypto/openssh/ssh-agent.c
2012
if (errno == EAGAIN || errno == EINTR)
crypto/openssh/ssh-agent.c
2015
socknum, sockets[socknum].fd, strerror(errno));
crypto/openssh/ssh-agent.c
2043
if (errno == EAGAIN || errno == EINTR)
crypto/openssh/ssh-agent.c
2046
socknum, sockets[socknum].fd, strerror(errno));
crypto/openssh/ssh-agent.c
2276
fatal("%s: getrlimit: %s", __progname, strerror(errno));
crypto/openssh/ssh-agent.c
2503
error("setsid: %s", strerror(errno));
crypto/openssh/ssh-agent.c
2515
error("setrlimit RLIMIT_CORE: %s", strerror(errno));
crypto/openssh/ssh-agent.c
2544
fatal("%s: pledge: %s", __progname, strerror(errno));
crypto/openssh/ssh-agent.c
2563
saved_errno = errno;
crypto/openssh/ssh-keygen.c
1006
fatal("%s: %s: %s", __progname, path, strerror(errno));
crypto/openssh/ssh-keygen.c
1123
} else if (errno != ENOENT) {
crypto/openssh/ssh-keygen.c
1125
strerror(errno));
crypto/openssh/ssh-keygen.c
1149
prv_tmp, strerror(errno));
crypto/openssh/ssh-keygen.c
1171
pub_tmp, strerror(errno));
crypto/openssh/ssh-keygen.c
1185
pub_file, strerror(errno));
crypto/openssh/ssh-keygen.c
1190
key_types[i].path, strerror(errno));
crypto/openssh/ssh-keygen.c
1356
fatal("Cannot stat %s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
1377
fatal("mkstemp: %s", strerror(errno));
crypto/openssh/ssh-keygen.c
1379
oerrno = errno;
crypto/openssh/ssh-keygen.c
1414
if (unlink(old) == -1 && errno != ENOENT)
crypto/openssh/ssh-keygen.c
1415
fatal("unlink %.100s: %s", old, strerror(errno));
crypto/openssh/ssh-keygen.c
1418
strerror(errno));
crypto/openssh/ssh-keygen.c
1422
strerror(errno));
crypto/openssh/ssh-keygen.c
1456
fatal("%s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
1545
if (errno == ENOENT)
crypto/openssh/ssh-keygen.c
1547
fatal("%s: %s", fname, strerror(errno));
crypto/openssh/ssh-keygen.c
1572
fatal("%s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
1978
errno = 0;
crypto/openssh/ssh-keygen.c
1982
if (errno == ERANGE && ull == ULONG_MAX)
crypto/openssh/ssh-keygen.c
2216
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
2224
fatal("fopen %s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
2327
fatal("fopen %s: %s", path, strerror(errno));
crypto/openssh/ssh-keygen.c
2363
errno = 0;
crypto/openssh/ssh-keygen.c
2368
if (errno == ERANGE && serial == ULLONG_MAX)
crypto/openssh/ssh-keygen.c
2374
errno = 0;
crypto/openssh/ssh-keygen.c
2379
if (errno == ERANGE && serial2 == ULLONG_MAX)
crypto/openssh/ssh-keygen.c
2477
if (errno != ENOENT)
crypto/openssh/ssh-keygen.c
2479
identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
2512
fatal("write %s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
2572
if (waspub && stat(privpath, &st) != 0 && errno == ENOENT)
crypto/openssh/ssh-keygen.c
2665
oerrno = errno;
crypto/openssh/ssh-keygen.c
2667
wfile, strerror(errno));
crypto/openssh/ssh-keygen.c
2668
errno = oerrno;
crypto/openssh/ssh-keygen.c
2674
oerrno = errno;
crypto/openssh/ssh-keygen.c
2676
wfile, strerror(errno));
crypto/openssh/ssh-keygen.c
2677
errno = oerrno;
crypto/openssh/ssh-keygen.c
2805
argv[i], strerror(errno));
crypto/openssh/ssh-keygen.c
3035
out_file, strerror(errno));
crypto/openssh/ssh-keygen.c
3094
strerror(errno));
crypto/openssh/ssh-keygen.c
3102
out_file, strerror(errno));
crypto/openssh/ssh-keygen.c
3424
fatal("gethostname: %s", strerror(errno));
crypto/openssh/ssh-keygen.c
3600
errno = 0;
crypto/openssh/ssh-keygen.c
3607
(errno == ERANGE && cert_serial == ULLONG_MAX))
crypto/openssh/ssh-keygen.c
3801
fatal("%s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
442
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
652
fatal("unget: %s", strerror(errno));
crypto/openssh/ssh-keygen.c
677
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
723
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
771
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
797
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
861
fatal("%s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
969
fatal("%s: %s", path, strerror(errno));
crypto/openssh/ssh-keyscan.c
378
error("socket: %s", strerror(errno));
crypto/openssh/ssh-keyscan.c
384
errno != EINPROGRESS)
crypto/openssh/ssh-keyscan.c
385
error("connect (`%s'): %s", host, strerror(errno));
crypto/openssh/ssh-keyscan.c
483
error("write (%s): %s", c->c_name, strerror(errno));
crypto/openssh/ssh-keyscan.c
511
switch (errno) {
crypto/openssh/ssh-keyscan.c
518
error("read (%s): %s", c->c_name, strerror(errno));
crypto/openssh/ssh-keyscan.c
583
if (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK)
crypto/openssh/ssh-keyscan.c
811
fp == stdin ? "<stdin>" : argv[j], strerror(errno));
crypto/openssh/ssh-keyscan.c
834
fp == stdin ? "<stdin>" : argv[j], strerror(errno));
crypto/openssh/ssh-keysign.c
189
fatal("%s: pledge: %s", __progname, strerror(errno));
crypto/openssh/ssh-keysign.c
233
fatal("%s: pledge: %s", __progname, strerror(errno));
crypto/openssh/ssh-pkcs11-client.c
575
error_f("socketpair: %s", strerror(errno));
crypto/openssh/ssh-pkcs11-client.c
584
error_f("fork: %s", strerror(errno));
crypto/openssh/ssh-pkcs11-client.c
597
fprintf(stderr, "dup2: %s\n", strerror(errno));
crypto/openssh/ssh-pkcs11-client.c
610
fprintf(stderr, "exec: %s: %s\n", prog, strerror(errno));
crypto/openssh/ssh-pkcs11-helper.c
403
if (r == 0 || errno == EINTR)
crypto/openssh/ssh-pkcs11-helper.c
405
fatal("poll: %s", strerror(errno));
crypto/openssh/ssh-pkcs11-helper.c
415
error("read: %s", strerror(errno));
crypto/openssh/ssh-pkcs11-helper.c
425
error("write: %s", strerror(errno));
crypto/openssh/ssh-sk-client.c
118
errno = 0;
crypto/openssh/ssh-sk-client.c
120
if (errno == EINTR) {
crypto/openssh/ssh-sk-client.c
121
errno = 0;
crypto/openssh/ssh-sk-client.c
124
oerrno = errno;
crypto/openssh/ssh-sk-client.c
125
error_f("waitpid: %s", strerror(errno));
crypto/openssh/ssh-sk-client.c
126
errno = oerrno;
crypto/openssh/ssh-sk-client.c
209
oerrno = errno;
crypto/openssh/ssh-sk-client.c
214
oerrno = errno;
crypto/openssh/ssh-sk-client.c
224
errno = oerrno;
crypto/openssh/ssh-sk-client.c
280
oerrno = errno;
crypto/openssh/ssh-sk-client.c
289
errno = oerrno;
crypto/openssh/ssh-sk-client.c
361
oerrno = errno;
crypto/openssh/ssh-sk-client.c
367
errno = oerrno;
crypto/openssh/ssh-sk-client.c
472
oerrno = errno;
crypto/openssh/ssh-sk-client.c
480
errno = oerrno;
crypto/openssh/ssh-sk-client.c
62
oerrno = errno;
crypto/openssh/ssh-sk-client.c
63
error_f("helper \"%s\" unusable: %s", helper, strerror(errno));
crypto/openssh/ssh-sk-client.c
64
errno = oerrno;
crypto/openssh/ssh-sk-client.c
73
error("socketpair: %s", strerror(errno));
crypto/openssh/ssh-sk-client.c
78
oerrno = errno;
crypto/openssh/ssh-sk-client.c
79
error("fork: %s", strerror(errno));
crypto/openssh/ssh-sk-client.c
83
errno = oerrno;
crypto/openssh/ssh-sk-client.c
89
error_f("dup2: %s", strerror(errno));
crypto/openssh/ssh-sk-client.c
98
error_f("execlp: %s", strerror(errno));
crypto/openssh/ssh-sk-helper.c
308
fatal("%s: dup: %s", __progname, strerror(errno));
crypto/openssh/ssh.c
1435
fatal("gethostname: %s", strerror(errno));
crypto/openssh/ssh.c
1541
options.forward_agent_sock_path, strerror(errno));
crypto/openssh/ssh.c
1896
fatal_f("fork: %s", strerror(errno));
crypto/openssh/ssh.c
1933
fatal("daemon() failed: %.200s", strerror(errno));
crypto/openssh/ssh.c
2543
int save_errno = errno;
crypto/openssh/ssh.c
2548
(pid == -1 && errno == EINTR))
crypto/openssh/ssh.c
2550
errno = save_errno;
crypto/openssh/ssh.c
548
if (errno == ENOENT)
crypto/openssh/ssh.c
577
"%.100s", config, strerror(errno));
crypto/openssh/ssh.c
895
strerror(errno));
crypto/openssh/sshbuf-io.c
109
oerrno = errno;
crypto/openssh/sshbuf-io.c
112
errno = oerrno;
crypto/openssh/sshbuf-io.c
53
if (errno == EPIPE)
crypto/openssh/sshbuf-io.c
93
oerrno = errno;
crypto/openssh/sshbuf-io.c
96
errno = oerrno;
crypto/openssh/sshbuf-misc.c
287
oerrno = errno;
crypto/openssh/sshbuf-misc.c
298
errno = oerrno;
crypto/openssh/sshbuf-misc.c
301
errno = EPIPE;
crypto/openssh/sshconnect.c
127
"proxy dialer: %.100s", strerror(errno));
crypto/openssh/sshconnect.c
1725
shell, args, strerror(errno));
crypto/openssh/sshconnect.c
1728
fatal("fork failed: %.100s", strerror(errno));
crypto/openssh/sshconnect.c
173
fatal("fork failed: %.100s", strerror(errno));
crypto/openssh/sshconnect.c
1730
if (errno != EINTR)
crypto/openssh/sshconnect.c
1731
fatal("Couldn't wait for child: %s", strerror(errno));
crypto/openssh/sshconnect.c
182
if (errno != EINTR)
crypto/openssh/sshconnect.c
183
fatal("Couldn't wait for child: %s", strerror(errno));
crypto/openssh/sshconnect.c
210
strerror(errno));
crypto/openssh/sshconnect.c
257
fatal("fork failed: %.100s", strerror(errno));
crypto/openssh/sshconnect.c
364
error("socket: %s", strerror(errno));
crypto/openssh/sshconnect.c
399
strerror(errno));
crypto/openssh/sshconnect.c
419
error("bind %s: %s", ntop, strerror(errno));
crypto/openssh/sshconnect.c
476
errno = EAFNOSUPPORT;
crypto/openssh/sshconnect.c
482
oerrno = errno;
crypto/openssh/sshconnect.c
484
errno = oerrno;
crypto/openssh/sshconnect.c
491
errno = EAFNOSUPPORT;
crypto/openssh/sshconnect.c
498
errno = EAFNOSUPPORT;
crypto/openssh/sshconnect.c
509
errno = 0;
crypto/openssh/sshconnect.c
520
oerrno = errno;
crypto/openssh/sshconnect.c
522
ntop, strport, strerror(errno));
crypto/openssh/sshconnect.c
525
errno = oerrno;
crypto/openssh/sshconnect.c
535
host, strport, errno == 0 ? "failure" : strerror(errno));
crypto/openssh/sshconnect.c
545
error("setsockopt SO_KEEPALIVE: %.100s", strerror(errno));
crypto/openssh/sshconnect.c
789
if (r == SSH_ERR_SYSTEM_ERROR && errno == ENOENT) {
crypto/openssh/sshconnect2.c
1532
"no such identity: %s: %s", id->filename, strerror(errno));
crypto/openssh/sshconnect2.c
1561
if (errno == ENOENT) {
crypto/openssh/sshconnect2.c
2027
error_f("not installed: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2031
error_f("fflush: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2035
error_f("pipe: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2039
error_f("pipe: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2043
error_f("fork: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2050
fatal_f("dup2: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2053
fatal_f("dup2: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2058
fatal_f("dup2: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2061
debug3_f("fcntl F_SETFD: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2068
strerror(errno));
crypto/openssh/sshconnect2.c
2091
errno = 0;
crypto/openssh/sshconnect2.c
2093
if (errno != EINTR) {
crypto/openssh/sshconnect2.c
2094
error_f("waitpid %ld: %s", (long)pid, strerror(errno));
crypto/openssh/sshd-auth.c
195
strerror(errno));
crypto/openssh/sshd-auth.c
197
fatal("chdir(\"/\"): %s", strerror(errno));
crypto/openssh/sshd-auth.c
207
fatal("setgroups: %.100s", strerror(errno));
crypto/openssh/sshd-auth.c
739
error("chdir(\"/\"): %s", strerror(errno));
crypto/openssh/sshd-session.c
1007
fatal("open %s: %s", _PATH_DEVNULL, strerror(errno));
crypto/openssh/sshd-session.c
1010
fatal("dup %s: %s", _PATH_DEVNULL, strerror(errno));
crypto/openssh/sshd-session.c
1080
fatal("dup2 devnull->config fd: %s", strerror(errno));
crypto/openssh/sshd-session.c
1162
error("chdir(\"/\"): %s", strerror(errno));
crypto/openssh/sshd-session.c
1226
error("setsockopt SO_KEEPALIVE: %.100s", strerror(errno));
crypto/openssh/sshd-session.c
1418
errno != ESRCH) {
crypto/openssh/sshd-session.c
1420
strerror(errno));
crypto/openssh/sshd-session.c
365
if (errno == EINTR)
crypto/openssh/sshd-session.c
368
fatal_f("waitpid: %s", strerror(errno));
crypto/openssh/sshd-session.c
399
fatal("dup2 stdin failed: %s", strerror(errno));
crypto/openssh/sshd-session.c
403
fatal("dup2 stdout failed: %s", strerror(errno));
crypto/openssh/sshd-session.c
408
fatal("dup2 monitor fd: %s", strerror(errno));
crypto/openssh/sshd-session.c
411
fatal("dup2 log fd: %s", strerror(errno));
crypto/openssh/sshd-session.c
418
options.sshd_auth_path, strerror(errno));
crypto/openssh/sshd-session.c
825
rtable, strerror(errno));
crypto/openssh/sshd.c
1039
if (ret == -1 && errno != EINTR) {
crypto/openssh/sshd.c
1040
error("ppoll: %.100s", strerror(errno));
crypto/openssh/sshd.c
1041
if (errno == EINVAL)
crypto/openssh/sshd.c
1064
if (ret == -1 && (errno == EINTR || errno == EAGAIN))
crypto/openssh/sshd.c
1099
if (errno == EINTR || errno == EAGAIN)
crypto/openssh/sshd.c
1101
if (errno != EPIPE) {
crypto/openssh/sshd.c
1104
strerror(errno));
crypto/openssh/sshd.c
1155
if (errno != EINTR && errno != EWOULDBLOCK &&
crypto/openssh/sshd.c
1156
errno != ECONNABORTED && errno != EAGAIN)
crypto/openssh/sshd.c
1158
strerror(errno));
crypto/openssh/sshd.c
1159
if (errno == EMFILE || errno == ENFILE)
crypto/openssh/sshd.c
1206
strerror(errno));
crypto/openssh/sshd.c
1273
error("fork: %.100s", strerror(errno));
crypto/openssh/sshd.c
1401
debug("setgroups(): %.200s", strerror(errno));
crypto/openssh/sshd.c
1531
fatal("open %s: %s", _PATH_DEVNULL, strerror(errno));
crypto/openssh/sshd.c
1534
fatal("dup %s: %s", _PATH_DEVNULL, strerror(errno));
crypto/openssh/sshd.c
1830
debug("setgroups() failed: %.200s", strerror(errno));
crypto/openssh/sshd.c
1878
fatal("daemon() failed: %.200s", strerror(errno));
crypto/openssh/sshd.c
1887
debug("madvise(): %.200s", strerror(errno));
crypto/openssh/sshd.c
1894
error("chdir(\"/\"): %s", strerror(errno));
crypto/openssh/sshd.c
1905
fatal("socketpair: %s", strerror(errno));
crypto/openssh/sshd.c
1931
options.pid_file, strerror(errno));
crypto/openssh/sshd.c
1952
error("setsid: %.100s", strerror(errno));
crypto/openssh/sshd.c
1958
fatal("dup2 stdin: %s", strerror(errno));
crypto/openssh/sshd.c
1960
fatal("dup2 stdout: %s", strerror(errno));
crypto/openssh/sshd.c
1966
fatal("dup2 config_s: %s", strerror(errno));
crypto/openssh/sshd.c
1975
fatal("rexec of %s failed: %s", rexec_argv[0], strerror(errno));
crypto/openssh/sshd.c
457
if (errno == EINTR || errno == EAGAIN)
crypto/openssh/sshd.c
459
if (errno != ECHILD)
crypto/openssh/sshd.c
460
error_f("waitpid: %s", strerror(errno));
crypto/openssh/sshd.c
542
strerror(errno));
crypto/openssh/sshd.c
806
fatal_f("fork failed: %s", strerror(errno));
crypto/openssh/sshd.c
815
error_f("write: %s", strerror(errno));
crypto/openssh/sshd.c
820
error_f("write: %s", strerror(errno));
crypto/openssh/sshd.c
855
verbose("socket: %.100s", strerror(errno));
crypto/openssh/sshd.c
863
verbose("socket: CLOEXEC: %s", strerror(errno));
crypto/openssh/sshd.c
884
strport, ntop, strerror(errno));
crypto/openssh/sshd.c
894
ntop, strport, strerror(errno));
crypto/openssh/ssherr.c
75
return strerror(errno);
crypto/openssh/sshkey-xmss.c
484
if (errno != EWOULDBLOCK) {
crypto/openssh/sshkey.c
1442
errno = EPIPE;
crypto/openssh/sshpty.c
113
error("setsid: %.100s", strerror(errno));
crypto/openssh/sshpty.c
128
error("ioctl(TIOCSCTTY): %.100s", strerror(errno));
crypto/openssh/sshpty.c
132
error("SETPGRP %s",strerror(errno));
crypto/openssh/sshpty.c
136
error("%.100s: %.100s", tty, strerror(errno));
crypto/openssh/sshpty.c
144
strerror(errno));
crypto/openssh/sshpty.c
187
strerror(errno));
crypto/openssh/sshpty.c
195
if (errno == EROFS &&
crypto/openssh/sshpty.c
199
strerror(errno));
crypto/openssh/sshpty.c
203
strerror(errno));
crypto/openssh/sshpty.c
209
if (errno == EROFS &&
crypto/openssh/sshpty.c
212
tty, (u_int)mode, strerror(errno));
crypto/openssh/sshpty.c
215
tty, (u_int)mode, strerror(errno));
crypto/openssh/sshpty.c
73
error("openpty: %.100s", strerror(errno));
crypto/openssh/sshpty.c
91
error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno));
crypto/openssh/sshpty.c
93
error("chmod %.100s 0666 failed: %.100s", tty, strerror(errno));
crypto/openssh/sshsig.c
1001
oerrno = errno;
crypto/openssh/sshsig.c
1003
path, strerror(errno));
crypto/openssh/sshsig.c
1004
errno = oerrno;
crypto/openssh/sshsig.c
1041
oerrno = errno;
crypto/openssh/sshsig.c
1043
path, strerror(errno));
crypto/openssh/sshsig.c
1044
errno = oerrno;
crypto/openssh/sshsig.c
1067
oerrno = errno;
crypto/openssh/sshsig.c
1070
path, strerror(errno));
crypto/openssh/sshsig.c
1071
errno = oerrno;
crypto/openssh/sshsig.c
1095
oerrno = errno;
crypto/openssh/sshsig.c
1097
path, strerror(errno));
crypto/openssh/sshsig.c
1098
errno = oerrno;
crypto/openssh/sshsig.c
1110
oerrno = errno;
crypto/openssh/sshsig.c
1143
errno = oerrno;
crypto/openssh/sshsig.c
529
if (errno == EINTR || errno == EAGAIN)
crypto/openssh/sshsig.c
531
oerrno = errno;
crypto/openssh/sshsig.c
532
error_f("read: %s", strerror(errno));
crypto/openssh/sshsig.c
533
errno = oerrno;
crypto/openssh/sshsig.c
567
oerrno = errno;
crypto/openssh/sshsig.c
571
errno = oerrno;
crypto/openssh/ttymodes.c
294
logit("tcgetattr: %.100s", strerror(errno));
crypto/openssh/ttymodes.c
368
logit("tcgetattr: %.100s", strerror(errno));
crypto/openssh/ttymodes.c
449
logit("Setting tty modes failed: %.100s", strerror(errno));
crypto/openssh/uidswap.c
103
strerror(errno));
crypto/openssh/uidswap.c
107
fatal("getgroups: %.100s", strerror(errno));
crypto/openssh/uidswap.c
112
fatal("getgroups: %.100s", strerror(errno));
crypto/openssh/uidswap.c
121
fatal("setgroups: %.100s", strerror(errno));
crypto/openssh/uidswap.c
125
debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno));
crypto/openssh/uidswap.c
128
debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno));
crypto/openssh/uidswap.c
132
strerror(errno));
crypto/openssh/uidswap.c
135
strerror(errno));
crypto/openssh/uidswap.c
156
fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno));
crypto/openssh/uidswap.c
158
fatal("setegid %u: %.100s", (u_int)saved_egid, strerror(errno));
crypto/openssh/uidswap.c
166
fatal("%s: setuid failed: %s", __func__, strerror(errno));
crypto/openssh/uidswap.c
168
fatal("%s: setgid failed: %s", __func__, strerror(errno));
crypto/openssh/uidswap.c
172
fatal("setgroups: %.100s", strerror(errno));
crypto/openssh/uidswap.c
196
fatal("setresgid %u: %.100s", (u_int)pw->pw_gid, strerror(errno));
crypto/openssh/uidswap.c
205
pw->pw_name, (u_int)pw->pw_gid, strerror(errno));
crypto/openssh/uidswap.c
209
fatal("setresuid %u: %.100s", (u_int)pw->pw_uid, strerror(errno));
crypto/openssh/uidswap.c
88
fatal("getgroups: %.100s", strerror(errno));
crypto/openssh/uidswap.c
93
fatal("getgroups: %.100s", strerror(errno));
crypto/openssl/apps/cmp.c
2528
if (unlink(file) != 0 && errno != ENOENT) {
crypto/openssl/apps/genpkey.c
324
outpubkeyfile, strerror(errno));
crypto/openssl/apps/genpkey.c
330
outfile, strerror(errno));
crypto/openssl/apps/lib/apps.c
1620
if (rename(serialfile, buf[1]) < 0 && errno != ENOENT
crypto/openssl/apps/lib/apps.c
1622
&& errno != ENOTDIR
crypto/openssl/apps/lib/apps.c
1686
ERR_raise_data(ERR_LIB_SYS, errno,
crypto/openssl/apps/lib/apps.c
1835
if (rename(dbfile, buf[1]) < 0 && errno != ENOENT
crypto/openssl/apps/lib/apps.c
1837
&& errno != ENOTDIR
crypto/openssl/apps/lib/apps.c
1850
if (rename(buf[4], buf[3]) < 0 && errno != ENOENT
crypto/openssl/apps/lib/apps.c
1852
&& errno != ENOTDIR
crypto/openssl/apps/lib/apps.c
2742
errno = ENOENT;
crypto/openssl/apps/lib/apps.c
2744
errno = EACCES;
crypto/openssl/apps/lib/apps.c
2746
errno = EINVAL; /* we could map more codes... */
crypto/openssl/apps/lib/apps.c
3146
opt_getprog(), filename, strerror(errno));
crypto/openssl/apps/lib/apps.c
3173
mode == 'r' ? "stdin" : "stdout", strerror(errno));
crypto/openssl/apps/lib/apps.c
3184
filename, modeverb(mode), strerror(errno));
crypto/openssl/apps/lib/http_server.c
143
} else if (errno != EINTR) {
crypto/openssl/apps/lib/http_server.c
145
"waitpid() failed: %s", strerror(errno));
crypto/openssl/apps/lib/http_server.c
92
strerror(errno));
crypto/openssl/apps/lib/opt.c
590
int oerrno = errno;
crypto/openssl/apps/lib/opt.c
594
errno = 0;
crypto/openssl/apps/lib/opt.c
598
|| ((l == LONG_MAX || l == LONG_MIN) && errno == ERANGE)
crypto/openssl/apps/lib/opt.c
599
|| (l == 0 && errno != 0)) {
crypto/openssl/apps/lib/opt.c
601
errno = oerrno;
crypto/openssl/apps/lib/opt.c
605
errno = oerrno;
crypto/openssl/apps/lib/opt.c
614
int oerrno = errno;
crypto/openssl/apps/lib/opt.c
618
errno = 0;
crypto/openssl/apps/lib/opt.c
623
&& errno == ERANGE)
crypto/openssl/apps/lib/opt.c
624
|| (m == 0 && errno != 0)) {
crypto/openssl/apps/lib/opt.c
626
errno = oerrno;
crypto/openssl/apps/lib/opt.c
636
errno = oerrno;
crypto/openssl/apps/lib/opt.c
643
int oerrno = errno;
crypto/openssl/apps/lib/opt.c
647
errno = 0;
crypto/openssl/apps/lib/opt.c
651
|| (m == UINTMAX_MAX && errno == ERANGE)
crypto/openssl/apps/lib/opt.c
652
|| (m == 0 && errno != 0)) {
crypto/openssl/apps/lib/opt.c
654
errno = oerrno;
crypto/openssl/apps/lib/opt.c
664
errno = oerrno;
crypto/openssl/apps/lib/opt.c
695
int oerrno = errno;
crypto/openssl/apps/lib/opt.c
699
errno = 0;
crypto/openssl/apps/lib/opt.c
703
|| ((l == ULONG_MAX) && errno == ERANGE)
crypto/openssl/apps/lib/opt.c
704
|| (l == 0 && errno != 0)) {
crypto/openssl/apps/lib/opt.c
706
errno = oerrno;
crypto/openssl/apps/lib/opt.c
710
errno = oerrno;
crypto/openssl/apps/lib/vms_term_sock.c
327
LogMessage("CreateSocketPair: socket () - %d", errno);
crypto/openssl/apps/lib/vms_term_sock.c
345
LogMessage("CreateSocketPair: bind () - %d", errno);
crypto/openssl/apps/lib/vms_term_sock.c
355
LogMessage("CreateSocketPair: getsockname () - %d", errno);
crypto/openssl/apps/lib/vms_term_sock.c
417
LogMessage("CreateSocketPair: socket () - %d", errno);
crypto/openssl/apps/lib/vms_term_sock.c
458
LogMessage("CreateSocketPair: connect () - %d", errno);
crypto/openssl/apps/ocsp.c
40
errno = ENOSYS;
crypto/openssl/apps/ocsp.c
46
errno = ENOSYS;
crypto/openssl/apps/rehash.c
443
if (unlink(buf) < 0 && errno != ENOENT) {
crypto/openssl/apps/rehash.c
446
opt_getprog(), buf, strerror(errno));
crypto/openssl/apps/rehash.c
453
strerror(errno));
crypto/openssl/apps/rehash.c
465
if (unlink(buf) < 0 && errno != ENOENT) {
crypto/openssl/apps/rehash.c
468
opt_getprog(), buf, strerror(errno));
crypto/openssl/apps/rehash.c
59
errno = ENOSYS;
crypto/openssl/apps/rehash.c
65
errno = ENOSYS;
crypto/openssl/apps/s_client.c
126
saved_errno = errno;
crypto/openssl/apps/s_client.c
127
errno = 0;
crypto/openssl/apps/s_client.c
132
int ret = errno;
crypto/openssl/apps/s_client.c
133
errno = saved_errno;
crypto/openssl/apps/speed.c
1706
if (select_result == -1 && errno == EINTR)
crypto/openssl/apps/speed.c
4928
errno = 0;
crypto/openssl/apps/speed.c
4930
if (errno == 0 && end != str && *end == 0
crypto/openssl/apps/speed.c
4985
errno);
crypto/openssl/apps/speed.c
5132
if (errno != EINTR) {
crypto/openssl/apps/speed.c
5134
errno);
crypto/openssl/crypto/LPdir_nyi.c
48
errno = EINVAL;
crypto/openssl/crypto/LPdir_nyi.c
54
errno = EINVAL;
crypto/openssl/crypto/LPdir_unix.c
114
int save_errno = errno; /* Probably not needed, but I'm paranoid */
crypto/openssl/crypto/LPdir_unix.c
117
errno = save_errno;
crypto/openssl/crypto/LPdir_unix.c
168
errno = EINVAL;
crypto/openssl/crypto/LPdir_unix.c
90
errno = EINVAL;
crypto/openssl/crypto/LPdir_unix.c
94
errno = 0;
crypto/openssl/crypto/LPdir_unix.c
98
errno = ENOMEM;
crypto/openssl/crypto/LPdir_vms.c
100
errno = ENOENT;
crypto/openssl/crypto/LPdir_vms.c
108
errno = EINVAL;
crypto/openssl/crypto/LPdir_vms.c
115
errno = ENAMETOOLONG;
crypto/openssl/crypto/LPdir_vms.c
121
errno = ENOMEM;
crypto/openssl/crypto/LPdir_vms.c
154
errno = 0;
crypto/openssl/crypto/LPdir_vms.c
155
vaxc$errno = status;
crypto/openssl/crypto/LPdir_vms.c
160
errno = EVMSERR;
crypto/openssl/crypto/LPdir_vms.c
161
vaxc$errno = status;
crypto/openssl/crypto/LPdir_vms.c
199
errno = EVMSERR;
crypto/openssl/crypto/LPdir_vms.c
200
vaxc$errno = status;
crypto/openssl/crypto/LPdir_vms.c
205
errno = EINVAL;
crypto/openssl/crypto/LPdir_vms.c
90
errno = EINVAL;
crypto/openssl/crypto/LPdir_vms.c
94
errno = 0;
crypto/openssl/crypto/LPdir_win.c
129
errno = EINVAL;
crypto/openssl/crypto/LPdir_win.c
173
errno = EINVAL;
crypto/openssl/crypto/LPdir_win.c
213
errno = EINVAL;
crypto/openssl/crypto/LPdir_win.c
77
errno = EINVAL;
crypto/openssl/crypto/LPdir_win.c
81
errno = 0;
crypto/openssl/crypto/LPdir_win.c
86
errno = ENOENT;
crypto/openssl/crypto/LPdir_win.c
92
errno = ENOMEM;
crypto/openssl/crypto/bio/bss_file.c
70
if (errno == ENOENT
crypto/openssl/crypto/bio/bss_file.c
72
|| errno == ENXIO
crypto/openssl/crypto/bn/bn_s390x.c
127
} else if (errno == EBADF || errno == ENOTTY) {
crypto/openssl/crypto/bn/bn_s390x.c
135
} else if (errno == ENODEV) {
crypto/openssl/crypto/bn/bn_s390x.c
50
} else if (errno == EBADF || errno == ENOTTY) {
crypto/openssl/crypto/bn/bn_s390x.c
58
} else if (errno == ENODEV) {
crypto/openssl/crypto/conf/conf_def.c
812
ERR_raise_data(ERR_LIB_SYS, errno, "calling stat(%s)", include);
crypto/openssl/crypto/dso/dso_dl.c
141
if (openssl_strerror_r(errno, errbuf, sizeof(errbuf)))
crypto/openssl/crypto/dso/dso_dl.c
146
"symname(%s): errno %d", symname, errno);
crypto/openssl/crypto/dso/dso_dl.c
71
if (openssl_strerror_r(errno, errbuf, sizeof(errbuf)))
crypto/openssl/crypto/dso/dso_dl.c
76
"filename(%s): errno %d", filename, errno);
crypto/openssl/crypto/dso/dso_dlfcn.c
338
errno = ENOMEM;
crypto/openssl/crypto/dso/dso_dlfcn.c
384
errno = ENOMEM;
crypto/openssl/crypto/mem_sec.c
567
if (errno == ENOSYS) {
crypto/openssl/crypto/o_fopen.c
74
&& (file = _wfopen(wfilename, wmode)) == NULL && (errno == ENOENT || errno == EBADF)) {
crypto/openssl/crypto/o_str.c
130
errno = 0;
crypto/openssl/crypto/o_str.c
155
if (errno != 0 || (endptr == NULL && **internal_endptr != '\0') || (str == *internal_endptr))
crypto/openssl/crypto/rand/rand_egd.c
140
if (errno == EISCONN)
crypto/openssl/crypto/rand/rand_egd.c
143
switch (errno) {
crypto/openssl/crypto/rand/randfile.c
154
if (ferror(in) && errno == EINTR) {
crypto/openssl/crypto/threads_pthread.c
670
assert(errno != EDEADLK && errno != EBUSY);
crypto/openssl/crypto/threads_pthread.c
685
assert(errno != EDEADLK && errno != EBUSY);
crypto/openssl/crypto/threads_pthread.c
700
assert(errno != EPERM);
crypto/openssl/crypto/ui/ui_openssl.c
406
if (errno == ENOTTY)
crypto/openssl/crypto/ui/ui_openssl.c
415
if (errno == EINVAL)
crypto/openssl/crypto/ui/ui_openssl.c
424
if (errno == ENXIO)
crypto/openssl/crypto/ui/ui_openssl.c
433
if (errno == EIO)
crypto/openssl/crypto/ui/ui_openssl.c
443
if (errno == EPERM)
crypto/openssl/crypto/ui/ui_openssl.c
452
if (errno == ENODEV)
crypto/openssl/crypto/ui/ui_openssl.c
458
"errno=%d", errno);
crypto/openssl/demos/bio/sconnect.c
125
fprintf(stderr, "errno=%d ", errno);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
321
switch (errno) {
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
328
fprintf(stderr, "error on read: %d\n", errno);
crypto/openssl/engines/e_afalg.c
143
if (ret == 0 || errno != ENOSYS)
crypto/openssl/engines/e_afalg.c
175
errno = ENOSYS;
crypto/openssl/engines/e_afalg.c
317
if (errno == EAGAIN || errno == EWOULDBLOCK)
crypto/openssl/engines/e_devcrypto.c
1207
if (errno != ENOENT && errno != ENXIO)
crypto/openssl/engines/e_devcrypto.c
1209
fprintf(stderr, "Could not open /dev/crypto: %s\n", strerror(errno));
crypto/openssl/engines/e_devcrypto.c
1215
fprintf(stderr, "Could not create crypto fd: %s\n", strerror(errno));
crypto/openssl/engines/e_devcrypto.c
1237
fprintf(stderr, "Error closing /dev/crypto: %s\n", strerror(errno));
crypto/openssl/engines/e_devcrypto.c
230
ERR_raise_data(ERR_LIB_SYS, errno, "calling ioctl()");
crypto/openssl/engines/e_devcrypto.c
281
ERR_raise_data(ERR_LIB_SYS, errno, "calling ioctl()");
crypto/openssl/engines/e_devcrypto.c
743
ERR_raise_data(ERR_LIB_SYS, errno, "calling ioctl()");
crypto/openssl/engines/e_devcrypto.c
781
ERR_raise_data(ERR_LIB_SYS, errno, "calling ioctl()");
crypto/openssl/engines/e_devcrypto.c
795
ERR_raise_data(ERR_LIB_SYS, errno, "calling ioctl()");
crypto/openssl/engines/e_devcrypto.c
812
ERR_raise_data(ERR_LIB_SYS, errno, "calling ioctl()");
crypto/openssl/engines/e_devcrypto.c
819
ERR_raise_data(ERR_LIB_SYS, errno, "calling ioctl()");
crypto/openssl/engines/e_devcrypto.c
90
ERR_raise_data(ERR_LIB_SYS, errno, "calling ioctl()");
crypto/openssl/engines/e_loader_attic.c
1013
ERR_raise_data(ERR_LIB_SYS, errno,
crypto/openssl/engines/e_loader_attic.c
1036
ctx->_.dir.last_errno = errno;
crypto/openssl/engines/e_loader_attic.c
1530
ctx->_.dir.last_errno = errno;
crypto/openssl/include/internal/e_os.h
30
#define get_last_sys_error() errno
crypto/openssl/include/internal/e_os.h
31
#define clear_sys_error() errno = 0
crypto/openssl/include/internal/e_os.h
32
#define set_sys_error(e) errno = (e)
crypto/openssl/include/internal/ktls.h
155
errno = EINVAL;
crypto/openssl/include/internal/ktls.h
172
errno = EMSGSIZE;
crypto/openssl/include/internal/ktls.h
177
errno = EBADMSG;
crypto/openssl/include/internal/ktls.h
184
errno = EBADMSG;
crypto/openssl/include/internal/ktls.h
411
errno = EINVAL;
crypto/openssl/include/internal/sockets.h
166
#define get_last_socket_error() errno
crypto/openssl/include/internal/sockets.h
167
#define clear_socket_error() errno = 0
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
237
errno = EINVAL;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
250
errno = ENOSYS;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
361
if (errno != ENOSYS)
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
402
errno = ENOSYS;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
472
&& errno == EINTR)
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
475
while ((r = read(fd, &c, 1)) < 0 && errno == EINTR)
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
653
} else if (bytes < 0 && errno != EINTR) {
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
688
} else if (bytes < 0 && errno != EINTR) {
crypto/openssl/providers/implementations/storemgmt/file_store.c
181
ctx->_.dir.last_errno = errno;
crypto/openssl/providers/implementations/storemgmt/file_store.c
265
ERR_raise_data(ERR_LIB_SYS, errno,
crypto/openssl/providers/implementations/storemgmt/file_store.c
719
ctx->_.dir.last_errno = errno;
crypto/openssl/ssl/record/methods/ktls_meth.c
352
switch (errno) {
crypto/openssl/ssl/ssl_cert.c
980
if (errno) {
crypto/openssl/test/danetest.c
45
saved_errno = errno;
crypto/openssl/test/danetest.c
50
int ret = errno;
crypto/openssl/test/danetest.c
51
errno = saved_errno;
crypto/openssl/test/errtest.c
124
errno = EINVAL;
crypto/openssl/test/errtest.c
126
return TEST_int_eq(errno, EINVAL);
crypto/openssl/test/helpers/ssltestlib.c
1096
if (sfd == -1 && errno != EAGAIN)
crypto/openssl/test/testutil/tests.c
143
TEST_error("%s: %s", s, strerror(errno));
kerberos5/lib/libroken/fbsd_ossl_provider_load.c
67
return (errno);
lib/csu/tests/cxx_constructors.cc
89
errno == EINTR)
lib/csu/tests/errno/errno_test.c
13
errno = 42;
lib/csu/tests/errno/errno_test.c
20
if (errno != 0)
lib/csu/tests/fini_test.c
124
errno == EINTR)
lib/csu/tests/fini_test.c
82
errno == EINTR)
lib/geom/cache/geom_cache.c
158
name, strerror(errno));
lib/geom/concat/geom_concat.c
170
name, strerror(errno));
lib/geom/eli/geom_eli.c
1606
prov, strerror(errno));
lib/geom/eli/geom_eli.c
1620
error = errno;
lib/geom/eli/geom_eli.c
1657
strerror(errno));
lib/geom/eli/geom_eli.c
1664
prov, strerror(errno));
lib/geom/eli/geom_eli.c
1720
strerror(errno));
lib/geom/eli/geom_eli.c
1739
strerror(errno));
lib/geom/eli/geom_eli.c
1745
strerror(errno));
lib/geom/eli/geom_eli.c
1802
strerror(errno));
lib/geom/eli/geom_eli.c
1842
gctl_error(req, "Cannot open %s: %s.", prov, strerror(errno));
lib/geom/eli/geom_eli.c
1850
strerror(errno));
lib/geom/eli/geom_eli.c
1869
strerror(errno));
lib/geom/eli/geom_eli.c
298
strerror(errno));
lib/geom/eli/geom_eli.c
303
gctl_error(req, "Cannot lock memory: %s.", strerror(errno));
lib/geom/eli/geom_eli.c
401
type, file, strerror(errno));
lib/geom/eli/geom_eli.c
429
error = errno;
lib/geom/eli/geom_eli.c
455
strerror(errno));
lib/geom/eli/geom_eli.c
469
strerror(errno));
lib/geom/eli/geom_eli.c
638
strerror(errno));
lib/geom/eli/geom_eli.c
643
prov, strerror(errno));
lib/geom/eli/geom_eli.c
695
strerror(errno));
lib/geom/eli/geom_eli.c
701
prov, strerror(errno));
lib/geom/eli/geom_eli.c
712
prov, strerror(errno));
lib/geom/eli/geom_eli.c
892
prov, strerror(errno));
lib/geom/label/geom_label.c
151
strerror(errno));
lib/geom/label/geom_label.c
251
name, strerror(errno));
lib/geom/mirror/geom_mirror.c
236
str, strerror(errno));
lib/geom/multipath/geom_multipath.c
175
name, strerror(errno));
lib/geom/multipath/geom_multipath.c
258
name2, strerror(errno));
lib/geom/multipath/geom_multipath.c
264
name2, strerror(errno));
lib/geom/raid3/geom_raid3.c
201
str, strerror(errno));
lib/geom/shsec/geom_shsec.c
131
name, strerror(errno));
lib/geom/stripe/geom_stripe.c
149
name, strerror(errno));
lib/geom/virstor/geom_virstor.c
204
fprintf(stderr, "%s for %s\n", strerror(errno), name);
lib/geom/virstor/geom_virstor.c
279
"%s: %s.", name, strerror(errno));
lib/geom/virstor/geom_virstor.c
353
map_size, strerror(errno));
lib/libbe/be.c
1225
if (errno == ENOTSUP)
lib/libbe/be.c
1278
if (errno != ENOENT)
lib/libbe/be.c
627
if (errno == ENOTSUP)
lib/libbe/be_access.c
102
switch (errno) {
lib/libbe/be_access.c
155
switch (errno) {
lib/libbluetooth/dev.c
74
errno = ENXIO;
lib/libbluetooth/hci.c
107
errno = EINVAL;
lib/libbluetooth/hci.c
127
if (errno == EAGAIN || errno == EINTR)
lib/libbluetooth/hci.c
142
errno = EINVAL;
lib/libbluetooth/hci.c
157
if (errno == EAGAIN || errno == EINTR)
lib/libbluetooth/hci.c
164
errno = ETIMEDOUT;
lib/libbluetooth/hci.c
172
if (errno == EAGAIN || errno == EINTR)
lib/libbluetooth/hci.c
208
errno = EIO;
lib/libbluetooth/hci.c
226
errno = EINVAL;
lib/libbluetooth/hci.c
232
errno = EINVAL;
lib/libbluetooth/hci.c
250
error = errno;
lib/libbluetooth/hci.c
264
error = errno;
lib/libbluetooth/hci.c
325
errno = error;
lib/libbluetooth/hci.c
339
errno = EINVAL;
lib/libbluetooth/hci.c
421
errno = EINVAL;
lib/libbluetooth/hci.c
482
errno = ENOMEM;
lib/libbluetooth/hci.c
506
errno = EIO;
lib/libbluetooth/hci.c
552
errno = EINVAL;
lib/libbluetooth/hci.c
61
errno = EINVAL;
lib/libbluetooth/hci.c
616
errno = EINVAL;
lib/libbluetooth/hci.c
702
errno = ENOMEM;
lib/libbluetooth/hci.c
74
errno = ENXIO;
lib/libbluetooth/hci.c
808
errno = ERANGE;
lib/libc/aarch64/gen/getcontextx.c
83
error = errno;
lib/libc/aarch64/gen/getcontextx.c
85
errno = error;
lib/libc/arm/gen/getcontextx.c
92
error = errno;
lib/libc/arm/gen/getcontextx.c
94
errno = error;
lib/libc/compat-43/getwd.c
45
(void)strerror_r(errno, buf, MAXPATHLEN);
lib/libc/compat-43/killpg.c
43
errno = ESRCH;
lib/libc/csu/libc_start1.c
179
errno = 0;
lib/libc/csu/libc_start1.c
205
errno = 0;
lib/libc/db/btree/bt_close.c
129
errno = EINVAL;
lib/libc/db/btree/bt_delete.c
114
errno = EINVAL;
lib/libc/db/btree/bt_delete.c
74
errno = EPERM;
lib/libc/db/btree/bt_get.c
73
errno = EINVAL;
lib/libc/db/btree/bt_open.c
316
einval: errno = EINVAL;
lib/libc/db/btree/bt_open.c
319
eftype: errno = EFTYPE;
lib/libc/db/btree/bt_open.c
322
err: saved_errno = errno;
lib/libc/db/btree/bt_open.c
330
errno = saved_errno;
lib/libc/db/btree/bt_open.c
354
errno = EINVAL;
lib/libc/db/btree/bt_open.c
360
if (errno != EINVAL) /* It's OK to not exist. */
lib/libc/db/btree/bt_open.c
362
errno = 0;
lib/libc/db/btree/bt_open.c
395
errno = ENAMETOOLONG;
lib/libc/db/btree/bt_open.c
440
errno = ENOENT;
lib/libc/db/btree/bt_put.c
103
errno = EINVAL;
lib/libc/db/btree/bt_put.c
83
errno = EPERM;
lib/libc/db/btree/bt_seq.c
104
errno = EINVAL;
lib/libc/db/btree/bt_seq.c
161
errno = EINVAL;
lib/libc/db/db/db.c
74
errno = EINVAL;
lib/libc/db/hash/hash.c
120
RETURN_ERROR(errno, error0);
lib/libc/db/hash/hash.c
129
RETURN_ERROR(errno, error1);
lib/libc/db/hash/hash.c
142
RETURN_ERROR(errno, error1);
lib/libc/db/hash/hash.c
185
save_errno = errno;
lib/libc/db/hash/hash.c
187
errno = save_errno;
lib/libc/db/hash/hash.c
230
errno = save_errno;
lib/libc/db/hash/hash.c
259
errno = ENOENT;
lib/libc/db/hash/hash.c
301
errno = EINVAL;
lib/libc/db/hash/hash.c
314
errno = EINVAL;
lib/libc/db/hash/hash.c
401
save_errno = errno;
lib/libc/db/hash/hash.c
410
save_errno = errno;
lib/libc/db/hash/hash.c
429
errno = save_errno;
lib/libc/db/hash/hash.c
447
errno = EINVAL;
lib/libc/db/hash/hash.c
495
errno = EFTYPE;
lib/libc/db/hash/hash.c
496
hashp->error = errno;
lib/libc/db/hash/hash.c
523
hashp->error = errno = EINVAL;
lib/libc/db/hash/hash.c
527
hashp->error = errno = EPERM;
lib/libc/db/hash/hash.c
540
hashp->error = errno = EINVAL;
lib/libc/db/hash/hash.c
544
hashp->error = errno = EPERM;
lib/libc/db/hash/hash.c
559
hashp->error = errno = EINVAL;
lib/libc/db/hash/hash.c
563
hashp->error = errno = EPERM;
lib/libc/db/hash/hash.c
708
hashp->error = errno = EINVAL;
lib/libc/db/hash/hash.c
887
save_errno = errno;
lib/libc/db/hash/hash.c
889
errno = save_errno;
lib/libc/db/hash/hash.c
897
save_errno = errno;
lib/libc/db/hash/hash.c
899
errno = save_errno;
lib/libc/db/hash/hash_bigkey.c
429
errno = EINVAL; /* OUT OF BUFFERS */
lib/libc/db/hash/hash_bigkey.c
483
errno = EINVAL; /* Out of buffers. */
lib/libc/db/hash/hash_bigkey.c
535
errno = EINVAL; /* MIS -- OUT OF BUFFERS */
lib/libc/db/hash/hash_page.c
538
errno = EFTYPE;
lib/libc/db/hash/hash_page.c
604
errno = EFTYPE;
lib/libc/db/hash/hash_page.c
701
errno = EFBIG;
lib/libc/db/hash/hash_page.c
715
errno = EFBIG;
lib/libc/db/hash/hash_page.c
741
errno = EFBIG;
lib/libc/db/hash/hash_page.c
787
errno = EFBIG;
lib/libc/db/hash/hash_page.c
859
errno = ENAMETOOLONG;
lib/libc/db/hash/ndbm.c
68
errno = ENAMETOOLONG;
lib/libc/db/mpool/mpool.c
222
serrno = errno;
lib/libc/db/mpool/mpool.c
224
errno = serrno;
lib/libc/db/mpool/mpool.c
238
errno = EINVAL;
lib/libc/db/mpool/mpool.c
74
errno = ESPIPE;
lib/libc/db/recno/rec_delete.c
91
einval: errno = EINVAL;
lib/libc/db/recno/rec_get.c
74
errno = EINVAL;
lib/libc/db/recno/rec_open.c
116
errno = 0;
lib/libc/db/recno/rec_open.c
117
if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
lib/libc/db/recno/rec_open.c
205
einval: errno = EINVAL;
lib/libc/db/recno/rec_open.c
206
err: sverrno = errno;
lib/libc/db/recno/rec_open.c
211
errno = sverrno;
lib/libc/db/recno/rec_open.c
230
errno = ENOENT;
lib/libc/db/recno/rec_put.c
125
einval: errno = EINVAL;
lib/libc/db/recno/rec_search.c
104
err: sverrno = errno;
lib/libc/db/recno/rec_search.c
115
errno = sverrno;
lib/libc/db/recno/rec_seq.c
98
einval: errno = EINVAL;
lib/libc/db/test/btree.tests/main.c
173
(void)fprintf(stderr, "dbopen: %s\n", strerror(errno));
lib/libc/db/test/btree.tests/main.c
192
"/dev/tty: %s\n", strerror(errno));
lib/libc/db/test/btree.tests/main.c
587
(void)fprintf(stderr, "%s: %s\n", argv[1], strerror(errno));
lib/libc/db/test/btree.tests/main.c
615
(void)fprintf(stderr, "%s: %s\n", argv[1], strerror(errno));
lib/libc/db/test/dbtest.c
106
err("%s: %s", optarg, strerror(errno));
lib/libc/db/test/dbtest.c
126
err("%s: %s", *argv, strerror(errno));
lib/libc/db/test/dbtest.c
153
err("dbopen: %s", strerror(errno));
lib/libc/db/test/dbtest.c
183
err("write: %s", strerror(errno));
lib/libc/db/test/dbtest.c
320
err("db->close: %s", strerror(errno));
lib/libc/db/test/dbtest.c
361
err("line %lu: get: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
384
err("line %lu: getdata: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
401
err("line %lu: put: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
418
err("line %lu: rem: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
443
err("line %lu: synk: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
462
err("line %lu: seq: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
505
lineno, strerror(errno));
lib/libc/db/test/dbtest.c
680
err("%s: %s\n", name, strerror(errno));
lib/libc/db/test/dbtest.c
686
err("%s", strerror(errno));
lib/libc/db/test/dbtest.c
701
err("%s", strerror(errno));
lib/libc/db/test/hash.tests/thash4.c
108
fprintf(stderr, "\terrno: %d\n", errno);
lib/libc/db/test/hash.tests/thash4.c
112
fprintf(stderr, "\terrno: %d\n", errno);
lib/libc/db/test/hash.tests/thash4.c
71
fprintf(stderr, "\terrno: %d\n", errno);
lib/libc/db/test/hash.tests/thash4.c
92
fprintf(stderr, "\terrno: %d\n", errno);
lib/libc/gen/__xuname.c
106
oerrno = errno;
lib/libc/gen/__xuname.c
108
if (errno == ENOMEM)
lib/libc/gen/__xuname.c
109
errno = oerrno;
lib/libc/gen/__xuname.c
131
oerrno = errno;
lib/libc/gen/__xuname.c
133
if (errno == ENOMEM)
lib/libc/gen/__xuname.c
134
errno = oerrno;
lib/libc/gen/__xuname.c
57
oerrno = errno;
lib/libc/gen/__xuname.c
59
if (errno == ENOMEM)
lib/libc/gen/__xuname.c
60
errno = oerrno;
lib/libc/gen/__xuname.c
70
oerrno = errno;
lib/libc/gen/__xuname.c
72
if (errno == ENOMEM)
lib/libc/gen/__xuname.c
73
errno = oerrno;
lib/libc/gen/__xuname.c
85
oerrno = errno;
lib/libc/gen/__xuname.c
87
if (errno == ENOMEM)
lib/libc/gen/__xuname.c
88
errno = oerrno;
lib/libc/gen/aio_read2.c
41
errno = EINVAL;
lib/libc/gen/aio_read2.c
51
if (error == -1 && errno == EIO) {
lib/libc/gen/aio_read2.c
54
errno = error;
lib/libc/gen/aio_write2.c
41
errno = EINVAL;
lib/libc/gen/aio_write2.c
51
if (error == -1 && errno == EIO) {
lib/libc/gen/aio_write2.c
54
errno = error;
lib/libc/gen/basename_compat.c
60
errno = ENAMETOOLONG;
lib/libc/gen/cap_sandboxed.c
43
assert(errno == ENOSYS);
lib/libc/gen/clock_getcpuclockid.c
38
return (errno);
lib/libc/gen/confstr.c
113
errno = EINVAL;
lib/libc/gen/ctermid.c
57
sverrno = errno;
lib/libc/gen/ctermid.c
61
errno = sverrno;
lib/libc/gen/daemon.c
71
oerrno = errno;
lib/libc/gen/daemon.c
76
errno = oerrno;
lib/libc/gen/dirfd.c
41
errno = EINVAL;
lib/libc/gen/dirname_compat.c
70
errno = ENAMETOOLONG;
lib/libc/gen/dup3.c
45
errno = EINVAL;
lib/libc/gen/dup3.c
50
errno = EINVAL;
lib/libc/gen/err.c
166
vwarnci(true, errno, fmt, ap);
lib/libc/gen/err.c
173
vwarnci(true, errno, fmt, ap);
lib/libc/gen/err.c
196
saved_errno = errno;
lib/libc/gen/err.c
198
errno = saved_errno;
lib/libc/gen/err.c
215
saved_errno = errno;
lib/libc/gen/err.c
222
errno = saved_errno;
lib/libc/gen/err.c
81
verrci(true, eval, errno, fmt, ap);
lib/libc/gen/err.c
88
verrci(true, eval, errno, fmt, ap);
lib/libc/gen/exec.c
119
errno = ENOMEM;
lib/libc/gen/exec.c
157
switch (errno) {
lib/libc/gen/exec.c
212
save_errno = errno;
lib/libc/gen/exec.c
223
errno = ENOENT;
lib/libc/gen/exec.c
227
errno = save_errno;
lib/libc/gen/exec.c
234
if (errno == EACCES)
lib/libc/gen/exec.c
270
errno = ENOENT;
lib/libc/gen/exec.c
333
if (errno == EACCES)
lib/libc/gen/exec.c
344
errno = EACCES;
lib/libc/gen/exec.c
346
errno = ENOENT;
lib/libc/gen/exec.c
65
errno = ENOMEM;
lib/libc/gen/exec.c
92
errno = ENOMEM;
lib/libc/gen/exect.c
37
if (errno != EBUSY)
lib/libc/gen/fstab.c
264
error(errno);
lib/libc/gen/fts-compat.c
1114
errno = ENAMETOOLONG;
lib/libc/gen/fts-compat.c
1181
errno = ENOENT; /* disinformation */
lib/libc/gen/fts-compat.c
1187
oerrno = errno;
lib/libc/gen/fts-compat.c
1190
errno = oerrno;
lib/libc/gen/fts-compat.c
130
errno = EINVAL;
lib/libc/gen/fts-compat.c
164
errno = ENOENT;
lib/libc/gen/fts-compat.c
281
saved_errno = fchdir(sp->fts_rfd) ? errno : 0;
lib/libc/gen/fts-compat.c
288
errno = saved_errno;
lib/libc/gen/fts-compat.c
343
p->fts_errno = errno;
lib/libc/gen/fts-compat.c
387
p->fts_errno = errno;
lib/libc/gen/fts-compat.c
434
p->fts_errno = errno;
lib/libc/gen/fts-compat.c
458
errno = 0;
lib/libc/gen/fts-compat.c
477
saved_errno = errno;
lib/libc/gen/fts-compat.c
479
errno = saved_errno;
lib/libc/gen/fts-compat.c
505
errno = EINVAL;
lib/libc/gen/fts-compat.c
519
errno = EINVAL;
lib/libc/gen/fts-compat.c
530
errno = 0;
lib/libc/gen/fts-compat.c
613
errno = 0;
lib/libc/gen/fts-compat.c
617
*readdir_errno = errno;
lib/libc/gen/fts-compat.c
666
cur->fts_errno = errno;
lib/libc/gen/fts-compat.c
715
cur->fts_errno = errno;
lib/libc/gen/fts-compat.c
718
cderrno = errno;
lib/libc/gen/fts-compat.c
766
mem1: saved_errno = errno;
lib/libc/gen/fts-compat.c
773
errno = saved_errno;
lib/libc/gen/fts-compat.c
797
errno = ENAMETOOLONG;
lib/libc/gen/fts-compat.c
941
saved_errno = errno;
lib/libc/gen/fts-compat.c
943
errno = 0;
lib/libc/gen/fts-compat.c
950
p->fts_errno = errno;
lib/libc/gen/fts-compat11.c
1161
errno = ENOENT; /* disinformation */
lib/libc/gen/fts-compat11.c
1167
oerrno = errno;
lib/libc/gen/fts-compat11.c
1170
errno = oerrno;
lib/libc/gen/fts-compat11.c
118
errno = EINVAL;
lib/libc/gen/fts-compat11.c
124
errno = EINVAL;
lib/libc/gen/fts-compat11.c
271
saved_errno = fchdir(sp->fts_rfd) ? errno : 0;
lib/libc/gen/fts-compat11.c
278
errno = saved_errno;
lib/libc/gen/fts-compat11.c
333
p->fts_errno = errno;
lib/libc/gen/fts-compat11.c
377
p->fts_errno = errno;
lib/libc/gen/fts-compat11.c
425
p->fts_errno = errno;
lib/libc/gen/fts-compat11.c
451
errno = 0;
lib/libc/gen/fts-compat11.c
470
saved_errno = errno;
lib/libc/gen/fts-compat11.c
472
errno = saved_errno;
lib/libc/gen/fts-compat11.c
499
errno = EINVAL;
lib/libc/gen/fts-compat11.c
513
errno = EINVAL;
lib/libc/gen/fts-compat11.c
524
errno = 0;
lib/libc/gen/fts-compat11.c
566
serrno = (sp->fts_child == NULL) ? errno : 0;
lib/libc/gen/fts-compat11.c
569
serrno = errno;
lib/libc/gen/fts-compat11.c
571
errno = serrno;
lib/libc/gen/fts-compat11.c
610
errno = 0;
lib/libc/gen/fts-compat11.c
614
*readdir_errno = errno;
lib/libc/gen/fts-compat11.c
665
cur->fts_errno = errno;
lib/libc/gen/fts-compat11.c
714
cur->fts_errno = errno;
lib/libc/gen/fts-compat11.c
717
cderrno = errno;
lib/libc/gen/fts-compat11.c
765
mem1: saved_errno = errno;
lib/libc/gen/fts-compat11.c
772
errno = saved_errno;
lib/libc/gen/fts-compat11.c
930
saved_errno = errno;
lib/libc/gen/fts-compat11.c
936
errno = 0;
lib/libc/gen/fts-compat11.c
941
p->fts_errno = errno;
lib/libc/gen/fts.c
1040
saved_errno = errno;
lib/libc/gen/fts.c
1045
errno = 0;
lib/libc/gen/fts.c
1050
p->fts_errno = errno;
lib/libc/gen/fts.c
1257
errno = ENOENT; /* disinformation */
lib/libc/gen/fts.c
1267
oerrno = errno;
lib/libc/gen/fts.c
1270
errno = oerrno;
lib/libc/gen/fts.c
222
errno = EINVAL;
lib/libc/gen/fts.c
228
errno = EINVAL;
lib/libc/gen/fts.c
260
errno = ENOSYS;
lib/libc/gen/fts.c
266
errno = EINVAL;
lib/libc/gen/fts.c
272
errno = EINVAL;
lib/libc/gen/fts.c
368
saved_errno = fchdir(sp->fts_rfd) ? errno : 0;
lib/libc/gen/fts.c
375
errno = saved_errno;
lib/libc/gen/fts.c
430
p->fts_errno = errno;
lib/libc/gen/fts.c
474
p->fts_errno = errno;
lib/libc/gen/fts.c
522
p->fts_errno = errno;
lib/libc/gen/fts.c
548
errno = 0;
lib/libc/gen/fts.c
567
saved_errno = errno;
lib/libc/gen/fts.c
569
errno = saved_errno;
lib/libc/gen/fts.c
596
errno = EINVAL;
lib/libc/gen/fts.c
610
errno = EINVAL;
lib/libc/gen/fts.c
621
errno = 0;
lib/libc/gen/fts.c
663
serrno = (sp->fts_child == NULL) ? errno : 0;
lib/libc/gen/fts.c
666
serrno = errno;
lib/libc/gen/fts.c
668
errno = serrno;
lib/libc/gen/fts.c
705
errno = 0;
lib/libc/gen/fts.c
709
*readdir_errno = errno;
lib/libc/gen/fts.c
756
cur->fts_errno = errno;
lib/libc/gen/fts.c
805
cur->fts_errno = errno;
lib/libc/gen/fts.c
808
cderrno = errno;
lib/libc/gen/fts.c
856
mem1: saved_errno = errno;
lib/libc/gen/fts.c
863
errno = saved_errno;
lib/libc/gen/ftw-compat11.c
47
errno = EINVAL;
lib/libc/gen/ftw-compat11.c
79
errno = ELOOP;
lib/libc/gen/ftw-compat11.c
90
sverrno = errno;
lib/libc/gen/ftw-compat11.c
94
errno = sverrno;
lib/libc/gen/ftw.c
40
errno = EINVAL;
lib/libc/gen/ftw.c
71
errno = ELOOP;
lib/libc/gen/ftw.c
82
sverrno = errno;
lib/libc/gen/ftw.c
86
errno = sverrno;
lib/libc/gen/getcap.c
205
errno = ENOMEM;
lib/libc/gen/getcap.c
219
errno = ENOMEM;
lib/libc/gen/getcap.c
256
errno = ENOMEM;
lib/libc/gen/getcap.c
338
errno = ENOMEM;
lib/libc/gen/getcap.c
480
errno = ENOMEM;
lib/libc/gen/getcap.c
519
errno = ENOMEM;
lib/libc/gen/getcap.c
666
savederrno = errno;
lib/libc/gen/getcap.c
671
errno = savederrno;
lib/libc/gen/getcap.c
730
savederrno = errno;
lib/libc/gen/getcap.c
735
errno = savederrno;
lib/libc/gen/getcap.c
799
errno = ENOMEM;
lib/libc/gen/getcap.c
85
errno = ENOMEM;
lib/libc/gen/getcap.c
925
errno = ENOMEM;
lib/libc/gen/getcwd.c
113
errno = 0; /* XXX readdir has no error return. */
lib/libc/gen/getcwd.c
174
save_errno = errno;
lib/libc/gen/getcwd.c
175
errno = 0;
lib/libc/gen/getcwd.c
190
errno = ERANGE;
lib/libc/gen/getcwd.c
214
if (!errno)
lib/libc/gen/getcwd.c
215
errno = save_errno ? save_errno : ENOENT;
lib/libc/gen/getcwd.c
218
save_errno = errno;
lib/libc/gen/getcwd.c
225
errno = save_errno;
lib/libc/gen/getcwd.c
79
errno = EINVAL;
lib/libc/gen/getcwd.c
83
errno = ERANGE;
lib/libc/gen/getentropy.c
52
errno = EINVAL;
lib/libc/gen/getentropy.c
59
switch (errno) {
lib/libc/gen/getgrent.c
1021
if (errno != ENOENT)
lib/libc/gen/getgrent.c
1022
*errnop = errno;
lib/libc/gen/getgrent.c
1128
*errnop = errno;
lib/libc/gen/getgrent.c
1357
*errnop = errno;
lib/libc/gen/getgrent.c
515
errno = ERANGE;
lib/libc/gen/getgrent.c
528
errno = ret_errno;
lib/libc/gen/getgrent.c
709
errno = ERANGE;
lib/libc/gen/getgrent.c
719
errno = rv;
lib/libc/gen/getgrent.c
877
*errnop = errno;
lib/libc/gen/getgrent.c
989
*errnop = errno;
lib/libc/gen/gethostname.c
47
if (errno == ENOMEM)
lib/libc/gen/gethostname.c
48
errno = ENAMETOOLONG;
lib/libc/gen/getlogin.c
68
return (errno);
lib/libc/gen/getnetgrent.c
349
errno == ENOENT) || _yp_statp.st_size == 0)
lib/libc/gen/getnetgrent.c
935
errno = ret_errno;
lib/libc/gen/getnetgrent.c
964
errno = ERANGE;
lib/libc/gen/getnetgrent.c
977
errno = ret_errno;
lib/libc/gen/getpeereid.c
51
errno = EINVAL;
lib/libc/gen/getpwent.c
1127
*errnop = errno;
lib/libc/gen/getpwent.c
1157
if (errno != ENOENT)
lib/libc/gen/getpwent.c
1158
*errnop = errno;
lib/libc/gen/getpwent.c
1321
*errnop = errno;
lib/libc/gen/getpwent.c
1551
return (errno);
lib/libc/gen/getpwent.c
1558
return (errno);
lib/libc/gen/getpwent.c
1775
*errnop = errno;
lib/libc/gen/getpwent.c
1844
*errnop = errno;
lib/libc/gen/getpwent.c
646
errno = ERANGE;
lib/libc/gen/getpwent.c
656
errno = rv;
lib/libc/gen/getpwent.c
839
*errnop = errno;
lib/libc/gen/getpwent.c
888
*errnop = errno;
lib/libc/gen/getusershell.c
155
if (errno == ENOENT) {
lib/libc/gen/getutxent.c
62
errno = EINVAL;
lib/libc/gen/getutxent.c
78
errno = EFTYPE;
lib/libc/gen/getvfsbyname.c
85
errno = ENOENT;
lib/libc/gen/glob-compat11.c
237
errno = E2BIG;
lib/libc/gen/glob-compat11.c
264
errno = E2BIG;
lib/libc/gen/glob-compat11.c
504
errno = E2BIG;
lib/libc/gen/glob-compat11.c
627
errno = E2BIG;
lib/libc/gen/glob-compat11.c
637
errno = E2BIG;
lib/libc/gen/glob-compat11.c
654
errno = E2BIG;
lib/libc/gen/glob-compat11.c
665
errno = E2BIG;
lib/libc/gen/glob-compat11.c
690
errno = E2BIG;
lib/libc/gen/glob-compat11.c
696
errno = E2BIG;
lib/libc/gen/glob-compat11.c
700
saverrno = errno;
lib/libc/gen/glob-compat11.c
701
errno = 0;
lib/libc/gen/glob-compat11.c
703
if (errno == ENOENT || errno == ENOTDIR)
lib/libc/gen/glob-compat11.c
705
err = err_aborted(pglob, errno, buf);
lib/libc/gen/glob-compat11.c
706
if (errno == 0)
lib/libc/gen/glob-compat11.c
707
errno = saverrno;
lib/libc/gen/glob-compat11.c
720
errno = 0;
lib/libc/gen/glob-compat11.c
731
errno = E2BIG;
lib/libc/gen/glob-compat11.c
738
errno = 0;
lib/libc/gen/glob-compat11.c
761
errno = ENAMETOOLONG;
lib/libc/gen/glob-compat11.c
766
errno = 0;
lib/libc/gen/glob-compat11.c
769
if (errno == 0)
lib/libc/gen/glob-compat11.c
770
errno = saverrno;
lib/libc/gen/glob-compat11.c
775
errno = 0;
lib/libc/gen/glob-compat11.c
778
saverrno2 = errno;
lib/libc/gen/glob-compat11.c
783
errno = saverrno2;
lib/libc/gen/glob-compat11.c
788
if (dp == NULL && errno != 0 &&
lib/libc/gen/glob-compat11.c
789
(err = err_aborted(pglob, errno, buf)))
lib/libc/gen/glob-compat11.c
792
if (errno == 0)
lib/libc/gen/glob-compat11.c
793
errno = saverrno;
lib/libc/gen/glob-compat11.c
823
errno = E2BIG;
lib/libc/gen/glob-compat11.c
850
errno = E2BIG;
lib/libc/gen/glob-compat11.c
860
errno = E2BIG;
lib/libc/gen/glob-compat11.c
966
errno = ENAMETOOLONG;
lib/libc/gen/glob-compat11.c
983
errno = ENAMETOOLONG;
lib/libc/gen/glob-compat11.c
997
errno = ENAMETOOLONG;
lib/libc/gen/glob.c
1028
errno = ENAMETOOLONG;
lib/libc/gen/glob.c
1045
errno = ENAMETOOLONG;
lib/libc/gen/glob.c
1059
errno = ENAMETOOLONG;
lib/libc/gen/glob.c
1125
errno);
lib/libc/gen/glob.c
1127
rv = pglob->gl_errfunc(buf, errno);
lib/libc/gen/glob.c
299
errno = E2BIG;
lib/libc/gen/glob.c
326
errno = E2BIG;
lib/libc/gen/glob.c
566
errno = E2BIG;
lib/libc/gen/glob.c
690
errno = E2BIG;
lib/libc/gen/glob.c
700
errno = E2BIG;
lib/libc/gen/glob.c
717
errno = E2BIG;
lib/libc/gen/glob.c
728
errno = E2BIG;
lib/libc/gen/glob.c
753
errno = E2BIG;
lib/libc/gen/glob.c
759
errno = E2BIG;
lib/libc/gen/glob.c
763
saverrno = errno;
lib/libc/gen/glob.c
764
errno = 0;
lib/libc/gen/glob.c
766
if (errno == ENOENT || errno == ENOTDIR)
lib/libc/gen/glob.c
768
err = err_aborted(pglob, errno, buf);
lib/libc/gen/glob.c
769
if (errno == 0)
lib/libc/gen/glob.c
770
errno = saverrno;
lib/libc/gen/glob.c
782
errno = 0;
lib/libc/gen/glob.c
793
errno = E2BIG;
lib/libc/gen/glob.c
800
errno = 0;
lib/libc/gen/glob.c
823
errno = ENAMETOOLONG;
lib/libc/gen/glob.c
828
errno = 0;
lib/libc/gen/glob.c
831
if (errno == 0)
lib/libc/gen/glob.c
832
errno = saverrno;
lib/libc/gen/glob.c
837
errno = 0;
lib/libc/gen/glob.c
840
saverrno2 = errno;
lib/libc/gen/glob.c
845
errno = saverrno2;
lib/libc/gen/glob.c
850
if (dp == NULL && errno != 0 &&
lib/libc/gen/glob.c
851
(err = err_aborted(pglob, errno, buf)))
lib/libc/gen/glob.c
854
if (errno == 0)
lib/libc/gen/glob.c
855
errno = saverrno;
lib/libc/gen/glob.c
885
errno = E2BIG;
lib/libc/gen/glob.c
912
errno = E2BIG;
lib/libc/gen/glob.c
922
errno = E2BIG;
lib/libc/gen/kqueue1.c
44
errno = EINVAL;
lib/libc/gen/memfd_create.c
112
errno = EOPNOTSUPP;
lib/libc/gen/memfd_create.c
126
saved_errno = errno;
lib/libc/gen/memfd_create.c
128
errno = saved_errno;
lib/libc/gen/memfd_create.c
60
errno = EBADF;
lib/libc/gen/memfd_create.c
65
errno = EINVAL;
lib/libc/gen/memfd_create.c
70
errno = EINVAL;
lib/libc/gen/memfd_create.c
75
errno = EINVAL;
lib/libc/gen/memfd_create.c
99
errno = ENOSYS;
lib/libc/gen/nftw-compat11.c
104
sverrno = errno;
lib/libc/gen/nftw-compat11.c
108
errno = sverrno;
lib/libc/gen/nftw-compat11.c
45
errno = EINVAL;
lib/libc/gen/nftw.c
100
sverrno = errno;
lib/libc/gen/nftw.c
104
errno = sverrno;
lib/libc/gen/nftw.c
41
errno = EINVAL;
lib/libc/gen/nice.c
46
saverrno = errno;
lib/libc/gen/nice.c
47
errno = 0;
lib/libc/gen/nice.c
49
if (prio == -1 && errno != 0)
lib/libc/gen/nice.c
52
if (errno == EACCES)
lib/libc/gen/nice.c
53
errno = EPERM;
lib/libc/gen/nice.c
56
errno = saverrno;
lib/libc/gen/nlist.c
150
errno = EFBIG;
lib/libc/gen/nlist.c
179
errno = EFBIG;
lib/libc/gen/nlist.c
247
errsave = errno;
lib/libc/gen/nlist.c
252
errno = errsave;
lib/libc/gen/opendir2.c
127
saved_errno = errno;
lib/libc/gen/opendir2.c
129
errno = saved_errno;
lib/libc/gen/opendir2.c
144
saved_errno = errno;
lib/libc/gen/opendir2.c
146
errno = saved_errno;
lib/libc/gen/opendir2.c
158
saved_errno = errno;
lib/libc/gen/opendir2.c
160
errno = saved_errno;
lib/libc/gen/opendir2.c
331
saved_errno = errno;
lib/libc/gen/opendir2.c
334
errno = saved_errno;
lib/libc/gen/opendir2.c
61
saved_errno = errno;
lib/libc/gen/opendir2.c
63
errno = saved_errno;
lib/libc/gen/pmadvise.c
15
saved_errno = errno;
lib/libc/gen/pmadvise.c
17
ret = errno;
lib/libc/gen/pmadvise.c
18
errno = saved_errno;
lib/libc/gen/popen.c
218
} while (pid == -1 && errno == EINTR);
lib/libc/gen/posix_spawn.c
111
return (errno);
lib/libc/gen/posix_spawn.c
118
return (errno);
lib/libc/gen/posix_spawn.c
121
return (errno);
lib/libc/gen/posix_spawn.c
127
return (errno);
lib/libc/gen/posix_spawn.c
129
return (errno);
lib/libc/gen/posix_spawn.c
144
return (errno);
lib/libc/gen/posix_spawn.c
152
return (errno);
lib/libc/gen/posix_spawn.c
168
return (errno);
lib/libc/gen/posix_spawn.c
171
saved_errno = errno;
lib/libc/gen/posix_spawn.c
176
if (errno == EBADF)
lib/libc/gen/posix_spawn.c
181
return (errno);
lib/libc/gen/posix_spawn.c
186
return (errno);
lib/libc/gen/posix_spawn.c
188
return (errno);
lib/libc/gen/posix_spawn.c
196
return (errno);
lib/libc/gen/posix_spawn.c
200
return (errno);
lib/libc/gen/posix_spawn.c
272
psa->error = errno;
lib/libc/gen/posix_spawn.c
373
if (p == -1 && errno == EINVAL) {
lib/libc/gen/posix_spawn.c
382
return (errno);
lib/libc/gen/posix_spawn.c
467
return (errno);
lib/libc/gen/posix_spawn.c
473
error = errno;
lib/libc/gen/posix_spawn.c
497
return (errno);
lib/libc/gen/posix_spawn.c
520
return (errno);
lib/libc/gen/posix_spawn.c
539
return (errno);
lib/libc/gen/posix_spawn.c
544
error = errno;
lib/libc/gen/posix_spawn.c
567
return (errno);
lib/libc/gen/posix_spawn.c
591
return (errno);
lib/libc/gen/posix_spawn.c
611
return (errno);
lib/libc/gen/pututxline.c
127
error = errno;
lib/libc/gen/pututxline.c
129
error = errno;
lib/libc/gen/pututxline.c
134
errno = error;
lib/libc/gen/pututxline.c
163
error = errno;
lib/libc/gen/pututxline.c
165
error = errno;
lib/libc/gen/pututxline.c
173
errno = error;
lib/libc/gen/pututxline.c
223
error = errno;
lib/libc/gen/pututxline.c
225
error = errno;
lib/libc/gen/pututxline.c
230
errno = error;
lib/libc/gen/pututxline.c
278
error = errno;
lib/libc/gen/pututxline.c
283
errno = error;
lib/libc/gen/pututxline.c
328
errno = EINVAL;
lib/libc/gen/pututxline.c
56
errno = EFTYPE;
lib/libc/gen/pw_scan.c
114
errno = 0;
lib/libc/gen/pw_scan.c
116
if ((temp == ULONG_MAX && errno == ERANGE) || temp > UID_MAX) {
lib/libc/gen/pw_scan.c
149
errno = 0;
lib/libc/gen/pw_scan.c
151
if ((temp == ULONG_MAX && errno == ERANGE) || temp > GID_MAX) {
lib/libc/gen/readdir.c
112
saved_errno = errno;
lib/libc/gen/readdir.c
113
errno = 0;
lib/libc/gen/readdir.c
122
if (errno != 0) {
lib/libc/gen/readdir.c
124
return (errno);
lib/libc/gen/readdir.c
126
errno = saved_errno;
lib/libc/gen/readpassphrase.c
141
save_errno = errno;
lib/libc/gen/readpassphrase.c
148
errno == EINTR && !signo[SIGTTOU])
lib/libc/gen/readpassphrase.c
182
errno = save_errno;
lib/libc/gen/readpassphrase.c
54
errno = EINVAL;
lib/libc/gen/readpassphrase.c
73
errno = ENOTTY;
lib/libc/gen/scandir.c
116
if (errno != 0)
lib/libc/gen/scandir.c
131
serrno = errno;
lib/libc/gen/scandir.c
137
errno = serrno;
lib/libc/gen/scandir.c
164
serrno = errno;
lib/libc/gen/scandir.c
166
errno = serrno;
lib/libc/gen/scandir.c
193
serrno = errno;
lib/libc/gen/scandir.c
195
errno = serrno;
lib/libc/gen/scandir.c
221
serrno = errno;
lib/libc/gen/scandir.c
223
errno = serrno;
lib/libc/gen/scandir.c
84
while (errno = 0, (d = readdir(dirp)) != NULL) {
lib/libc/gen/sched_getaffinity.c
53
if (error == -1 && errno == ERANGE)
lib/libc/gen/sched_getaffinity.c
54
errno = EINVAL;
lib/libc/gen/sched_setaffinity.c
75
if (error == -1 && errno == EDEADLK)
lib/libc/gen/sched_setaffinity.c
76
errno = EINVAL;
lib/libc/gen/sem.c
130
errno = EINVAL;
lib/libc/gen/sem.c
149
errno = EINVAL;
lib/libc/gen/sem.c
155
errno = ENOSPC;
lib/libc/gen/sem.c
206
errno = EBUSY;
lib/libc/gen/sem.c
274
errno = ENOSPC;
lib/libc/gen/sem.c
277
errno = ENOSPC;
lib/libc/gen/sem.c
290
errno = EINVAL;
lib/libc/gen/sem.c
392
errno = EINVAL;
lib/libc/gen/sem.c
428
errno = EAGAIN;
lib/libc/gen/sem_new.c
118
errno = EINVAL;
lib/libc/gen/sem_new.c
127
errno = EINVAL;
lib/libc/gen/sem_new.c
154
errno = EINVAL;
lib/libc/gen/sem_new.c
160
errno = ENAMETOOLONG;
lib/libc/gen/sem_new.c
164
errno = EINVAL;
lib/libc/gen/sem_new.c
203
errno = ENOSPC;
lib/libc/gen/sem_new.c
227
if (errno == ENOMEM)
lib/libc/gen/sem_new.c
228
errno = ENOSPC;
lib/libc/gen/sem_new.c
232
errno = EINVAL;
lib/libc/gen/sem_new.c
245
errsave = errno;
lib/libc/gen/sem_new.c
252
errno = errsave;
lib/libc/gen/sem_new.c
266
errno = EINVAL;
lib/libc/gen/sem_new.c
287
errno = EINVAL;
lib/libc/gen/sem_new.c
297
errno = ENOENT;
lib/libc/gen/sem_new.c
303
errno = ENAMETOOLONG;
lib/libc/gen/sem_new.c
318
errno = EINVAL;
lib/libc/gen/sem_new.c
366
if (retval == -1 && errno == EINTR && (flags & TIMER_ABSTIME) == 0 &&
lib/libc/gen/sem_new.c
386
errno = EAGAIN;
lib/libc/gen/sem_new.c
419
errno = EINVAL;
lib/libc/gen/sem_new.c
463
errno = EOVERFLOW;
lib/libc/gen/setmode.c
177
errno = EINVAL;
lib/libc/gen/setmode.c
199
errno = 0;
lib/libc/gen/setmode.c
202
errno = EINVAL;
lib/libc/gen/setmode.c
205
if (errno == ERANGE && (perml == LONG_MAX || perml == LONG_MIN))
lib/libc/gen/setmode.c
208
errno = EINVAL;
lib/libc/gen/setmode.c
244
errno = EINVAL;
lib/libc/gen/setmode.c
335
serrno = errno;
lib/libc/gen/setmode.c
337
errno = serrno;
lib/libc/gen/sigsetops.c
115
errno = EINVAL;
lib/libc/gen/sigsetops.c
40
errno = EINVAL;
lib/libc/gen/sigsetops.c
52
errno = EINVAL;
lib/libc/gen/sleep.c
60
if (errno != EINTR)
lib/libc/gen/statvfs.c
111
errno = EOVERFLOW; \
lib/libc/gen/sysconf.c
110
errno = EOVERFLOW;
lib/libc/gen/sysconf.c
120
errno = EOVERFLOW;
lib/libc/gen/sysconf.c
186
sverrno = errno;
lib/libc/gen/sysconf.c
187
errno = 0;
lib/libc/gen/sysconf.c
189
if (lvalue == -1 && errno != 0)
lib/libc/gen/sysconf.c
191
errno = sverrno;
lib/libc/gen/sysconf.c
520
sverrno = errno;
lib/libc/gen/sysconf.c
531
errno = sverrno;
lib/libc/gen/sysconf.c
547
sverrno = errno;
lib/libc/gen/sysconf.c
550
errno = sverrno;
lib/libc/gen/sysconf.c
553
errno = sverrno;
lib/libc/gen/sysconf.c
573
sverrno = errno;
lib/libc/gen/sysconf.c
575
errno = sverrno;
lib/libc/gen/sysconf.c
626
errno = EINVAL;
lib/libc/gen/sysconf.c
94
errno = EOVERFLOW;
lib/libc/gen/sysctl.c
100
errno = EPERM;
lib/libc/gen/sysctl.c
111
errno = ENOMEM;
lib/libc/gen/sysctl.c
209
errno = EINVAL;
lib/libc/gen/sysctl.c
55
errno = ENOMEM;
lib/libc/gen/sysctl.c
85
errno = EINVAL;
lib/libc/gen/syslog.c
155
saved_errno = errno;
lib/libc/gen/syslog.c
303
if (errno != ENOBUFS) {
lib/libc/gen/termios.c
113
errno = EINVAL;
lib/libc/gen/termios.c
243
errno = EINVAL;
lib/libc/gen/termios.c
269
errno = EINVAL;
lib/libc/gen/termios.c
72
errno = EINVAL;
lib/libc/gen/trivial-getcontextx.c
67
error = errno;
lib/libc/gen/trivial-getcontextx.c
69
errno = error;
lib/libc/gen/ttyname.c
69
return (errno);
lib/libc/gen/ttyname.c
77
return (errno == EINVAL ? ERANGE : errno);
lib/libc/gen/ulimit.c
67
errno = EINVAL;
lib/libc/gen/wordexp.c
105
if (nwritten == -1 && errno == EINTR)
lib/libc/gen/wordexp.c
142
serrno = errno;
lib/libc/gen/wordexp.c
157
serrno = errno;
lib/libc/gen/wordexp.c
163
errno = serrno;
lib/libc/gen/wordexp.c
210
serrno = errno;
lib/libc/gen/wordexp.c
216
serrno = errno;
lib/libc/gen/wordexp.c
253
serrno = errno;
lib/libc/gen/wordexp.c
262
while (wpid < 0 && errno == EINTR);
lib/libc/gen/wordexp.c
265
errno = serrno;
lib/libc/gen/wordexp.c
274
if (wpid < 0 && errno != ECHILD)
lib/libc/gen/wordexp.c
87
if (nread == -1 && errno == EINTR)
lib/libc/iconv/_strtol.h
147
errno = ERANGE;
lib/libc/iconv/_strtol.h
162
errno = ERANGE;
lib/libc/iconv/_strtol.h
58
errno = EINVAL;
lib/libc/iconv/_strtoul.h
120
errno = ERANGE;
lib/libc/iconv/_strtoul.h
57
errno = EINVAL;
lib/libc/iconv/bsd_iconv.c
113
errno = EBADF;
lib/libc/iconv/bsd_iconv.c
120
errno = err;
lib/libc/iconv/bsd_iconv.c
135
errno = EBADF;
lib/libc/iconv/bsd_iconv.c
144
errno = err;
lib/libc/iconv/bsd_iconv.c
158
errno = ret;
lib/libc/iconv/bsd_iconv.c
263
errno = EBADF;
lib/libc/iconv/bsd_iconv.c
290
errno = EOPNOTSUPP;
lib/libc/iconv/bsd_iconv.c
299
errno = EINVAL;
lib/libc/iconv/bsd_iconv.c
67
errno = ret == ENOENT ? EINVAL : ret;
lib/libc/iconv/bsd_iconv.c
97
errno = EBADF;
lib/libc/iconv/citrus_db.c
81
return (errno);
lib/libc/iconv/citrus_db_factory.c
145
return (errno);
lib/libc/iconv/citrus_db_factory.c
159
return (errno);
lib/libc/iconv/citrus_db_factory.c
174
return (errno);
lib/libc/iconv/citrus_db_factory.c
189
return (errno);
lib/libc/iconv/citrus_db_factory.c
204
return (errno);
lib/libc/iconv/citrus_db_factory.c
76
return (errno);
lib/libc/iconv/citrus_esdb.c
108
ret = errno;
lib/libc/iconv/citrus_esdb.c
119
ret = errno;
lib/libc/iconv/citrus_esdb.c
145
ret = errno;
lib/libc/iconv/citrus_esdb.c
163
ret = errno;
lib/libc/iconv/citrus_esdb.c
286
ret = errno;
lib/libc/iconv/citrus_esdb.c
301
ret = errno;
lib/libc/iconv/citrus_esdb.c
338
ret = errno;
lib/libc/iconv/citrus_iconv.c
144
ret = errno;
lib/libc/iconv/citrus_iconv.c
164
ret = errno;
lib/libc/iconv/citrus_iconv.c
331
ret = errno;
lib/libc/iconv/citrus_lookup.c
280
return (errno);
lib/libc/iconv/citrus_lookup_factory.c
118
return (errno);
lib/libc/iconv/citrus_lookup_factory.c
87
return (errno);
lib/libc/iconv/citrus_mapper.c
100
ret = errno;
lib/libc/iconv/citrus_mapper.c
214
return (errno);
lib/libc/iconv/citrus_mapper.c
237
ret = errno;
lib/libc/iconv/citrus_mapper.c
255
ret = errno;
lib/libc/iconv/citrus_mapper.c
351
ret = errno;
lib/libc/iconv/citrus_mapper.c
95
ret = errno;
lib/libc/iconv/citrus_mmap.c
63
return (errno);
lib/libc/iconv/citrus_mmap.c
66
ret = errno;
lib/libc/iconv/citrus_mmap.c
77
ret = errno;
lib/libc/iconv/citrus_pivot_factory.c
222
return (errno);
lib/libc/iconv/citrus_pivot_factory.c
70
return (errno);
lib/libc/iconv/citrus_pivot_factory.c
73
ret = errno;
lib/libc/iconv/citrus_stdenc.c
113
ret = errno;
lib/libc/iconv/citrus_stdenc.c
66
ret = errno;
lib/libc/iconv/citrus_stdenc.c
89
ret = errno;
lib/libc/iconv/citrus_stdenc_template.h
82
return (errno);
lib/libc/inet/inet_cidr_ntop.c
114
errno = EINVAL;
lib/libc/inet/inet_cidr_ntop.c
146
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_ntop.c
166
errno = EINVAL;
lib/libc/inet/inet_cidr_ntop.c
232
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_ntop.c
254
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_ntop.c
68
errno = EAFNOSUPPORT;
lib/libc/inet/inet_cidr_pton.c
140
errno = ENOENT;
lib/libc/inet/inet_cidr_pton.c
144
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_pton.c
243
errno = ENOENT;
lib/libc/inet/inet_cidr_pton.c
247
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_pton.c
74
errno = EAFNOSUPPORT;
lib/libc/inet/inet_net_ntop.c
141
errno = EMSGSIZE;
lib/libc/inet/inet_net_ntop.c
152
errno = EINVAL;
lib/libc/inet/inet_net_ntop.c
161
errno = EMSGSIZE;
lib/libc/inet/inet_net_ntop.c
59
errno = EAFNOSUPPORT;
lib/libc/inet/inet_net_ntop.c
91
errno = EINVAL;
lib/libc/inet/inet_net_pton.c
202
errno = ENOENT;
lib/libc/inet/inet_net_pton.c
206
errno = EMSGSIZE;
lib/libc/inet/inet_net_pton.c
223
errno = EMSGSIZE;
lib/libc/inet/inet_net_pton.c
240
errno = EINVAL;
lib/libc/inet/inet_net_pton.c
247
errno = EMSGSIZE;
lib/libc/inet/inet_net_pton.c
64
errno = EAFNOSUPPORT;
lib/libc/inet/inet_neta.c
80
errno = EMSGSIZE;
lib/libc/inet/inet_ntop.c
168
errno = ENOSPC;
lib/libc/inet/inet_ntop.c
186
errno = ENOSPC;
lib/libc/inet/inet_ntop.c
61
errno = EAFNOSUPPORT;
lib/libc/inet/inet_ntop.c
87
errno = ENOSPC;
lib/libc/inet/inet_pton.c
58
errno = EAFNOSUPPORT;
lib/libc/isc/ev_streams.c
123
save = errno;
lib/libc/isc/ev_streams.c
125
errno = save;
lib/libc/isc/ev_streams.c
211
errno = ENOMEM;
lib/libc/isc/ev_streams.c
277
if (bytes < 0 && errno != EINTR) {
lib/libc/isc/ev_streams.c
279
str->ioErrno = errno;
lib/libc/isc/ev_streams.c
303
if (errno != EINTR) {
lib/libc/isc/ev_streams.c
305
str->ioErrno = errno;
lib/libc/isc/ev_streams.c
89
save = errno;
lib/libc/isc/ev_streams.c
91
errno = save;
lib/libc/isc/eventlib_p.h
50
#define EV_ERR(e) return (errno = (e), -1)
lib/libc/isc/eventlib_p.h
51
#define OK(x) if ((x) < 0) EV_ERR(errno); else (void)NULL
lib/libc/isc/eventlib_p.h
52
#define OKFREE(x, y) if ((x) < 0) { FREE((y)); EV_ERR(errno); } \
lib/libc/isc/eventlib_p.h
60
errno = ENOMEM; \
lib/libc/locale/ascii.c
100
errno = EILSEQ;
lib/libc/locale/ascii.c
117
errno = EILSEQ;
lib/libc/locale/ascii.c
134
errno = EILSEQ;
lib/libc/locale/ascii.c
146
errno = EILSEQ;
lib/libc/locale/ascii.c
169
errno = EILSEQ;
lib/libc/locale/ascii.c
181
errno = EILSEQ;
lib/libc/locale/big5.c
109
errno = EINVAL;
lib/libc/locale/big5.c
125
errno = EILSEQ;
lib/libc/locale/big5.c
144
errno = EILSEQ;
lib/libc/locale/big5.c
166
errno = EINVAL;
lib/libc/locale/c16rtomb.c
57
errno = EILSEQ;
lib/libc/locale/c32rtomb.c
41
errno = EILSEQ;
lib/libc/locale/cXXrtomb_iconv.h
101
errno = EILSEQ;
lib/libc/locale/cXXrtomb_iconv.h
74
errno = EINVAL;
lib/libc/locale/collate.c
162
errno = EINVAL;
lib/libc/locale/collate.c
173
errno = EINVAL;
lib/libc/locale/collate.c
187
errno = EINVAL;
lib/libc/locale/collate.c
199
errno = EINVAL;
lib/libc/locale/collate.c
460
errno = ENOMEM;
lib/libc/locale/collate.c
479
errno = EINVAL;
lib/libc/locale/collate.c
498
errno = EINVAL;
lib/libc/locale/collate.c
607
errno = ENOMEM;
lib/libc/locale/collate.c
627
errno = EINVAL;
lib/libc/locale/collate.c
653
errno = EINVAL;
lib/libc/locale/euc.c
323
errno = EINVAL;
lib/libc/locale/euc.c
353
errno = EILSEQ;
lib/libc/locale/euc.c
375
errno = EILSEQ;
lib/libc/locale/euc.c
396
errno = EINVAL;
lib/libc/locale/euc.c
422
errno = EILSEQ;
lib/libc/locale/euc.c
432
errno = EILSEQ;
lib/libc/locale/euc.c
437
errno = EILSEQ;
lib/libc/locale/euc.c
441
errno = EILSEQ;
lib/libc/locale/gb18030.c
103
errno = EINVAL;
lib/libc/locale/gb18030.c
171
errno = EILSEQ;
lib/libc/locale/gb18030.c
185
errno = EINVAL;
lib/libc/locale/gb18030.c
234
errno = EILSEQ;
lib/libc/locale/gb2312.c
120
errno = EINVAL;
lib/libc/locale/gb2312.c
157
errno = EINVAL;
lib/libc/locale/gbk.c
111
errno = EINVAL;
lib/libc/locale/gbk.c
127
errno = EILSEQ;
lib/libc/locale/gbk.c
146
errno = EILSEQ;
lib/libc/locale/gbk.c
168
errno = EINVAL;
lib/libc/locale/ldpart.c
100
errno = ENOMEM;
lib/libc/locale/ldpart.c
112
errno = EFTYPE;
lib/libc/locale/ldpart.c
121
errno = EFTYPE;
lib/libc/locale/ldpart.c
140
saverr = errno;
lib/libc/locale/ldpart.c
142
errno = saverr;
lib/libc/locale/ldpart.c
144
saverr = errno;
lib/libc/locale/ldpart.c
146
errno = saverr;
lib/libc/locale/ldpart.c
95
errno = EFTYPE;
lib/libc/locale/mbrtocXX_iconv.h
128
errno = EILSEQ;
lib/libc/locale/mbrtocXX_iconv.h
77
errno = EINVAL;
lib/libc/locale/mbtowc.c
55
errno = EILSEQ;
lib/libc/locale/mskanji.c
104
errno = EINVAL;
lib/libc/locale/mskanji.c
120
errno = EILSEQ;
lib/libc/locale/mskanji.c
137
errno = EILSEQ;
lib/libc/locale/mskanji.c
160
errno = EINVAL;
lib/libc/locale/none.c
120
errno = EILSEQ;
lib/libc/locale/none.c
162
errno = EILSEQ;
lib/libc/locale/none.c
174
errno = EILSEQ;
lib/libc/locale/rune.c
150
saverr = errno;
lib/libc/locale/rune.c
152
errno = saverr;
lib/libc/locale/rune.c
244
errno = EINVAL;
lib/libc/locale/rune.c
72
errno = EINVAL;
lib/libc/locale/rune.c
78
errno = EINVAL;
lib/libc/locale/rune.c
84
errno = EINVAL;
lib/libc/locale/rune.c
92
errno = EINVAL;
lib/libc/locale/setlocale.c
103
errno = EINVAL;
lib/libc/locale/setlocale.c
124
errno = EINVAL;
lib/libc/locale/setlocale.c
132
errno = EINVAL;
lib/libc/locale/setlocale.c
139
errno = EINVAL;
lib/libc/locale/setlocale.c
146
errno = EINVAL;
lib/libc/locale/setlocale.c
155
errno = EINVAL;
lib/libc/locale/setlocale.c
162
errno = EINVAL;
lib/libc/locale/setlocale.c
188
saverr = errno;
lib/libc/locale/setlocale.c
197
errno = saverr;
lib/libc/locale/setlocale.c
234
errno = EINVAL;
lib/libc/locale/setlocale.c
237
saved_errno = errno;
lib/libc/locale/setlocale.c
238
errno = __detect_path_locale();
lib/libc/locale/setlocale.c
239
if (errno != 0)
lib/libc/locale/setlocale.c
241
errno = saved_errno;
lib/libc/locale/setlocale.c
263
errno = EINVAL;
lib/libc/locale/setlocale.c
317
return (errno == 0 ? ENOMEM : errno);
lib/libc/locale/setrunelocale.c
111
return (errno);
lib/libc/locale/setrunelocale.c
115
errno = EINVAL;
lib/libc/locale/setrunelocale.c
116
return (errno);
lib/libc/locale/setrunelocale.c
188
errno = ret;
lib/libc/locale/utf8.c
103
errno = EINVAL;
lib/libc/locale/utf8.c
153
errno = EILSEQ;
lib/libc/locale/utf8.c
176
errno = EILSEQ;
lib/libc/locale/utf8.c
193
errno = EILSEQ;
lib/libc/locale/utf8.c
200
errno = EILSEQ;
lib/libc/locale/utf8.c
231
errno = EILSEQ;
lib/libc/locale/utf8.c
260
errno = EILSEQ;
lib/libc/locale/utf8.c
301
errno = EINVAL;
lib/libc/locale/utf8.c
324
errno = EILSEQ;
lib/libc/locale/utf8.c
333
errno = EILSEQ;
lib/libc/locale/utf8.c
365
errno = EINVAL;
lib/libc/locale/wcsftime.c
110
sverrno = errno;
lib/libc/locale/wcsftime.c
113
errno = sverrno;
lib/libc/locale/wcsftime.c
92
errno = EINVAL;
lib/libc/locale/wcstoimax.c
125
errno = ERANGE;
lib/libc/locale/wcstoimax.c
128
errno = EINVAL;
lib/libc/locale/wcstol.c
125
errno = ERANGE;
lib/libc/locale/wcstol.c
128
errno = EINVAL;
lib/libc/locale/wcstoll.c
125
errno = ERANGE;
lib/libc/locale/wcstoll.c
128
errno = EINVAL;
lib/libc/locale/wcstoul.c
123
errno = ERANGE;
lib/libc/locale/wcstoul.c
126
errno = EINVAL;
lib/libc/locale/wcstoull.c
123
errno = ERANGE;
lib/libc/locale/wcstoull.c
126
errno = EINVAL;
lib/libc/locale/wcstoumax.c
123
errno = ERANGE;
lib/libc/locale/wcstoumax.c
126
errno = EINVAL;
lib/libc/locale/wctrans.c
57
errno = EINVAL;
lib/libc/locale/wctrans.c
91
errno = EINVAL;
lib/libc/nameser/ns_name.c
110
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
115
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
121
errno = EMSGSIZE; /*%< XXX */
lib/libc/nameser/ns_name.c
125
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
133
errno = EINVAL;
lib/libc/nameser/ns_name.c
138
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
148
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
155
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
164
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
173
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
179
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
230
errno = EINVAL; /*%< ??? */
lib/libc/nameser/ns_name.c
236
errno = e;
lib/libc/nameser/ns_name.c
244
errno = EINVAL;
lib/libc/nameser/ns_name.c
253
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
259
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
264
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
276
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
280
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
288
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
294
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
302
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
309
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
316
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
321
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
327
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
333
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
365
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
371
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
376
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
380
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
430
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
441
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
445
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
457
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
464
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
475
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
481
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
541
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
545
errno = EINVAL;
lib/libc/nameser/ns_name.c
550
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
598
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
692
errno = EMSGSIZE; /*%< XXX */
lib/libc/nameser/ns_name.c
701
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
707
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
725
errno = EISDIR;
lib/libc/nameser/ns_name.c
729
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
747
errno = EISDIR;
lib/libc/nameser/ns_name.c
751
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
799
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
807
errno = EISDIR;
lib/libc/nameser/ns_name.c
813
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
824
errno = ENAMETOOLONG;
lib/libc/nameser/ns_name.c
844
errno = EISDIR;
lib/libc/nameser/ns_name.c
848
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
964
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
972
errno = ENOENT;
lib/libc/nameser/ns_parse.c
42
#define RETERR(err) do { errno = (err); return (-1); } while (0)
lib/libc/nameser/ns_parse.c
45
do { errno = (err); if (errno == errno) return (-1); } while (0)
lib/libc/nameser/ns_print.c
1160
errno = ENOSPC;
lib/libc/nameser/ns_print.c
1204
errno = ENOSPC;
lib/libc/nameser/ns_print.c
1220
errno = ENOSPC;
lib/libc/nameser/ns_samedomain.c
170
errno = EMSGSIZE;
lib/libc/nameser/ns_ttl.c
140
errno = EINVAL;
lib/libc/net/gai_strerror.c
115
errno = saved_errno;
lib/libc/net/gai_strerror.c
119
errno = saved_errno;
lib/libc/net/gai_strerror.c
87
saved_errno = errno;
lib/libc/net/getaddrinfo.c
1145
errno = EAFNOSUPPORT; /* is this a good error? */
lib/libc/net/getaddrinfo.c
1211
if (errno != EMFILE)
lib/libc/net/getaddrinfo.c
1720
errno = 0;
lib/libc/net/getaddrinfo.c
1723
if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid)
lib/libc/net/getaddrinfo.c
1823
errno = ERANGE;
lib/libc/net/getaddrinfo.c
2798
switch (errno) {
lib/libc/net/getaddrinfo.c
2877
errno = 0;
lib/libc/net/getaddrinfo.c
379
errno = 0;
lib/libc/net/getaddrinfo.c
381
if (errno == 0 && ep && *ep == '\0' && v <= UINT_MAX) {
lib/libc/net/gethostbydns.c
109
int save = errno;
lib/libc/net/gethostbydns.c
112
errno = save;
lib/libc/net/gethostbydns.c
511
errno = EAFNOSUPPORT;
lib/libc/net/gethostbydns.c
547
*errnop = errno;
lib/libc/net/gethostbydns.c
706
*errnop = errno;
lib/libc/net/gethostbyht.c
195
return ((errno != 0) ? errno : -1);
lib/libc/net/gethostbyht.c
271
*errnop = errno;
lib/libc/net/gethostbyht.c
328
*errnop = errno;
lib/libc/net/gethostbynis.c
236
*errnop = errno;
lib/libc/net/gethostbynis.c
286
*errnop = errno;
lib/libc/net/gethostbynis.c
70
errno = EAFNOSUPPORT;
lib/libc/net/gethostnamadr.c
115
errno = ERANGE;
lib/libc/net/gethostnamadr.c
396
errno = ERANGE;
lib/libc/net/gethostnamadr.c
438
errno = ENOMEM;
lib/libc/net/gethostnamadr.c
465
errno = EAFNOSUPPORT;
lib/libc/net/gethostnamadr.c
553
errno = EAFNOSUPPORT;
lib/libc/net/gethostnamadr.c
576
errno = ret_errno;
lib/libc/net/gethostnamadr.c
638
errno = EAFNOSUPPORT;
lib/libc/net/gethostnamadr.c
644
errno = EINVAL;
lib/libc/net/gethostnamadr.c
655
errno = ret_errno;
lib/libc/net/getifaddrs.c
125
if (errno != ENOMEM || ++ntry >= MAX_SYSCTL_TRY) {
lib/libc/net/getifmaddrs.c
81
if (errno != ENOMEM || ++ntry >= MAX_SYSCTL_TRY) {
lib/libc/net/getnetbydns.c
237
errno = ENOBUFS;
lib/libc/net/getnetbydns.c
244
errno = ENOBUFS;
lib/libc/net/getnetbydns.c
357
*errnop = errno;
lib/libc/net/getnetbydns.c
435
*errnop = errno;
lib/libc/net/getnetbyht.c
164
return ((errno != 0) ? errno : -1);
lib/libc/net/getnetbyht.c
228
*errnop = errno;
lib/libc/net/getnetbyht.c
276
*errnop = errno;
lib/libc/net/getnetbynis.c
163
*errnop = errno;
lib/libc/net/getnetbynis.c
212
errno = EAFNOSUPPORT;
lib/libc/net/getnetbynis.c
249
*errnop = errno;
lib/libc/net/getnetbynis.c
65
errno = EAFNOSUPPORT;
lib/libc/net/getnetnamadr.c
307
errno = ERANGE;
lib/libc/net/getnetnamadr.c
362
errno = ret_errno;
lib/libc/net/getnetnamadr.c
394
errno = ret_errno;
lib/libc/net/getproto.c
115
errno = ret_errno;
lib/libc/net/getproto.c
66
*errnop = errno;
lib/libc/net/getproto.c
77
*errnop = errno;
lib/libc/net/getproto.c
81
*errnop = errno;
lib/libc/net/getprotoent.c
308
errno = ERANGE;
lib/libc/net/getprotoent.c
423
*errnop = errno;
lib/libc/net/getprotoent.c
428
*errnop = errno;
lib/libc/net/getprotoent.c
433
*errnop = errno;
lib/libc/net/getprotoent.c
491
errno = ret_errno;
lib/libc/net/getprotoname.c
129
errno = ret_errno;
lib/libc/net/getprotoname.c
75
*errnop = errno;
lib/libc/net/getprotoname.c
91
*errnop = errno;
lib/libc/net/getprotoname.c
95
*errnop = errno;
lib/libc/net/getservent.c
1313
errno = rv;
lib/libc/net/getservent.c
1329
errno = ERANGE;
lib/libc/net/getservent.c
1339
errno = rv;
lib/libc/net/getservent.c
334
*errnop = errno;
lib/libc/net/getservent.c
349
*errnop = errno;
lib/libc/net/getservent.c
537
*errnop = errno;
lib/libc/net/getservent.c
706
*errnop = errno;
lib/libc/net/hesiod.c
106
errno = ENOMEM;
lib/libc/net/hesiod.c
111
errno = ENOMEM;
lib/libc/net/hesiod.c
151
errno = EMSGSIZE;
lib/libc/net/hesiod.c
169
errno = ENOENT;
lib/libc/net/hesiod.c
184
errno = EMSGSIZE;
lib/libc/net/hesiod.c
207
errno = ENOMEM;
lib/libc/net/hesiod.c
227
if (retvec == NULL && errno == ENOENT && ctx->classes[1])
lib/libc/net/hesiod.c
274
errno = ENOMEM;
lib/libc/net/hesiod.c
305
errno = ENOMEM;
lib/libc/net/hesiod.c
334
errno = ENOEXEC;
lib/libc/net/hesiod.c
366
errno = ECONNREFUSED; /* XXX */
lib/libc/net/hesiod.c
383
errno = EMSGSIZE;
lib/libc/net/hesiod.c
392
errno = ENOMEM;
lib/libc/net/hesiod.c
407
errno = EMSGSIZE;
lib/libc/net/hesiod.c
418
errno = ENOMEM;
lib/libc/net/hesiod.c
428
errno = EMSGSIZE;
lib/libc/net/hesiod.c
436
errno = EMSGSIZE;
lib/libc/net/hesiod.c
453
errno = ENOENT;
lib/libc/net/hesiod.c
540
switch (errno) {
lib/libc/net/if_indextoname.c
67
errno = ENXIO;
lib/libc/net/if_indextoname.c
90
errno = error;
lib/libc/net/if_nametoindex.c
97
errno = ENXIO;
lib/libc/net/linkaddr.c
181
errno = error;
lib/libc/net/linkaddr.c
68
errno = ENOSPC;
lib/libc/net/name6.c
1126
errno = EAFNOSUPPORT; /* is this a good error? */
lib/libc/net/nsdispatch.c
650
serrno = errno;
lib/libc/net/nsdispatch.c
724
errno = 0;
lib/libc/net/nsdispatch.c
730
errno = 0;
lib/libc/net/nsdispatch.c
780
errno = serrno;
lib/libc/net/rcmd.c
125
strerror(errno));
lib/libc/net/rcmd.c
145
if (errno != EAGAIN && ai->ai_next) {
lib/libc/net/rcmd.c
149
if (errno == EAGAIN)
lib/libc/net/rcmd.c
154
strerror(errno));
lib/libc/net/rcmd.c
164
if (errno == EADDRINUSE) {
lib/libc/net/rcmd.c
168
if (errno == ECONNREFUSED)
lib/libc/net/rcmd.c
172
*ahost, strerror(errno));
lib/libc/net/rcmd.c
179
int oerrno = errno;
lib/libc/net/rcmd.c
185
errno = oerrno;
lib/libc/net/rcmd.c
221
strerror(errno));
lib/libc/net/rcmd.c
235
errno = 0;
lib/libc/net/rcmd.c
237
if (errno != 0)
lib/libc/net/rcmd.c
240
strerror(errno));
lib/libc/net/rcmd.c
272
"rcmd: accept: %s\n", strerror(errno));
lib/libc/net/rcmd.c
288
"rcmd: %s: %s\n", *ahost, strerror(errno));
lib/libc/net/rcmd.c
341
errno = EAFNOSUPPORT;
lib/libc/net/rcmd.c
352
if (errno != EADDRINUSE) {
lib/libc/net/rcmdsh.c
133
pw->pw_uid, strerror(errno));
lib/libc/net/rcmdsh.c
156
rshprog, strerror(errno));
lib/libc/net/sctp_sys_calls.c
1000
errno = ENOMEM;
lib/libc/net/sctp_sys_calls.c
1011
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
1018
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
1032
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
1045
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
1058
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
1090
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
1104
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
1119
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
112
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
1129
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
1144
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
1151
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
116
errno = E2BIG;
lib/libc/net/sctp_sys_calls.c
1181
errno = ENOTSUP;
lib/libc/net/sctp_sys_calls.c
128
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
138
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
153
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
182
errno = EFAULT;
lib/libc/net/sctp_sys_calls.c
187
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
198
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
207
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
219
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
228
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
240
errno = EAFNOSUPPORT;
lib/libc/net/sctp_sys_calls.c
275
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
280
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
397
errno = EFAULT;
lib/libc/net/sctp_sys_calls.c
405
if (errno == ENOENT) {
lib/libc/net/sctp_sys_calls.c
414
errno = ENOMEM;
lib/libc/net/sctp_sys_calls.c
457
errno = EFAULT;
lib/libc/net/sctp_sys_calls.c
469
errno = ENOMEM;
lib/libc/net/sctp_sys_calls.c
543
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
550
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
555
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
563
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
568
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
575
errno = EAFNOSUPPORT;
lib/libc/net/sctp_sys_calls.c
650
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
689
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
721
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
730
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
735
errno = ENOMEM;
lib/libc/net/sctp_sys_calls.c
747
if (errno == EALREADY) {
lib/libc/net/sctp_sys_calls.c
762
errno = ENOENT;
lib/libc/net/sctp_sys_calls.c
766
saved_errno = errno;
lib/libc/net/sctp_sys_calls.c
771
errno = saved_errno;
lib/libc/net/sctp_sys_calls.c
822
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
894
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
992
errno = EINVAL;
lib/libc/net/sourcefilter.c
157
errno = EINVAL;
lib/libc/net/sourcefilter.c
163
errno = EADDRNOTAVAIL;
lib/libc/net/sourcefilter.c
175
errno = ENOMEM;
lib/libc/net/sourcefilter.c
230
errno = EINVAL;
lib/libc/net/sourcefilter.c
236
errno = EADDRNOTAVAIL;
lib/libc/net/sourcefilter.c
248
errno = ENOMEM;
lib/libc/net/sourcefilter.c
284
errno = EINVAL;
lib/libc/net/sourcefilter.c
294
errno = EINVAL;
lib/libc/net/sourcefilter.c
305
errno = EINVAL;
lib/libc/net/sourcefilter.c
313
errno = EAFNOSUPPORT;
lib/libc/net/sourcefilter.c
343
errno = EINVAL;
lib/libc/net/sourcefilter.c
357
errno = EINVAL;
lib/libc/net/sourcefilter.c
368
errno = EINVAL;
lib/libc/net/sourcefilter.c
376
errno = EAFNOSUPPORT;
lib/libc/nls/msgcat.c
100
errno = e; \
lib/libc/nls/msgcat.c
200
saverr = errno;
lib/libc/nls/msgcat.c
202
errno = saverr;
lib/libc/nls/msgcat.c
283
errno = EBADF;
lib/libc/nls/msgcat.c
337
errno = ENOMSG;
lib/libc/nls/msgcat.c
364
errno = EBADF;
lib/libc/nls/msgcat.c
412
SAVEFAIL(name, lang, errno);
lib/libc/nls/msgcat.c
413
NLRETERR(errno);
lib/libc/nls/msgcat.c
417
saved_errno = errno;
lib/libc/nls/msgcat.c
443
saved_errno = errno;
lib/libc/nls/msgcat.c
67
errno = ret; \
lib/libc/nls/msgcat.c
73
errno = ret; \
lib/libc/nls/msgcat.c
80
#define NLRETERR(errc) { errno = errc; return (NLERR); }
lib/libc/posix1e/acl_branding.c
161
errno = EINVAL;
lib/libc/posix1e/acl_calc_mask.c
105
errno = ENOMEM;
lib/libc/posix1e/acl_calc_mask.c
119
errno = EINVAL;
lib/libc/posix1e/acl_calc_mask.c
60
errno = EINVAL;
lib/libc/posix1e/acl_calc_mask.c
65
errno = EINVAL;
lib/libc/posix1e/acl_calc_mask.c
72
errno = EINVAL;
lib/libc/posix1e/acl_cmp_np.c
44
errno = EINVAL;
lib/libc/posix1e/acl_copy.c
48
errno = EINVAL;
lib/libc/posix1e/acl_copy.c
56
errno = EINVAL;
lib/libc/posix1e/acl_copy.c
75
errno = ENOSYS;
lib/libc/posix1e/acl_copy.c
83
errno = ENOSYS;
lib/libc/posix1e/acl_delete_entry.c
119
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
130
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
137
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
143
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
80
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
85
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
91
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
127
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
143
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
47
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
58
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
82
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
89
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
94
errno = EINVAL;
lib/libc/posix1e/acl_equiv_mode_np.c
46
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
117
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
122
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
136
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
141
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
41
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
51
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
68
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
82
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
99
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
109
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
117
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
125
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
131
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
141
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
155
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
252
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
286
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
300
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
94
errno = EINVAL;
lib/libc/posix1e/acl_from_text_nfs4.c
279
errno = EINVAL;
lib/libc/posix1e/acl_get.c
143
errno = EINVAL;
lib/libc/posix1e/acl_get.c
162
errno = EINVAL;
lib/libc/posix1e/acl_get.c
176
errno = EINVAL;
lib/libc/posix1e/acl_get.c
189
errno = EINVAL;
lib/libc/posix1e/acl_get.c
203
errno = EINVAL;
lib/libc/posix1e/acl_get.c
208
errno = EINVAL;
lib/libc/posix1e/acl_id_to_name.c
75
errno = ENOMEM;
lib/libc/posix1e/acl_id_to_name.c
91
errno = ENOMEM;
lib/libc/posix1e/acl_init.c
59
errno = ENOMEM;
lib/libc/posix1e/acl_init.c
63
errno = EINVAL;
lib/libc/posix1e/acl_init.c
70
errno = error;
lib/libc/posix1e/acl_perm.c
116
errno = EINVAL;
lib/libc/posix1e/acl_perm.c
46
errno = EINVAL;
lib/libc/posix1e/acl_perm.c
60
errno = EINVAL;
lib/libc/posix1e/acl_perm.c
81
errno = EINVAL;
lib/libc/posix1e/acl_perm.c
99
errno = EINVAL;
lib/libc/posix1e/acl_set.c
109
errno = EINVAL;
lib/libc/posix1e/acl_set.c
114
errno = EINVAL;
lib/libc/posix1e/acl_set.c
134
errno = EINVAL;
lib/libc/posix1e/acl_set.c
140
errno = EINVAL;
lib/libc/posix1e/acl_set.c
144
errno = EINVAL;
lib/libc/posix1e/acl_set.c
164
errno = EINVAL;
lib/libc/posix1e/acl_set.c
173
errno = EINVAL;
lib/libc/posix1e/acl_set.c
189
errno = EINVAL;
lib/libc/posix1e/acl_set.c
197
errno = EINVAL;
lib/libc/posix1e/acl_set.c
204
errno = EINVAL;
lib/libc/posix1e/acl_set.c
223
errno = EINVAL;
lib/libc/posix1e/acl_set.c
232
errno = EINVAL;
lib/libc/posix1e/acl_set.c
236
errno = EINVAL;
lib/libc/posix1e/acl_set.c
250
errno = EINVAL;
lib/libc/posix1e/acl_set.c
57
errno = EINVAL;
lib/libc/posix1e/acl_set.c
62
errno = EINVAL;
lib/libc/posix1e/acl_set.c
78
errno = EINVAL;
lib/libc/posix1e/acl_set.c
83
errno = EINVAL;
lib/libc/posix1e/acl_strip.c
144
errno = EINVAL;
lib/libc/posix1e/acl_strip.c
163
errno = EINVAL;
lib/libc/posix1e/acl_strip.c
220
errno = EINVAL;
lib/libc/posix1e/acl_strip.c
53
errno = ENOMEM;
lib/libc/posix1e/acl_support.c
278
errno = ENOMEM;
lib/libc/posix1e/acl_support.c
283
errno = EINVAL;
lib/libc/posix1e/acl_support.c
352
errno = ENOMEM;
lib/libc/posix1e/acl_to_text.c
219
errno = EINVAL;
lib/libc/posix1e/acl_to_text.c
240
errno = EINVAL;
lib/libc/posix1e/acl_to_text.c
250
errno = EINVAL;
lib/libc/posix1e/acl_to_text_nfs4.c
251
errno = EINVAL;
lib/libc/posix1e/acl_valid.c
113
errno = EINVAL;
lib/libc/posix1e/acl_valid.c
61
errno = EINVAL;
lib/libc/posix1e/acl_valid.c
65
errno = EINVAL;
lib/libc/posix1e/acl_valid.c
71
errno = error;
lib/libc/posix1e/acl_valid.c
83
errno = EINVAL;
lib/libc/posix1e/acl_valid.c
98
errno = EINVAL;
lib/libc/posix1e/extattr.c
55
errno = EINVAL;
lib/libc/posix1e/extattr.c
73
errno = EINVAL;
lib/libc/posix1e/mac.c
100
errno = ENOMEM;
lib/libc/posix1e/mac.c
106
errno = ENOMEM;
lib/libc/posix1e/mac.c
113
errno = ENOMEM;
lib/libc/posix1e/mac.c
373
errno = ENOENT;
lib/libc/posix1e/mac.c
420
errno = EINVAL;
lib/libc/posix1e/mac.c
438
switch (errno) {
lib/libc/resolv/mtctxres.c
76
errno = ENOMEM;
lib/libc/resolv/mtctxres.c
84
errno = ret;
lib/libc/resolv/res_debug.c
1182
errno = 0;
lib/libc/resolv/res_debug.c
1184
if (errno == 0 && *endptr == '\0' && result <= 0xffffU)
lib/libc/resolv/res_debug.c
1205
errno = 0;
lib/libc/resolv/res_debug.c
1207
if (errno == 0 && *endptr == '\0' && result <= 0xffffU)
lib/libc/resolv/res_debug.c
167
if (errno != ENODEV)
lib/libc/resolv/res_debug.c
169
strerror(errno));
lib/libc/resolv/res_debug.c
238
if (errno == ENOSPC) {
lib/libc/resolv/res_debug.c
251
strerror(errno));
lib/libc/resolv/res_debug.c
275
fprintf(file, ";; ns_initparse: %s\n", strerror(errno));
lib/libc/resolv/res_findzonecut.c
215
DPRINTF(("FINISH n=%d (%s)", n, (n < 0) ? strerror(errno) : "OK"));
lib/libc/resolv/res_findzonecut.c
345
errno = EPROTOTYPE;
lib/libc/resolv/res_findzonecut.c
356
errno = EPROTOTYPE;
lib/libc/resolv/res_findzonecut.c
367
errno = EMSGSIZE;
lib/libc/resolv/res_findzonecut.c
395
errno = EMSGSIZE;
lib/libc/resolv/res_findzonecut.c
402
errno = EDESTADDRREQ;
lib/libc/resolv/res_findzonecut.c
690
errno = EMSGSIZE;
lib/libc/resolv/res_findzonecut.c
91
int save_errno = errno; \
lib/libc/resolv/res_findzonecut.c
93
errno = save_errno; \
lib/libc/resolv/res_mkupdate.c
500
errno = 0;
lib/libc/resolv/res_mkupdate.c
502
if (errno != 0 ||
lib/libc/resolv/res_query.c
217
errno = 0;
lib/libc/resolv/res_query.c
241
if (errno == ECONNREFUSED) {
lib/libc/resolv/res_query.c
301
if (errno == ECONNREFUSED) {
lib/libc/resolv/res_send.c
1091
int save = errno;
lib/libc/resolv/res_send.c
1106
errno = save;
lib/libc/resolv/res_send.c
1111
int save = errno;
lib/libc/resolv/res_send.c
1116
errno = save;
lib/libc/resolv/res_send.c
304
errno = ESRCH;
lib/libc/resolv/res_send.c
308
errno = EINVAL;
lib/libc/resolv/res_send.c
319
Perror(statp, stderr, "kqueue", errno);
lib/libc/resolv/res_send.c
551
errno = ECONNREFUSED; /*%< no nameservers found */
lib/libc/resolv/res_send.c
553
errno = ETIMEDOUT; /*%< no answer obtained */
lib/libc/resolv/res_send.c
555
errno = terrno;
lib/libc/resolv/res_send.c
656
errno = ENOTSOCK;
lib/libc/resolv/res_send.c
660
switch (errno) {
lib/libc/resolv/res_send.c
666
Perror(statp, stderr, "socket(vc)", errno);
lib/libc/resolv/res_send.c
669
*terrno = errno;
lib/libc/resolv/res_send.c
670
Perror(statp, stderr, "socket(vc)", errno);
lib/libc/resolv/res_send.c
685
errno = 0;
lib/libc/resolv/res_send.c
687
*terrno = errno;
lib/libc/resolv/res_send.c
688
Aerror(statp, stderr, "connect/vc", errno, nsap,
lib/libc/resolv/res_send.c
704
*terrno = errno;
lib/libc/resolv/res_send.c
705
Perror(statp, stderr, "write failed", errno);
lib/libc/resolv/res_send.c
721
*terrno = errno;
lib/libc/resolv/res_send.c
722
Perror(statp, stderr, "read failed", errno);
lib/libc/resolv/res_send.c
767
*terrno = errno;
lib/libc/resolv/res_send.c
768
Perror(statp, stderr, "read(vc)", errno);
lib/libc/resolv/res_send.c
847
errno = ENOTSOCK;
lib/libc/resolv/res_send.c
851
switch (errno) {
lib/libc/resolv/res_send.c
857
Perror(statp, stderr, "socket(dg)", errno);
lib/libc/resolv/res_send.c
860
*terrno = errno;
lib/libc/resolv/res_send.c
861
Perror(statp, stderr, "socket(dg)", errno);
lib/libc/resolv/res_send.c
886
Aerror(statp, stderr, "connect(dg)", errno, nsap,
lib/libc/resolv/res_send.c
900
Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);
lib/libc/resolv/res_send.c
905
Perror(statp, stderr, "send", errno);
lib/libc/resolv/res_send.c
912
Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);
lib/libc/resolv/res_send.c
963
if (errno == EINTR)
lib/libc/resolv/res_send.c
966
Perror(statp, stderr, "kevent", errno);
lib/libc/resolv/res_send.c
969
Perror(statp, stderr, "select", errno);
lib/libc/resolv/res_send.c
971
Perror(statp, stderr, "poll", errno);
lib/libc/resolv/res_send.c
981
errno = 0;
lib/libc/resolv/res_send.c
986
Perror(statp, stderr, "recvfrom", errno);
lib/libc/resolv/res_update.c
182
n, strerror(errno)));
lib/libc/resolv/res_update.c
85
int save_errno = errno; \
lib/libc/resolv/res_update.c
87
errno = save_errno; \
lib/libc/rpc/auth_time.c
408
} while (res < 0 && errno == EINTR);
lib/libc/rpc/auth_time.c
445
save = errno;
lib/libc/rpc/auth_time.c
447
errno = save;
lib/libc/rpc/bindresvport.c
112
errno = EPFNOSUPPORT;
lib/libc/rpc/bindresvport.c
134
int saved_errno = errno;
lib/libc/rpc/bindresvport.c
139
errno = saved_errno;
lib/libc/rpc/bindresvport.c
146
errno = saved_errno;
lib/libc/rpc/clnt_bcast.c
547
if (errno == EINTR)
lib/libc/rpc/clnt_dg.c
294
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
355
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
377
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
420
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
473
} while (recvlen < 0 && errno == EINTR);
lib/libc/rpc/clnt_dg.c
474
if (recvlen < 0 && errno != EWOULDBLOCK) {
lib/libc/rpc/clnt_dg.c
475
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
487
if (n == -1 && errno != EINTR) {
lib/libc/rpc/clnt_dg.c
488
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_generic.c
404
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_simple.c
139
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
221
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
231
if (errno != ENOTCONN) {
lib/libc/rpc/clnt_vc.c
233
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
239
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
683
if (errno == EINTR)
lib/libc/rpc/clnt_vc.c
686
ct->ct_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
709
ct->ct_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
730
ct->ct_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
738
ct->ct_error.re_errno = errno;
lib/libc/rpc/getnetpath.c
148
errno = EINVAL;
lib/libc/rpc/getnetpath.c
201
errno = EINVAL;
lib/libc/rpc/getrpcent.c
249
*errnop = errno;
lib/libc/rpc/getrpcent.c
262
*errnop = errno;
lib/libc/rpc/getrpcent.c
431
*errnop = errno;
lib/libc/rpc/getrpcent.c
945
errno = rv;
lib/libc/rpc/getrpcent.c
961
errno = ERANGE;
lib/libc/rpc/getrpcent.c
971
errno = rv;
lib/libc/rpc/rpc_soc.c
146
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/rpc_soc.c
419
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/rpc_soc.c
428
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/rtime.c
108
} while (res < 0 && errno == EINTR);
lib/libc/rpc/rtime.c
111
errno = ETIMEDOUT;
lib/libc/rpc/rtime.c
135
errno = EIO;
lib/libc/rpc/rtime.c
149
save = errno;
lib/libc/rpc/rtime.c
151
errno = save;
lib/libc/rpc/svc_dg.c
260
if (rlen == -1 && errno == EINTR)
lib/libc/rpc/svc_nl.c
157
(sc)->error = errno; \
lib/libc/rpc/svc_nl.c
335
errno = EDOOFUS;
lib/libc/rpc/svc_run.c
68
if (errno == EINTR) {
lib/libc/rpc/svc_vc.c
292
if (errno == EINTR)
lib/libc/rpc/svc_vc.c
298
if (errno == EMFILE || errno == ENFILE) {
lib/libc/rpc/svc_vc.c
464
if (errno == EAGAIN)
lib/libc/rpc/svc_vc.c
480
if (errno == EINTR)
lib/libc/rpc/svc_vc.c
524
if (errno != EAGAIN || !cd->nonblock) {
lib/libc/stdio/fclose.c
100
errno = EOPNOTSUPP;
lib/libc/stdio/fclose.c
103
errno = EBADF;
lib/libc/stdio/fclose.c
106
err = errno;
lib/libc/stdio/fclose.c
108
errno = err;
lib/libc/stdio/fclose.c
125
errno = EBADF;
lib/libc/stdio/fclose.c
92
errno = EBADF;
lib/libc/stdio/fdopen.c
59
errno = EMFILE;
lib/libc/stdio/fdopen.c
72
errno = EINVAL;
lib/libc/stdio/fgetln.c
56
errno = ENOMEM;
lib/libc/stdio/fgets.c
62
errno = EINVAL;
lib/libc/stdio/fgetwc.c
105
errno = EILSEQ;
lib/libc/stdio/fgetws.c
107
errno = EILSEQ;
lib/libc/stdio/fgetws.c
60
errno = EINVAL;
lib/libc/stdio/fileno.c
51
errno = EBADF;
lib/libc/stdio/flags.c
107
errno = EINVAL;
lib/libc/stdio/flags.c
73
errno = EINVAL;
lib/libc/stdio/fmemopen.c
220
errno = EINVAL;
lib/libc/stdio/fmemopen.c
228
errno = EINVAL;
lib/libc/stdio/fmemopen.c
236
errno = EINVAL;
lib/libc/stdio/fmemopen.c
243
errno = EINVAL;
lib/libc/stdio/fmemopen.c
62
errno = EINVAL;
lib/libc/stdio/fmemopen.c
72
errno = EINVAL;
lib/libc/stdio/fmemopen.c
80
errno = EINVAL;
lib/libc/stdio/fopen.c
72
errno = EMFILE;
lib/libc/stdio/fopencookie.c
127
errno = EINVAL;
lib/libc/stdio/fopencookie.c
138
errno = ENOTSUP;
lib/libc/stdio/fopencookie.c
161
serrno = errno;
lib/libc/stdio/fopencookie.c
163
errno = serrno;
lib/libc/stdio/fpurge.c
53
errno = EBADF;
lib/libc/stdio/fread.c
83
errno = EINVAL;
lib/libc/stdio/freopen.c
105
sverrno = errno;
lib/libc/stdio/freopen.c
107
errno = sverrno;
lib/libc/stdio/freopen.c
156
(errno == ENFILE || errno == EMFILE)) {
lib/libc/stdio/freopen.c
162
sverrno = errno;
lib/libc/stdio/freopen.c
196
errno = sverrno; /* restore in case _close clobbered */
lib/libc/stdio/freopen.c
224
errno = EMFILE;
lib/libc/stdio/freopen.c
61
sverrno = errno;
lib/libc/stdio/freopen.c
63
errno = sverrno;
lib/libc/stdio/freopen.c
80
errno = EINVAL;
lib/libc/stdio/freopen.c
85
sverrno = errno;
lib/libc/stdio/freopen.c
87
errno = sverrno;
lib/libc/stdio/freopen.c
95
errno = EBADF;
lib/libc/stdio/fseek.c
102
errno = ESPIPE; /* historic practice */
lib/libc/stdio/fseek.c
122
errno = ESPIPE;
lib/libc/stdio/fseek.c
126
errno = EOVERFLOW;
lib/libc/stdio/fseek.c
131
errno = EINVAL;
lib/libc/stdio/fseek.c
135
errno = EOVERFLOW;
lib/libc/stdio/fseek.c
144
errno = EINVAL;
lib/libc/stdio/fseek.c
153
errno = EINVAL;
lib/libc/stdio/fseek.c
190
errno = EOVERFLOW;
lib/libc/stdio/fseek.c
195
errno = EINVAL;
lib/libc/stdio/fseek.c
199
errno = EOVERFLOW;
lib/libc/stdio/fseek.c
285
errno = EOVERFLOW;
lib/libc/stdio/fseek.c
53
int serrno = errno;
lib/libc/stdio/fseek.c
63
errno = serrno;
lib/libc/stdio/fseek.c
71
int serrno = errno;
lib/libc/stdio/fseek.c
81
errno = serrno;
lib/libc/stdio/ftell.c
117
errno = EIO;
lib/libc/stdio/ftell.c
130
errno = EOVERFLOW;
lib/libc/stdio/ftell.c
54
errno = EOVERFLOW;
lib/libc/stdio/ftell.c
75
errno = ESPIPE;
lib/libc/stdio/ftell.c
88
errno = ESPIPE; /* historic practice */
lib/libc/stdio/funopen.c
52
errno = EINVAL;
lib/libc/stdio/fwrite.c
70
errno = EINVAL;
lib/libc/stdio/getdelim.c
119
errno = EINVAL;
lib/libc/stdio/getdelim.c
139
errno = 0;
lib/libc/stdio/getdelim.c
143
if (errno == EAGAIN) {
lib/libc/stdio/getdelim.c
71
errno = EOVERFLOW;
lib/libc/stdio/mktemp.c
125
errno = EINVAL;
lib/libc/stdio/mktemp.c
131
errno = ENAMETOOLONG;
lib/libc/stdio/mktemp.c
138
errno = EINVAL;
lib/libc/stdio/mktemp.c
156
if (errno != EEXIST)
lib/libc/stdio/mktemp.c
161
if (errno != EEXIST)
lib/libc/stdio/mktemp.c
164
return (errno == ENOENT);
lib/libc/stdio/mktemp.c
180
errno = EIO;
lib/libc/stdio/open_memstream.c
139
errno = EINVAL;
lib/libc/stdio/open_memstream.c
149
errno = EOVERFLOW;
lib/libc/stdio/open_memstream.c
180
errno = EINVAL;
lib/libc/stdio/open_memstream.c
188
save_errno = errno;
lib/libc/stdio/open_memstream.c
191
errno = save_errno;
lib/libc/stdio/open_memstream.c
202
save_errno = errno;
lib/libc/stdio/open_memstream.c
206
errno = save_errno;
lib/libc/stdio/open_wmemstream.c
128
errno = EILSEQ;
lib/libc/stdio/open_wmemstream.c
145
errno = EILSEQ;
lib/libc/stdio/open_wmemstream.c
197
errno = EINVAL;
lib/libc/stdio/open_wmemstream.c
207
errno = EOVERFLOW;
lib/libc/stdio/open_wmemstream.c
241
errno = EINVAL;
lib/libc/stdio/open_wmemstream.c
249
save_errno = errno;
lib/libc/stdio/open_wmemstream.c
252
errno = save_errno;
lib/libc/stdio/open_wmemstream.c
264
save_errno = errno;
lib/libc/stdio/open_wmemstream.c
268
errno = save_errno;
lib/libc/stdio/perror.c
60
strerror_r(errno, msgbuf, sizeof(msgbuf));
lib/libc/stdio/refill.c
82
errno = EBADF;
lib/libc/stdio/rewind.c
45
int serrno = errno;
lib/libc/stdio/rewind.c
53
errno = serrno;
lib/libc/stdio/snprintf.c
56
int serrno = errno;
lib/libc/stdio/snprintf.c
63
errno = EOVERFLOW;
lib/libc/stdio/snprintf.c
84
int serrno = errno;
lib/libc/stdio/snprintf.c
92
errno = EOVERFLOW;
lib/libc/stdio/stdio.c
107
serrno = errno;
lib/libc/stdio/stdio.c
111
errno = serrno;
lib/libc/stdio/stdio.c
133
serrno = errno;
lib/libc/stdio/stdio.c
134
errno = 0;
lib/libc/stdio/stdio.c
136
errret = errno;
lib/libc/stdio/stdio.c
137
if (errno == 0)
lib/libc/stdio/stdio.c
138
errno = serrno;
lib/libc/stdio/stdio.c
154
errno = EINVAL;
lib/libc/stdio/tempnam.c
81
sverrno = errno;
lib/libc/stdio/tempnam.c
83
errno = sverrno;
lib/libc/stdio/tmpfile.c
81
sverrno = errno;
lib/libc/stdio/tmpfile.c
83
errno = sverrno;
lib/libc/stdio/vasprintf.c
47
int serrno = errno;
lib/libc/stdio/vasprintf.c
55
errno = ENOMEM;
lib/libc/stdio/vasprintf.c
63
errno = ENOMEM;
lib/libc/stdio/vdprintf.c
49
int serrno = errno;
lib/libc/stdio/vdprintf.c
53
errno = EMFILE;
lib/libc/stdio/vfprintf.c
271
int serrno = errno;
lib/libc/stdio/vfprintf.c
452
errno = EBADF;
lib/libc/stdio/vfprintf.c
480
errno = EOVERFLOW;
lib/libc/stdio/vfprintf.c
996
errno = EOVERFLOW;
lib/libc/stdio/vfwprintf.c
1053
errno = EOVERFLOW;
lib/libc/stdio/vfwprintf.c
524
errno = EBADF;
lib/libc/stdio/vfwprintf.c
549
errno = EOVERFLOW;
lib/libc/stdio/vsnprintf.c
54
int serrno = errno;
lib/libc/stdio/vsnprintf.c
63
errno = EOVERFLOW;
lib/libc/stdio/vsprintf.c
53
int serrno = errno;
lib/libc/stdio/vswprintf.c
58
errno = EINVAL;
lib/libc/stdio/vswprintf.c
62
errno = EOVERFLOW;
lib/libc/stdio/vswprintf.c
70
errno = ENOMEM;
lib/libc/stdio/vswprintf.c
77
sverrno = errno;
lib/libc/stdio/vswprintf.c
79
errno = sverrno;
lib/libc/stdio/vswprintf.c
93
errno = EILSEQ;
lib/libc/stdio/vswprintf.c
99
errno = EOVERFLOW;
lib/libc/stdio/wbuf.c
60
errno = EBADF;
lib/libc/stdio/wsetup.c
57
errno = EBADF;
lib/libc/stdlib/atexit.c
156
errno = ENOSYS;
lib/libc/stdlib/cxa_thread_atexit_impl.c
89
errno = ENOMEM; /* forcibly override malloc(3) error */
lib/libc/stdlib/getenv.c
362
errno = EFAULT;
lib/libc/stdlib/getenv.c
378
errno = EFAULT;
lib/libc/stdlib/getenv.c
391
savedErrno = errno;
lib/libc/stdlib/getenv.c
393
errno = savedErrno;
lib/libc/stdlib/getenv.c
422
errno = EINVAL;
lib/libc/stdlib/getenv.c
458
errno = EINVAL;
lib/libc/stdlib/getenv.c
471
errno = ENOENT;
lib/libc/stdlib/getenv.c
475
errno = ERANGE;
lib/libc/stdlib/getenv.c
607
errno = EFAULT;
lib/libc/stdlib/getenv.c
632
errno = EINVAL;
lib/libc/stdlib/getenv.c
660
errno = EINVAL;
lib/libc/stdlib/getenv.c
713
errno = EINVAL;
lib/libc/stdlib/heapsort.c
167
errno = EINVAL;
lib/libc/stdlib/hsearch_r.c
98
errno = ESRCH;
lib/libc/stdlib/merge.c
119
errno = EINVAL;
lib/libc/stdlib/ptsname.c
53
if (errno != EBADF)
lib/libc/stdlib/ptsname.c
54
errno = EINVAL;
lib/libc/stdlib/ptsname.c
78
errno = ERANGE;
lib/libc/stdlib/ptsname.c
91
if (errno == EINVAL)
lib/libc/stdlib/ptsname.c
92
errno = ERANGE;
lib/libc/stdlib/radixsort.c
80
errno = EINVAL; \
lib/libc/stdlib/reallocarray.c
30
errno = ENOMEM;
lib/libc/stdlib/realpath.c
103
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
135
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
145
if (errno == EACCES || errno == ENOTDIR) {
lib/libc/stdlib/realpath.c
154
errno = ELOOP;
lib/libc/stdlib/realpath.c
161
errno = ENOENT;
lib/libc/stdlib/realpath.c
165
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
187
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
196
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
202
errno = ENOTDIR;
lib/libc/stdlib/realpath.c
222
errno = EINVAL;
lib/libc/stdlib/realpath.c
226
errno = ENOENT;
lib/libc/stdlib/realpath.c
75
errno = ENAMETOOLONG;
lib/libc/stdlib/recallocarray.c
37
errno = ENOMEM;
lib/libc/stdlib/recallocarray.c
42
errno = EINVAL;
lib/libc/stdlib/strfmon.c
410
errno = E2BIG;
lib/libc/stdlib/strfmon.c
414
errno = EINVAL;
lib/libc/stdlib/strfmon.c
417
sverrno = errno;
lib/libc/stdlib/strfmon.c
422
errno = sverrno;
lib/libc/stdlib/strtoimax.c
142
errno = ERANGE;
lib/libc/stdlib/strtoimax.c
145
errno = EINVAL;
lib/libc/stdlib/strtol.c
141
errno = ERANGE;
lib/libc/stdlib/strtol.c
144
errno = EINVAL;
lib/libc/stdlib/strtoll.c
143
errno = ERANGE;
lib/libc/stdlib/strtoll.c
146
errno = EINVAL;
lib/libc/stdlib/strtonum.c
51
ev[0].err = errno;
lib/libc/stdlib/strtonum.c
52
errno = 0;
lib/libc/stdlib/strtonum.c
61
else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval)
lib/libc/stdlib/strtonum.c
63
else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval)
lib/libc/stdlib/strtonum.c
68
errno = ev[error].err;
lib/libc/stdlib/strtoul.c
119
errno = ERANGE;
lib/libc/stdlib/strtoul.c
122
errno = EINVAL;
lib/libc/stdlib/strtoull.c
120
errno = ERANGE;
lib/libc/stdlib/strtoull.c
123
errno = EINVAL;
lib/libc/stdlib/strtoumax.c
120
errno = ERANGE;
lib/libc/stdlib/strtoumax.c
123
errno = EINVAL;
lib/libc/stdlib/system.c
113
if (errno != EINTR) {
lib/libc/stdlib/system.c
114
serrno = errno;
lib/libc/stdlib/system.c
135
errno = serrno;
lib/libc/stdlib/system.c
95
serrno = errno;
lib/libc/stdtime/strptime.c
494
sverrno = errno;
lib/libc/stdtime/strptime.c
495
errno = 0;
lib/libc/stdtime/strptime.c
497
if (errno == ERANGE || (long)(t = n) != n) {
lib/libc/stdtime/strptime.c
498
errno = sverrno;
lib/libc/stdtime/strptime.c
501
errno = sverrno;
lib/libc/string/strerror.c
112
errno = saved_errno;
lib/libc/string/strerror.c
130
errno = EINVAL;
lib/libc/string/strerror.c
140
errno = EINVAL;
lib/libc/string/strerror.c
84
int saved_errno = errno;
lib/libc/string/strsignal.c
145
errno = saved_errno;
lib/libc/string/strsignal.c
96
int saved_errno = errno;
lib/libc/string/wcscoll.c
123
errno = EINVAL;
lib/libc/string/wcscoll.c
136
errno = EINVAL;
lib/libc/string/wcscoll.c
176
errno = EINVAL;
lib/libc/string/wcscoll.c
191
errno = EINVAL;
lib/libc/sys/brk.c
100
errno = EINVAL;
lib/libc/sys/brk.c
61
errno = EINVAL;
lib/libc/sys/lockf.c
72
errno = EAGAIN;
lib/libc/sys/lockf.c
76
errno = EINVAL;
lib/libc/sys/shm_open.c
67
saved_errno = errno;
lib/libc/sys/shm_open.c
69
errno = saved_errno;
lib/libc/tests/db/dbm_perm_test.c
51
ATF_REQUIRE(errno == EPERM);
lib/libc/tests/db/dbm_perm_test.c
69
ATF_REQUIRE(errno == EPERM);
lib/libc/tests/gen/arc4random_test.c
62
ATF_REQUIRE_MSG(page != MAP_FAILED, "mmap failed; errno=%d", errno);
lib/libc/tests/gen/dlopen_empty_test.c
64
ATF_REQUIRE_MSG(fname != NULL, "mktemp failed; errno=%d", errno);
lib/libc/tests/gen/dlopen_empty_test.c
68
ATF_REQUIRE_MSG(fd != -1, "open(\"%s\") failed; errno=%d", soname, errno);
lib/libc/tests/gen/fmtmsg_test.c
189
if (errno == EINTR)
lib/libc/tests/gen/fmtmsg_test.c
208
while ((wpid = waitpid(pid, &status, 0)) == -1 && errno == EINTR)
lib/libc/tests/gen/ftw_test.c
103
"nftw FTW_PHYS|FTW_DEPTH failed; errno=%d", errno);
lib/libc/tests/gen/ftw_test.c
108
"nftw 0 failed; errno=%d", errno);
lib/libc/tests/gen/ftw_test.c
113
"nftw FTW_DEPTH failed; errno=%d", errno);
lib/libc/tests/gen/ftw_test.c
84
"realpath failed; errno=%d", errno);
lib/libc/tests/gen/ftw_test.c
87
ATF_REQUIRE_MSG(fd != -1, "open failed; errno=%d", errno);
lib/libc/tests/gen/ftw_test.c
90
"mkdirat failed; errno=%d", errno);
lib/libc/tests/gen/ftw_test.c
93
"symlinkat failed; errno=%d", errno);
lib/libc/tests/gen/ftw_test.c
98
"nftw FTW_PHYS failed; errno=%d", errno);
lib/libc/tests/gen/getentropy_test.c
57
ATF_REQUIRE_EQ(errno, EFAULT);
lib/libc/tests/gen/getentropy_test.c
66
ATF_REQUIRE_EQ(errno, EINVAL);
lib/libc/tests/gen/getentropy_test.c
68
ATF_REQUIRE_EQ(errno, EINVAL);
lib/libc/tests/gen/getmntinfo_test.c
59
ATF_REQUIRE_MSG(nmnts == 0 && errno == EINVAL,
lib/libc/tests/gen/getmntinfo_test.c
60
"getmntinfo() succeeded; errno=%d", errno);
lib/libc/tests/gen/getmntinfo_test.c
65
errno);
lib/libc/tests/gen/getmntinfo_test.c
72
errno);
lib/libc/tests/gen/glob2_test.c
84
"rc=%d errno=%d", rc, errno);
lib/libc/tests/gen/opendir_test.c
117
ATF_CHECK_EQ(EBADF, errno);
lib/libc/tests/gen/opendir_test.c
133
ATF_CHECK_EQ(ENOTDIR, errno);
lib/libc/tests/gen/opendir_test.c
80
ATF_CHECK_EQ(ENOTDIR, errno);
lib/libc/tests/gen/popen_test.c
171
ATF_CHECK_MSG(ferror(fp) && errno == EPIPE, "Expected EPIPE");
lib/libc/tests/gen/popen_test.c
57
ATF_CHECK_MSG(flags != -1, "fcntl(F_GETFD) failed; errno=%d", errno);
lib/libc/tests/gen/posix_spawn_test.c
60
ATF_REQUIRE_MSG(errno == ECHILD, "errno was not ECHILD: %d", errno);
lib/libc/tests/gen/posix_spawn_test.c
96
ATF_REQUIRE(waitres == -1 && errno == ECHILD);
lib/libc/tests/gen/sig2str_test.c
136
fullname, errno, strerror(errno));
lib/libc/tests/gen/sig2str_test.c
157
fullname, errno, strerror(errno));
lib/libc/tests/gen/sigsetops_test.c
100
ATF_REQUIRE(sigdelset(&set, -1) == -1 && errno == EINVAL);
lib/libc/tests/gen/sigsetops_test.c
101
ATF_REQUIRE(sigdelset(&set, _SIG_MAXSIG + 1) == -1 && errno == EINVAL);
lib/libc/tests/gen/sigsetops_test.c
98
ATF_REQUIRE(sigaddset(&set, -1) == -1 && errno == EINVAL);
lib/libc/tests/gen/sigsetops_test.c
99
ATF_REQUIRE(sigaddset(&set, _SIG_MAXSIG + 1) == -1 && errno == EINVAL);
lib/libc/tests/gen/wordexp_test.c
48
serrno = errno;
lib/libc/tests/gen/wordexp_test.c
51
errno = serrno;
lib/libc/tests/locale/c16rtomb_test.c
106
ATF_REQUIRE(errno == EILSEQ);
lib/libc/tests/locale/c16rtomb_test.c
143
ATF_REQUIRE(errno == EILSEQ);
lib/libc/tests/locale/c16rtomb_test.c
150
ATF_REQUIRE(errno == EILSEQ);
lib/libc/tests/locale/c16rtomb_test.c
50
locale_name, errno);
lib/libc/tests/locale/c16rtomb_test.c
92
ATF_REQUIRE(errno == EILSEQ);
lib/libc/tests/locale/iswctype_test.c
52
locale_name, errno);
lib/libc/tests/locale/mbrtoc16_test.c
50
locale_name, errno);
lib/libc/tests/locale/wcrtomb_test.c
83
ATF_REQUIRE(errno == EILSEQ);
lib/libc/tests/net/ether_test.c
50
"ether_line failed; errno=%d", errno);
lib/libc/tests/net/ether_test.c
93
ATF_REQUIRE_MSG(ep != NULL, "ether_aton_r failed; errno=%d", errno);
lib/libc/tests/net/getaddrinfo/getaddrinfo.c
75
errno = send_error;
lib/libc/tests/net/inet_net_test.cc
201
errno = 0;
lib/libc/tests/net/link_addr_test.cc
324
ATF_REQUIRE_EQ(ENOSPC, errno);
lib/libc/tests/net/link_addr_test.cc
340
ATF_REQUIRE_EQ(ENOSPC, errno);
lib/libc/tests/net/link_addr_test.cc
348
ATF_REQUIRE_EQ(ENOSPC, errno);
lib/libc/tests/net/link_addr_test.cc
361
ATF_REQUIRE_EQ(ENOSPC, errno);
lib/libc/tests/net/link_addr_test.cc
370
ATF_REQUIRE_EQ(ENOSPC, errno);
lib/libc/tests/nss/getaddrinfo_test.c
445
if (errno == ENOENT)
lib/libc/tests/nss/getaddrinfo_test.c
459
strerror(errno));
lib/libc/tests/nss/getgr_test.c
413
if (errno == ENOENT)
lib/libc/tests/nss/gethostby_test.c
102
errno = error;
lib/libc/tests/nss/gethostby_test.c
119
errno = error;
lib/libc/tests/nss/gethostby_test.c
736
strerror(errno));
lib/libc/tests/nss/gethostby_test.c
827
strerror(errno));
lib/libc/tests/nss/gethostby_test.c
991
if (errno == ENOENT) {
lib/libc/tests/nss/getproto_test.c
405
if (errno == ENOENT)
lib/libc/tests/nss/getpw_test.c
394
if (errno == ENOENT)
lib/libc/tests/nss/getrpc_test.c
408
if (errno == ENOENT)
lib/libc/tests/nss/getserv_test.c
424
if (errno == ENOENT)
lib/libc/tests/nss/getusershell_test.c
155
if (errno == ENOENT)
lib/libc/tests/secure/fortify_poll_test.c
250
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_poll_test.c
359
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_poll_test.c
468
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_poll_test.c
580
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_poll_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_random_test.c
286
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_random_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_select_test.c
238
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_select_test.c
338
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_select_test.c
432
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_select_test.c
532
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_select_test.c
626
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_select_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_select_test.c
726
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_signal_test.c
286
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_signal_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_socket_test.c
1108
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_socket_test.c
1327
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_socket_test.c
1501
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_socket_test.c
1598
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_socket_test.c
1701
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_socket_test.c
1895
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_socket_test.c
303
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_socket_test.c
462
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_socket_test.c
616
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_socket_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_socket_test.c
770
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_socket_test.c
939
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdio_test.c
1034
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdio_test.c
1193
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdio_test.c
1335
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdio_test.c
1489
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdio_test.c
286
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdio_test.c
428
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdio_test.c
577
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdio_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_stdio_test.c
726
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdio_test.c
875
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdlib_test.c
286
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdlib_test.c
428
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdlib_test.c
570
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_stdlib_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_string_test.c
1033
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
1197
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
1361
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
1525
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
1689
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
1853
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
2017
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
2181
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
291
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
438
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
585
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_string_test.c
727
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_string_test.c
869
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_strings_test.c
291
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_strings_test.c
433
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_strings_test.c
575
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_strings_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_uio_test.c
238
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_uio_test.c
338
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_uio_test.c
507
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_uio_test.c
601
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_uio_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_uio_test.c
701
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_uio_test.c
870
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
1046
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
1200
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
1354
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
1506
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
1648
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
1800
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
184
ATF_REQUIRE_MSG(jid > 0, "Jail creation failed: %s", strerror(errno));
lib/libc/tests/secure/fortify_unistd_test.c
1942
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
2109
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
307
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
454
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
596
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_unistd_test.c
738
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_unistd_test.c
892
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
1055
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
1219
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
1383
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
1547
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
1711
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
1875
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
2039
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
291
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
438
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
585
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
63
ATF_REQUIRE(error == 0 || errno == ENOENT);
lib/libc/tests/secure/fortify_wchar_test.c
727
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/secure/fortify_wchar_test.c
891
ATF_REQUIRE_EQ(EINTR, errno);
lib/libc/tests/stdio/eintr_test.c
114
if (errno == EINTR) {
lib/libc/tests/stdio/eintr_test.c
118
strerror(errno));
lib/libc/tests/stdio/eintr_test.c
80
atf_tc_fail("fork failed %s", strerror(errno));
lib/libc/tests/stdio/eintr_test.c
90
if (errno == EINTR) {
lib/libc/tests/stdio/eintr_test.c
94
strerror(errno));
lib/libc/tests/stdio/fdopen_test.c
45
"open(\"%s\", %#x) failed; errno=%d", fname, intmode, errno);
lib/libc/tests/stdio/fdopen_test.c
57
fname, intmode, strmode, errno);
lib/libc/tests/stdio/flushlbuf_test.c
40
errno = EAGAIN;
lib/libc/tests/stdio/fmemopen2_test.c
135
ATF_REQUIRE(errno == EINVAL);
lib/libc/tests/stdio/fmemopen2_test.c
139
ATF_REQUIRE(errno == EINVAL);
lib/libc/tests/stdio/fmemopen2_test.c
273
ATF_REQUIRE(errno == EINVAL);
lib/libc/tests/stdio/fmemopen2_test.c
294
ATF_REQUIRE(errno == EBADF);
lib/libc/tests/stdio/fmemopen2_test.c
302
ATF_REQUIRE(errno == EBADF);
lib/libc/tests/stdio/freopen_test.c
45
"fopen(\"%s\", \"%s\") failed; errno=%d", fname1, mode1, errno);
lib/libc/tests/stdio/freopen_test.c
55
fname2_print, mode2, fname1, mode1, errno);
lib/libc/tests/stdio/getdelim_test.c
113
ATF_REQUIRE(errno == 0);
lib/libc/tests/stdio/getdelim_test.c
125
errno = 0;
lib/libc/tests/stdio/getdelim_test.c
127
ATF_REQUIRE(errno == EBADF);
lib/libc/tests/stdio/getdelim_test.c
128
errno = 0;
lib/libc/tests/stdio/getdelim_test.c
130
ATF_REQUIRE(errno == EBADF);
lib/libc/tests/stdio/getdelim_test.c
144
ATF_REQUIRE(errno == EINVAL);
lib/libc/tests/stdio/getdelim_test.c
146
ATF_REQUIRE(errno == EINVAL);
lib/libc/tests/stdio/getdelim_test.c
159
errno = 0;
lib/libc/tests/stdio/getdelim_test.c
169
ATF_REQUIRE(errno == 0);
lib/libc/tests/stdio/getdelim_test.c
183
errno = 0;
lib/libc/tests/stdio/getdelim_test.c
199
ATF_REQUIRE(errno == 0);
lib/libc/tests/stdio/getdelim_test.c
239
ATF_CHECK_MSG(len == 1 || errno == EINTR,
lib/libc/tests/stdio/getdelim_test.c
240
"read %zu bytes errno %d\n", len, errno);
lib/libc/tests/stdio/getdelim_test.c
241
if (len != 1 || errno != EINTR)
lib/libc/tests/stdio/getdelim_test.c
251
ATF_REQUIRE(errno == EINTR);
lib/libc/tests/stdio/getdelim_test.c
91
errno = 0;
lib/libc/tests/stdio/mkostemp_test.c
119
testnum++, oflags, fd, strerror(errno));
lib/libc/tests/stdio/mkostemp_test.c
60
testnum++, oflags, strerror(errno));
lib/libc/tests/stdio/mkostemp_test.c
86
testnum++, oflags, tmpf, strerror(errno));
lib/libc/tests/stdio/mkostemp_test.c
92
testnum++, oflags, fd, strerror(errno));
lib/libc/tests/stdio/open_memstream2_test.c
154
ATF_REQUIRE_MSG(fp != NULL, "open_memstream failed: %d", errno);
lib/libc/tests/stdio/open_memstream2_test.c
157
errno = 0; \
lib/libc/tests/stdio/open_memstream2_test.c
162
ATF_REQUIRE_MSG(errno == (error), \
lib/libc/tests/stdio/open_memstream2_test.c
164
__STRING(offset), __STRING(whence), errno, \
lib/libc/tests/stdio/open_memstream2_test.c
171
__STRING(offset), __STRING(whence), strerror(errno)); \
lib/libc/tests/stdio/open_memstream2_test.c
82
ATF_REQUIRE_MSG(errno == EINVAL,
lib/libc/tests/stdio/open_memstream2_test.c
86
ATF_REQUIRE_MSG(errno == EINVAL,
lib/libc/tests/stdio/open_memstream2_test.c
89
ATF_REQUIRE_MSG(fp != NULL, "open_memstream failed; errno=%d", errno);
lib/libc/tests/stdio/open_wmemstream_test.c
154
ATF_REQUIRE_MSG(fp != NULL, "open_wmemstream failed; errno=%d", errno);
lib/libc/tests/stdio/open_wmemstream_test.c
157
errno = 0; \
lib/libc/tests/stdio/open_wmemstream_test.c
162
ATF_REQUIRE_MSG(errno == (error), \
lib/libc/tests/stdio/open_wmemstream_test.c
164
__STRING(offset), __STRING(whence), errno, \
lib/libc/tests/stdio/open_wmemstream_test.c
171
__STRING(offset), __STRING(whence), strerror(errno)); \
lib/libc/tests/stdio/open_wmemstream_test.c
82
ATF_REQUIRE_MSG(errno == EINVAL,
lib/libc/tests/stdio/open_wmemstream_test.c
86
ATF_REQUIRE_MSG(errno == EINVAL,
lib/libc/tests/stdio/open_wmemstream_test.c
89
ATF_REQUIRE_MSG(fp != NULL, "open_memstream failed; errno=%d", errno);
lib/libc/tests/stdio/perror_test.c
68
errno = EPERM;
lib/libc/tests/stdlib/getenv_r_test.c
29
errno = 0;
lib/libc/tests/stdlib/getenv_r_test.c
31
ATF_REQUIRE_EQ(EINVAL, errno);
lib/libc/tests/stdlib/getenv_r_test.c
32
errno = 0;
lib/libc/tests/stdlib/getenv_r_test.c
34
ATF_REQUIRE_EQ(EINVAL, errno);
lib/libc/tests/stdlib/getenv_r_test.c
35
errno = 0;
lib/libc/tests/stdlib/getenv_r_test.c
37
ATF_REQUIRE_EQ(EINVAL, errno);
lib/libc/tests/stdlib/getenv_r_test.c
45
errno = 0;
lib/libc/tests/stdlib/getenv_r_test.c
47
ATF_REQUIRE_EQ(ENOENT, errno);
lib/libc/tests/stdlib/getenv_r_test.c
57
errno = 0;
lib/libc/tests/stdlib/getenv_r_test.c
59
ATF_REQUIRE_EQ(ERANGE, errno);
lib/libc/tests/stdlib/system_test.c
146
ATF_REQUIRE_EQ(ENOENT, errno);
lib/libc/tests/string/strerror_test.c
44
errno = 0;
lib/libc/tests/string/strerror_test.c
48
ATF_CHECK(errno == EINVAL);
lib/libc/tests/string/strerror_test.c
55
errno = 0;
lib/libc/tests/string/strerror_test.c
58
ATF_CHECK(errno == 0);
lib/libc/tests/string/strerror_test.c
65
errno = 0;
lib/libc/tests/string/strerror_test.c
68
ATF_CHECK(errno == 0);
lib/libc/tests/string/strerror_test.c
75
errno = 0;
lib/libc/tests/string/strerror_test.c
78
ATF_CHECK(errno == 0);
lib/libc/tests/string/strerror_test.c
85
errno = 0;
lib/libc/tests/string/strerror_test.c
87
ATF_CHECK(errno == 0);
lib/libc/tests/string/wcscoll_test.c
120
errno = 0;
lib/libc/tests/string/wcscoll_test.c
130
if (errno != 0)
lib/libc/tests/sys/brk_test.c
111
"mlockall: %s", strerror(errno));
lib/libc/tests/sys/brk_test.c
127
"mincore: %s", strerror(errno));
lib/libc/tests/sys/brk_test.c
136
"munlockall: %s", strerror(errno));
lib/libc/tests/sys/brk_test.c
50
ATF_REQUIRE_MSG(error == 0, "brk: %s", strerror(errno));
lib/libc/tests/sys/brk_test.c
57
ATF_REQUIRE_MSG(error == 0, "brk: %s", strerror(errno));
lib/libc/tests/sys/brk_test.c
63
ATF_REQUIRE_MSG(error == 0, "brk: %s", strerror(errno));
lib/libc/tests/sys/brk_test.c
65
ATF_REQUIRE_MSG(newbrk != (void *)-1, "sbrk: %s", strerror(errno));
lib/libc/tests/sys/brk_test.c
80
ATF_REQUIRE_MSG(oldbrk != (void *)-1, "sbrk: %s", strerror(errno));
lib/libc/tests/sys/brk_test.c
86
ATF_REQUIRE_MSG(newbrk != (void *)-1, "sbrk: %s", strerror(errno));
lib/libc/tests/sys/brk_test.c
90
ATF_REQUIRE_MSG(oldbrk != (void *)-1, "sbrk: %s", strerror(errno));
lib/libc/tests/sys/brk_test.c
93
ATF_REQUIRE_MSG(newbrk != (void *)-1, "sbrk: %s", strerror(errno));
lib/libc/tests/sys/cpuset_test.c
172
ATF_CHECK_EQ(ESRCH, errno);
lib/libc/tests/sys/cpuset_test.c
223
ATF_REQUIRE_EQ(EINVAL, errno);
lib/libc/tests/sys/cpuset_test.c
248
ATF_REQUIRE_EQ(EDEADLK, errno);
lib/libc/tests/sys/cpuset_test.c
347
errno == EINTR) {
lib/libc/tests/sys/cpuset_test.c
531
} while (error == -1 && errno == EINTR);
lib/libc/tests/sys/cpuset_test.c
537
ATF_REQUIRE_MSG(error > 0, "Unexpected error %d from select()", errno);
lib/libc/tests/sys/cpuset_test.c
556
if (errno == EDEADLK)
lib/libc/tests/sys/cpuset_test.c
589
while ((error = waitpid(pid, &status, 0)) == -1 && errno == EINTR) {
lib/libc/tests/sys/errno_test.c
28
ATF_REQUIRE(errno == ENOENT);
lib/libc/tests/sys/mlock_helper.c
52
"sysctlbyname(%s) failed: %s", VM_MAX_WIRED, strerror(errno));
lib/libc/tests/sys/mlock_helper.c
57
"sysctlbyname(%s) failed: %s", VM_MAX_WIRED, strerror(errno));
lib/libc/tests/sys/mlock_helper.c
72
VM_MAX_WIRED, strerror(errno));
lib/libc/tests/sys/sendfile_test.c
1024
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
1083
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
1107
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
1110
ATF_REQUIRE_MSG(client_sock != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
1128
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
116
"asprintf failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
136
domain, type, strerror(errno));
lib/libc/tests/sys/sendfile_test.c
163
ATF_REQUIRE_EQ_MSG(error, 0, "connect failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
195
ATF_REQUIRE_EQ_MSG(error, 0, "bind failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
197
ATF_REQUIRE_EQ_MSG(error, 0, "listen failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
270
"fstat failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
309
"lseek failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
313
strerror(errno));
lib/libc/tests/sys/sendfile_test.c
320
strerror(errno));
lib/libc/tests/sys/sendfile_test.c
343
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
361
ATF_REQUIRE_EQ_MSG(0, error, "sendfile failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
416
ATF_REQUIRE_MSG(fd != -1, "shm_open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
418
"ftruncate failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
422
"mmap failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
445
ATF_REQUIRE_EQ_MSG(0, error, "sendfile failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
595
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
614
i, strerror(errno));
lib/libc/tests/sys/sendfile_test.c
65
0, "sysctlbyname(%s, ...) failed: %s", oidname, strerror(errno));
lib/libc/tests/sys/sendfile_test.c
719
ATF_REQUIRE_MSG(rc != -1, "asprintf failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
725
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
728
ATF_REQUIRE_MSG(fd2 != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
742
i, strerror(errno));
lib/libc/tests/sys/sendfile_test.c
804
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
863
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
916
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
919
ATF_CHECK_EQ_MSG(error, 0, "sendfile failed: %s", strerror(errno));
lib/libc/tests/sys/sendfile_test.c
972
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
lib/libc/tests/sys/swapcontext_test.c
41
ATF_REQUIRE_MSG(stack != NULL, "malloc failed: %s", strerror(errno));
lib/libc/tests/sys/swapcontext_test.c
43
ATF_REQUIRE_MSG(res == 0, "getcontext failed: %s", strerror(errno));
lib/libc/tests/sys/swapcontext_test.c
52
ATF_REQUIRE_MSG(res == 0, "swapcontext failed: %s", strerror(errno));
lib/libc/x86/gen/getcontextx.c
131
error = errno;
lib/libc/x86/gen/getcontextx.c
133
errno = error;
lib/libc/yp/yplib.c
378
if (_flock(fd, LOCK_EX|LOCK_NB) == -1 && errno == EWOULDBLOCK) {
lib/libcam/camlib.c
283
__func__, strerror(errno));
lib/libcam/camlib.c
336
"%s: %s", __func__, __func__, strerror(errno));
lib/libcam/camlib.c
433
__func__, strerror(errno));
lib/libcam/camlib.c
458
if (errno == ENOENT) {
lib/libcam/camlib.c
466
"%s: %s%s", __func__, __func__, strerror(errno),
lib/libcam/camlib.c
467
(errno == ENOENT) ? tmpstr : "");
lib/libcam/camlib.c
516
strerror(errno));
lib/libcam/camlib.c
547
strerror(errno));
lib/libcam/camlib.c
574
"%s: %s", __func__, __func__, strerror(errno));
lib/libcam/camlib.c
601
"%s: %s", __func__, __func__, strerror(errno));
lib/libcam/camlib.c
616
"%s: %s", __func__, __func__, strerror(errno));
lib/libcam/camlib.c
640
"%s: %s", __func__, __func__, strerror(errno));
lib/libcapsicum/capsicum_helpers.h
160
if (cap_enter() < 0 && errno != ENOSYS)
lib/libcapsicum/capsicum_helpers.h
170
if (cap_rights_limit(fd, rights) < 0 && errno != ENOSYS)
lib/libcapsicum/capsicum_helpers.h
180
if (cap_ioctls_limit(fd, cmds, ncmds) < 0 && errno != ENOSYS)
lib/libcapsicum/capsicum_helpers.h
190
if (cap_fcntls_limit(fd, fcntlrights) < 0 && errno != ENOSYS)
lib/libcapsicum/capsicum_helpers.h
84
if (cap_rights_limit(fd, &rights) < 0 && errno != ENOSYS) {
lib/libcapsicum/capsicum_helpers.h
85
if (errno == EBADF && (flags & CAPH_IGNORE_EBADF) != 0)
lib/libcapsicum/capsicum_helpers.h
91
nitems(caph_stream_cmds)) < 0 && errno != ENOSYS)
lib/libcapsicum/capsicum_helpers.h
94
if (cap_fcntls_limit(fd, caph_stream_fcntls) < 0 && errno != ENOSYS)
lib/libcasper/libcasper/libcasper.c
109
serrno = errno;
lib/libcasper/libcasper/libcasper.c
112
errno = serrno;
lib/libcasper/libcasper/libcasper.c
121
serrno = errno;
lib/libcasper/libcasper/libcasper.c
124
errno = serrno;
lib/libcasper/libcasper/libcasper.c
185
errno = (int)nvlist_get_number(nvl, "error");
lib/libcasper/libcasper/libcasper.c
195
serrno = errno;
lib/libcasper/libcasper/libcasper.c
197
errno = serrno;
lib/libcasper/libcasper/libcasper.c
245
errno = error;
lib/libcasper/libcasper/libcasper.c
265
errno = error;
lib/libcasper/libcasper/libcasper.c
327
errno = error;
lib/libcasper/libcasper/libcasper.c
340
error = errno;
lib/libcasper/libcasper/libcasper.c
342
errno = error;
lib/libcasper/libcasper/libcasper_impl.c
45
return (fcntl(fd, F_GETFL) != -1 || errno != EBADF);
lib/libcasper/libcasper/libcasper_service.c
187
return (errno);
lib/libcasper/libcasper/libcasper_service.c
193
error = errno;
lib/libcasper/libcasper/libcasper_service.c
265
if (errno == EINTR)
lib/libcasper/libcasper/service.c
139
serrno = errno;
lib/libcasper/libcasper/service.c
141
errno = serrno;
lib/libcasper/libcasper/service.c
149
serrno = errno;
lib/libcasper/libcasper/service.c
152
errno = serrno;
lib/libcasper/libcasper/service.c
189
serrno = errno;
lib/libcasper/libcasper/service.c
192
errno = serrno;
lib/libcasper/libcasper/service.c
313
error = errno;
lib/libcasper/libcasper/service.c
445
if (errno != EINTR)
lib/libcasper/libcasper/zygote.c
123
if (errno == ENOTCONN) {
lib/libcasper/libcasper/zygote.c
149
error = errno;
lib/libcasper/libcasper/zygote.c
156
error = errno;
lib/libcasper/libcasper/zygote.c
201
serrno = errno;
lib/libcasper/libcasper/zygote.c
204
errno = serrno;
lib/libcasper/libcasper/zygote.c
68
errno = ENXIO;
lib/libcasper/libcasper/zygote.c
80
errno = error;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
157
errno = serrno;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
187
errno = ENAMETOOLONG;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
306
serrno = errno;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
309
errno = serrno;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
324
errno = EINVAL;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
329
errno = ENOTCAPABLE;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
376
errno = EINVAL;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
381
errno = EFAULT;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
386
errno = ENOTCAPABLE;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
421
errno = EINVAL;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
426
errno = ENOTCAPABLE;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
521
if (cap_rights_limit(fd, caprightsp) < 0 && errno != ENOSYS) {
lib/libcasper/services/cap_fileargs/cap_fileargs.c
522
serrno = errno;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
524
errno = serrno;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
656
return (errno);
lib/libcasper/services/cap_fileargs/cap_fileargs.c
685
return (errno);
lib/libcasper/services/cap_fileargs/cap_fileargs.c
708
return (errno);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
114
return (errno);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
130
return (errno);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
156
return (errno);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
174
return (errno);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
208
return (errno);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
211
return (errno);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
233
return (errno);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
245
return (errno);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
258
return (errno);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
269
errno = 0;
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
271
serrno = errno;
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
97
return (errno);
lib/libcasper/services/cap_grp/cap_grp.c
199
assert(errno != 0);
lib/libcasper/services/cap_grp/cap_grp.c
201
return (errno);
lib/libcasper/services/cap_grp/cap_grp.c
251
serrno = errno;
lib/libcasper/services/cap_grp/cap_grp.c
256
errno = error;
lib/libcasper/services/cap_grp/cap_grp.c
260
errno = serrno;
lib/libcasper/services/cap_grp/cap_grp.c
325
errno = nvlist_get_number(nvl, "error");
lib/libcasper/services/cap_grp/cap_grp.c
345
errno = nvlist_get_number(nvl, "error");
lib/libcasper/services/cap_grp/cap_grp.c
633
errno = 0;
lib/libcasper/services/cap_grp/cap_grp.c
635
if (errno != 0)
lib/libcasper/services/cap_grp/cap_grp.c
636
return (errno);
lib/libcasper/services/cap_grp/cap_grp.c
655
errno = 0;
lib/libcasper/services/cap_grp/cap_grp.c
657
if (errno != 0)
lib/libcasper/services/cap_grp/cap_grp.c
658
return (errno);
lib/libcasper/services/cap_grp/cap_grp.c
676
errno = 0;
lib/libcasper/services/cap_grp/cap_grp.c
678
if (errno != 0)
lib/libcasper/services/cap_grp/cap_grp.c
679
return (errno);
lib/libcasper/services/cap_grp/tests/grp_test.c
1003
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1006
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1028
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1031
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1053
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1056
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1077
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1080
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1101
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1104
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1125
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1128
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1149
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1152
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1173
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1176
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1197
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1200
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1328
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1331
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1356
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1359
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1387
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1390
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1415
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1418
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1438
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1441
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1463
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1466
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1489
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1492
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1515
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
1518
errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
336
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
338
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
378
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
380
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
418
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
420
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
459
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
461
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
500
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
502
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
540
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
542
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
580
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
582
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
621
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
623
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
662
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
664
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
702
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
704
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
742
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
744
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
783
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
785
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
824
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
826
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
864
CHECK(cap_grp_limit_cmds(capgrp, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
866
CHECK(cap_grp_limit_cmds(capgrp, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_grp/tests/grp_test.c
981
errno == ENOTCAPABLE);
lib/libcasper/services/cap_net/cap_net.c
1014
errno = ENOTCAPABLE;
lib/libcasper/services/cap_net/cap_net.c
1019
errno = ENOTCAPABLE;
lib/libcasper/services/cap_net/cap_net.c
1024
serrno = errno;
lib/libcasper/services/cap_net/cap_net.c
1069
serrno = errno;
lib/libcasper/services/cap_net/cap_net.c
1115
serrno = errno;
lib/libcasper/services/cap_net/cap_net.c
162
errno = serrno;
lib/libcasper/services/cap_net/cap_net.c
316
errno = (error == EAI_SYSTEM) ? serrno : 0;
lib/libcasper/services/cap_net/cap_net.c
370
errno = (error == EAI_SYSTEM) ? serrno : 0;
lib/libcasper/services/cap_net/cap_net.c
932
serrno = errno;
lib/libcasper/services/cap_net/tests/net_test.c
1379
if (error != 0 && errno != ENOTCAPABLE)
lib/libcasper/services/cap_net/tests/net_test.c
1380
atf_tc_skip("unable to connect: %s", strerror(errno));
lib/libcasper/services/cap_net/tests/net_test.c
1437
if (error != 0 && errno != ENOTCAPABLE)
lib/libcasper/services/cap_net/tests/net_test.c
1438
atf_tc_skip("unable to connect: %s", strerror(errno));
lib/libcasper/services/cap_net/tests/net_test.c
258
serrno = errno;
lib/libcasper/services/cap_net/tests/net_test.c
279
serrno = errno;
lib/libcasper/services/cap_net/tests/net_test.c
299
ATF_REQUIRE_MSG(errno == serrno, "errno %d != serrno %d",
lib/libcasper/services/cap_net/tests/net_test.c
300
errno, serrno);
lib/libcasper/services/cap_pwd/cap_pwd.c
158
assert(errno != 0);
lib/libcasper/services/cap_pwd/cap_pwd.c
160
return (errno);
lib/libcasper/services/cap_pwd/cap_pwd.c
210
serrno = errno;
lib/libcasper/services/cap_pwd/cap_pwd.c
215
errno = error;
lib/libcasper/services/cap_pwd/cap_pwd.c
219
errno = serrno;
lib/libcasper/services/cap_pwd/cap_pwd.c
284
errno = nvlist_get_number(nvl, "error");
lib/libcasper/services/cap_pwd/cap_pwd.c
626
errno = 0;
lib/libcasper/services/cap_pwd/cap_pwd.c
628
if (errno != 0)
lib/libcasper/services/cap_pwd/cap_pwd.c
629
return (errno);
lib/libcasper/services/cap_pwd/cap_pwd.c
648
errno = 0;
lib/libcasper/services/cap_pwd/cap_pwd.c
650
if (errno != 0)
lib/libcasper/services/cap_pwd/cap_pwd.c
651
return (errno);
lib/libcasper/services/cap_pwd/cap_pwd.c
669
errno = 0;
lib/libcasper/services/cap_pwd/cap_pwd.c
671
if (errno != 0)
lib/libcasper/services/cap_pwd/cap_pwd.c
672
return (errno);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1059
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1062
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1084
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1087
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1109
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1112
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1134
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1137
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1157
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1160
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1177
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1180
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1310
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1313
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1338
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1341
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1369
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1372
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1397
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1400
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1420
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1423
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1445
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1448
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1471
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1474
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1497
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
1500
errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
351
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
353
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
392
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
394
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
431
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
433
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
470
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
472
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
509
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
511
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
548
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
550
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
587
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
589
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
626
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
628
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
665
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
667
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
704
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
706
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
743
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
745
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
782
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
784
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
821
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
823
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
860
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 7) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_pwd/tests/pwd_test.c
862
CHECK(cap_pwd_limit_cmds(cappwd, cmds, 1) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/cap_sysctl.c
116
error = errno;
lib/libcasper/services/cap_sysctl/cap_sysctl.c
120
errno = error;
lib/libcasper/services/cap_sysctl/cap_sysctl.c
175
errno = error;
lib/libcasper/services/cap_sysctl/cap_sysctl.c
238
errno = error;
lib/libcasper/services/cap_sysctl/cap_sysctl.c
440
error = errno;
lib/libcasper/services/cap_sysctl/cap_sysctl.c
516
error = errno;
lib/libcasper/services/cap_sysctl/cap_sysctl.c
70
error = errno;
lib/libcasper/services/cap_sysctl/cap_sysctl.c
73
errno = error;
lib/libcasper/services/cap_sysctl/cap_sysctl.c
88
error = errno;
lib/libcasper/services/cap_sysctl/cap_sysctl.c
92
errno = error;
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1003
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1009
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1015
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1019
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1023
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1027
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1031
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1035
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1038
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1041
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1065
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1089
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
114
"sysctlbyname(%s): %s", name, strerror(errno));
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1242
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1246
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1250
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1253
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1276
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1280
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1284
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1287
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1310
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1314
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1318
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1321
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1344
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1348
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1352
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1355
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1378
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1382
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1386
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1389
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1413
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1417
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1421
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1424
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1445
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1448
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1468
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1471
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1491
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1494
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1514
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1517
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1537
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1540
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1560
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
1563
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
301
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
306
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
370
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
374
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
378
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
381
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
408
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
414
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
418
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
442
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
448
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
452
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
480
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
484
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
488
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
492
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
518
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
522
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
526
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
555
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
561
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
565
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
569
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
573
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
577
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
580
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
583
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
609
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
615
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
619
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
623
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
627
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
631
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
634
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
637
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
661
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
667
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
673
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
677
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
681
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
685
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
689
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
693
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
696
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
699
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
723
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
729
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
735
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
739
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
743
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
747
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
751
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
755
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
758
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
761
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
785
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
809
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
835
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
841
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
845
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
849
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
85
"sysctlbyname(%s): %s", name, strerror(errno));
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
853
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
857
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
860
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
863
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
88
ATF_REQUIRE_MSG(fd >= 0, "open(%s): %s", file, strerror(errno));
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
889
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
895
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
899
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
903
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
907
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
911
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
914
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
917
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
941
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
947
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
953
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
957
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
961
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
965
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
969
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
973
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
976
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
979
ATF_REQUIRE(cap_sysctl_limit(limit) == -1 && errno == ENOTCAPABLE);
lib/libcompat/4.3/rexec.c
147
if (errno != ENOENT)
lib/libcompat/4.3/rexec.c
317
if (errno == ECONNREFUSED && timo <= 16) {
lib/libcuse/cuse_lib.c
286
DPRINTF("Freeing memory failed: %d\n", errno);
lib/libcuse/cuse_lib.c
714
DPRINTF("cuse: copy_out() error = %d\n", errno);
lib/libcuse/cuse_lib.c
747
DPRINTF("cuse: copy_in() error = %d\n", errno);
lib/libdevctl/devctl.c
114
errno = EINVAL;
lib/libdevctl/devctl.c
179
errno = EINVAL;
lib/libdevctl/devctl.c
197
if (errno == ENAMETOOLONG && req.dr_buffer.length != BUFLEN) {
lib/libdevctl/devctl.c
201
serrno = errno;
lib/libdevctl/devctl.c
203
errno = serrno;
lib/libdevctl/devctl.c
55
errno = EINVAL;
lib/libdevdctl/consumer.cc
237
} while (result == -1 && errno == EINTR);
lib/libdevinfo/devinfo.c
163
errno = error;
lib/libdevinfo/devinfo.c
216
if (errno == ENOENT) /* end of list */
lib/libdevinfo/devinfo.c
218
if (errno != EINVAL) /* gen count skip, restart */
lib/libdevinfo/devinfo.c
220
return(errno);
lib/libdevinfo/devinfo.c
319
if (errno == ENOENT) /* end of list */
lib/libdevinfo/devinfo.c
321
if (errno != EINVAL) /* gen count skip, restart */
lib/libdevinfo/devinfo.c
323
return(errno);
lib/libdevinfo/devinfo.c
348
if (errno == ENOENT) /* end of list */
lib/libdevinfo/devinfo.c
350
if (errno != EINVAL) /* gen count skip */
lib/libdevinfo/devinfo.c
353
return(errno);
lib/libdevstat/devstat.c
186
strerror(errno));
lib/libdevstat/devstat.c
222
__func__, __func__, strerror(errno));
lib/libdevstat/devstat.c
256
__func__, __func__, strerror(errno));
lib/libdevstat/devstat.c
396
if (error != -1 || errno != EBUSY)
lib/libdevstat/devstat.c
405
if (errno == ENOMEM) {
lib/libdevstat/devstat.c
423
__func__, strerror(errno));
lib/libdevstat/devstat.c
430
strerror(errno));
lib/libdpv/dialogrc.c
310
errno = ENOENT;
lib/libefivar/efivar-dp-xlate.c
201
rv = errno;
lib/libefivar/efivar-dp-xlate.c
208
rv = errno;
lib/libefivar/efivar-dp-xlate.c
685
rv = errno;
lib/libefivar/efivar-dp-xlate.c
690
rv = errno;
lib/libefivar/efivar-dp-xlate.c
750
return (errno);
lib/libefivar/efivar.c
147
rv = -errno;
lib/libefivar/efivar.c
262
errno = ENOMEM;
lib/libefivar/efivar.c
285
if (rv != 0 && errno == ENOENT) {
lib/libefivar/efivar.c
286
errno = 0;
lib/libfetch/common.c
1289
if (errno == EAGAIN || (errno == EINTR && fetchRestartCalls)) {
lib/libfetch/common.c
1355
errno = ETIMEDOUT;
lib/libfetch/common.c
1363
errno = 0;
lib/libfetch/common.c
1366
if (errno == EINTR && fetchRestartCalls)
lib/libfetch/common.c
1391
errno = ENOMEM;
lib/libfetch/common.c
1411
errno = ENOMEM;
lib/libfetch/common.c
1463
errno = ETIMEDOUT;
lib/libfetch/common.c
1470
errno = 0;
lib/libfetch/common.c
1474
if (errno == EAGAIN)
lib/libfetch/common.c
1476
if (errno == EINTR && fetchRestartCalls)
lib/libfetch/common.c
1481
errno = 0;
lib/libfetch/common.c
1492
errno = EPIPE;
lib/libfetch/common.c
1497
if (errno == EINTR && fetchRestartCalls)
lib/libfetch/common.c
1589
errno = ENOMEM;
lib/libfetch/common.c
1646
serrno = errno;
lib/libfetch/common.c
1648
errno = serrno;
lib/libfetch/common.c
1668
serrno = errno;
lib/libfetch/common.c
1669
DEBUGF("fdopen(netrcfd): %s", strerror(errno));
lib/libfetch/common.c
1672
errno = serrno;
lib/libfetch/common.c
171
switch (errno) {
lib/libfetch/common.c
1720
serrno = errno;
lib/libfetch/common.c
1723
errno = serrno;
lib/libfetch/common.c
221
snprintf(fetchLastErrString, MAXERRSTRING, "%s", strerror(errno));
lib/libfetch/common.c
232
int serrno = errno;
lib/libfetch/common.c
238
errno = serrno;
lib/libfetch/common.c
330
errno = EINVAL;
lib/libfetch/common.c
347
errno = ENAMETOOLONG;
lib/libfetch/common.c
358
errno = EINVAL;
lib/libfetch/common.c
575
errno = 0;
lib/libfetch/common.c
577
if (*endptr != '\0' || errno != 0 || *port < 0 ||
lib/libfetch/common.c
642
if (errno == EAFNOSUPPORT || errno == EPROTONOSUPPORT)
lib/libfetch/common.c
659
if (errno == EINTR && fetchRestartCalls)
lib/libfetch/ftp.c
191
errno = ENOMEM;
lib/libfetch/ftp.c
499
errno = EBADF;
lib/libfetch/ftp.c
503
errno = EBADF;
lib/libfetch/ftp.c
507
errno = io->err;
lib/libfetch/ftp.c
519
if (errno != EINTR)
lib/libfetch/ftp.c
520
io->err = errno;
lib/libfetch/ftp.c
532
errno = EBADF;
lib/libfetch/ftp.c
536
errno = EBADF;
lib/libfetch/ftp.c
540
errno = io->err;
lib/libfetch/ftp.c
546
if (errno != EINTR)
lib/libfetch/ftp.c
547
io->err = errno;
lib/libfetch/ftp.c
558
errno = EBADF;
lib/libfetch/ftp.c
561
errno = ESPIPE;
lib/libfetch/ftp.c
573
errno = EBADF;
lib/libfetch/ftp.c
579
errno = EBADF;
lib/libfetch/http.c
1481
errno = EAUTH;
lib/libfetch/http.c
1492
serrno = errno;
lib/libfetch/http.c
1495
errno = serrno;
lib/libfetch/http.c
225
io->error = errno;
lib/libfetch/http.c
251
io->error = errno;
lib/libfetch/http.c
284
if ((errno = io->error) == EINTR)
lib/libfetch/http.c
402
errno = ENOMEM;
lib/libfigpar/string_m.c
98
errno = 0; /* reset global error number */
lib/libgeom/geom_ctl.c
212
return(strerror(errno));
lib/libgeom/geom_ctl.c
218
return(strerror(errno));
lib/libgeom/geom_getxml.c
84
if (errno != ENOMEM)
lib/libgeom/geom_stats.c
95
return (errno);
lib/libgeom/geom_util.c
186
errno = ENOENT;
lib/libgeom/geom_util.c
190
errno = ENAMETOOLONG;
lib/libgeom/geom_util.c
226
errno = error;
lib/libgeom/geom_util.c
261
errno = error;
lib/libgeom/geom_util.c
312
errno = EFTYPE;
lib/libgeom/geom_xml2tree.c
110
mt->error = errno;
lib/libgeom/geom_xml2tree.c
130
mt->error = errno;
lib/libgeom/geom_xml2tree.c
153
mt->error = errno;
lib/libgeom/geom_xml2tree.c
206
mt->error = errno;
lib/libgeom/geom_xml2tree.c
279
mt->error = errno;
lib/libgeom/geom_xml2tree.c
288
mt->error = errno;
lib/libgeom/geom_xml2tree.c
510
return (errno);
lib/libgeom/geom_xml2tree.c
526
return (errno);
lib/libgeom/geom_xml2tree.c
95
mt->error = errno;
lib/libgpio/gpio.c
61
serr = errno;
lib/libgpio/gpio.c
63
errno = serr;
lib/libgpio/gpio.c
87
errno = EINVAL;
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
222
return (errno);
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
243
ret = errno;
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
278
return (errno);
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
291
ret = errno;
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
361
ret = errno;
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
434
return (errno);
lib/libiconv_modules/mapper_646/citrus_mapper_646.c
180
return (errno);
lib/libiconv_modules/mapper_serial/citrus_mapper_serial.c
140
return (errno);
lib/libiconv_modules/mapper_serial/citrus_mapper_serial.c
174
return (errno);
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
359
ret = errno;
lib/libiconv_modules/mapper_zone/citrus_mapper_zone.c
315
return (errno);
lib/libifconfig/libifconfig.c
335
h->error.errcode = (errno != 0) ? errno : ENOENT;
lib/libifconfig/libifconfig_internal.c
66
h->error.errcode = errno;
lib/libifconfig/libifconfig_internal.c
96
h->error.errcode = errno;
lib/libifconfig/libifconfig_media.c
229
errno = ENOENT;
lib/libifconfig/libifconfig_media.c
242
errno = ENOENT;
lib/libifconfig/libifconfig_media.c
263
errno = EINVAL;
lib/libifconfig/libifconfig_media.c
276
errno = ENOENT;
lib/libifconfig/libifconfig_media.c
288
errno = EINVAL;
lib/libifconfig/libifconfig_media.c
297
errno = ENOENT;
lib/libifconfig/libifconfig_media.c
309
errno = EINVAL;
lib/libifconfig/libifconfig_media.c
322
errno = ENOENT;
lib/libifconfig/libifconfig_media.c
334
errno = EINVAL;
lib/libifconfig/libifconfig_media.c
343
errno = ENOENT;
lib/libifconfig/libifconfig_media.c
357
errno = EINVAL;
lib/libifconfig/libifconfig_media.c
372
errno = ENOENT;
lib/libifconfig/libifconfig_media.c
408
errno = EINVAL;
lib/libifconfig/libifconfig_sfp.c
104
ii->error = errno;
lib/libifconfig/libifconfig_sfp.c
105
return (errno);
lib/libipsec/pfkey.c
1125
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
1249
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
1327
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
1398
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
1453
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
1501
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
1567
if (errno == EINTR)
lib/libipsec/pfkey.c
1569
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
1582
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
1587
if (errno == EINTR)
lib/libipsec/pfkey.c
1589
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
162
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
1621
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
382
__ipsec_set_strerror(strerror(errno));
lib/libipsec/pfkey.c
564
__ipsec_set_strerror(strerror(errno));
lib/libipsec/test-policy.c
180
printf("fail to set sockopt; %s\n", strerror(errno));
lib/libipsec/test-policy.c
188
printf("fail to get sockopt; %s\n", strerror(errno));
lib/libiscsiutil/log.c
149
log_common(LOG_CRIT, errno, fmt, ap);
lib/libiscsiutil/log.c
185
log_common(LOG_WARNING, errno, fmt, ap);
lib/libiscsiutil/pdu.c
121
conn->conn_ops->fail(conn, strerror(errno));
lib/libjail/jail.c
1024
if (errno != ENOENT) {
lib/libjail/jail.c
1026
"sysctl(0.3.%s): %s", name, strerror(errno));
lib/libjail/jail.c
1070
errno = ENOENT;
lib/libjail/jail.c
1079
"sysctl(0.4.%s): %s", name, strerror(errno));
lib/libjail/jail.c
1132
strerror(errno));
lib/libjail/jail.c
1153
strerror(errno));
lib/libjail/jail.c
1172
if (errno == ENOENT)
lib/libjail/jail.c
1175
"sysctl(0.1): %s", strerror(errno));
lib/libjail/jail.c
1189
errno = ENOENT;
lib/libjail/jail.c
1217
if (kl < 0 && errno == ENOENT &&
lib/libjail/jail.c
1221
errno = ENOENT;
lib/libjail/jail.c
1224
if (kl < 0 && errno == EEXIST) {
lib/libjail/jail.c
1229
errno = ENOENT;
lib/libjail/jail.c
1244
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail.c
1264
errno = EINVAL;
lib/libjail/jail.c
1269
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail.c
1293
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail.c
1348
errno = EINVAL;
lib/libjail/jail.c
1364
errno = EINVAL;
lib/libjail/jail.c
1378
int serrno = errno;
lib/libjail/jail.c
1381
jp->jp_name, strerror(errno));
lib/libjail/jail.c
1382
errno = serrno;
lib/libjail/jail.c
1439
if (error != 0 && errno == ENOENT) {
lib/libjail/jail.c
1448
int serrno = errno;
lib/libjail/jail.c
1454
errno = serrno;
lib/libjail/jail.c
258
errno = ENOENT;
lib/libjail/jail.c
312
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail.c
320
"sysctlnametomib(" SJPARAM "): %s", strerror(errno));
lib/libjail/jail.c
327
if (errno == ENOENT) {
lib/libjail/jail.c
332
"sysctl(0.2): %s", strerror(errno));
lib/libjail/jail.c
346
"sysctl(0.1): %s", strerror(errno));
lib/libjail/jail.c
386
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail.c
415
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail.c
425
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail.c
437
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail.c
452
errno = EINVAL;
lib/libjail/jail.c
472
errno = EINVAL;
lib/libjail/jail.c
483
errno = EINVAL;
lib/libjail/jail.c
521
errno = ENOENT;
lib/libjail/jail.c
638
strerror(errno));
lib/libjail/jail.c
692
errno = ENOENT;
lib/libjail/jail.c
721
"jail_get: %s", strerror(errno));
lib/libjail/jail.c
737
strerror_r(errno, jail_errmsg,
lib/libjail/jail.c
753
strerror_r(errno, jail_errmsg,
lib/libjail/jail.c
791
errno != EINVAL || jail_errmsg[0])
lib/libjail/jail.c
819
strerror_r(errno, jail_errmsg,
lib/libjail/jail.c
832
"jail_get: %s", strerror(errno));
lib/libjail/jail.c
863
errno = EINVAL;
lib/libjail/jail.c
869
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail.c
876
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail.c
928
strerror_r(errno, jail_errmsg,
lib/libjail/jail.c
945
errno = ENOENT;
lib/libjail/jail.c
955
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail_getid.c
113
strerror(errno));
lib/libjail/jail_getid.c
118
strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
lib/libjail/jail_getid.c
82
strerror(errno));
lib/libkiconv/kiconv_sysctl.c
44
return (errno);
lib/libkiconv/kiconv_sysctl.c
53
return (errno);
lib/libkiconv/kiconv_sysctl.c
72
return (errno);
lib/libkiconv/kiconv_sysctl.c
79
return (errno);
lib/libkiconv/xlat16_iconv.c
110
errno = E2BIG;
lib/libkiconv/xlat16_iconv.c
329
errno = ENOENT;
lib/libkiconv/xlat16_iconv.c
453
errno = EINVAL;
lib/libkiconv/xlat16_iconv.c
460
errno = EINVAL;
lib/libkiconv/xlat16_sysctl.c
67
return (errno);
lib/libkldelf/ef.c
185
return (errno);
lib/libkldelf/ef.c
581
return (errno);
lib/libkldelf/ef_obj.c
287
return (errno);
lib/libkldelf/elf.c
175
return (errno);
lib/libkldelf/elf.c
207
return (errno);
lib/libkldelf/elf.c
76
return (errno);
lib/libkvm/kvm.c
149
errno = EINVAL;
lib/libkvm/kvm.c
233
(void)strlcpy(errout, strerror(errno),
lib/libkvm/kvm.c
249
errstr, strerror(errno));
lib/libkvm/kvm.c
264
(void)strlcpy(errout, strerror(errno),
lib/libkvm/kvm.c
278
errno = EINVAL;
lib/libkvm/kvm.c
379
errno = 0;
lib/libkvm/kvm.c
380
if (lseek(kd->vmfd, (off_t)kva, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
401
errno = 0;
lib/libkvm/kvm.c
402
if (lseek(kd->pmfd, pa, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
444
errno = 0;
lib/libkvm/kvm.c
445
if (lseek(kd->vmfd, (off_t)kva, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
465
errno = 0;
lib/libkvm/kvm.c
466
if (lseek(kd->pmfd, pa, 0) == -1 && errno != 0) {
lib/libkvm/kvm_cptime.c
72
strerror(errno));
lib/libkvm/kvm_getswapinfo.c
178
strerror(errno));
lib/libkvm/kvm_getswapinfo.c
186
if (errno == ENOENT)
lib/libkvm/kvm_getswapinfo.c
189
strerror(errno));
lib/libkvm/kvm_getswapinfo.c
259
strerror(errno));
lib/libkvm/kvm_private.c
104
(void)fprintf(stderr, ": %s\n", strerror(errno));
lib/libkvm/kvm_private.c
111
strerror(errno));
lib/libkvm/kvm_private.c
123
n, strerror(errno));
lib/libkvm/kvm_private.c
381
(intmax_t)kd->pt_sparse_off, strerror(errno));
lib/libkvm/kvm_proc.c
579
} while (st == -1 && errno == ENOMEM && size == osize);
lib/libkvm/kvm_proc.c
750
if (errno != ENOMEM || bufsz != (size_t)buflen)
lib/libkvm/kvm_proc.c
753
errno = 0;
lib/libkvm/tests/kvm_geterr_test.c
124
strerror(errno));
lib/libkvm/tests/kvm_geterr_test.c
80
strerror(errno));
lib/libkvm/tests/kvm_read_test.c
80
strerror(errno));
lib/libmd/mdXhl.c
106
e = errno;
lib/libmd/mdXhl.c
108
errno = e;
lib/libmd/mdXhl.c
59
errno = EINVAL;
lib/libmd/mdXhl.c
65
errno = 0;
lib/libmd/mdXhl.c
67
(ofs == -1 && errno != 0)) {
lib/libmemstat/memstat_malloc.c
112
if (errno == EACCES || errno == EPERM)
lib/libmemstat/memstat_malloc.c
142
if (errno == ENOMEM) {
lib/libmemstat/memstat_malloc.c
146
if (errno == EACCES || errno == EPERM)
lib/libmemstat/memstat_malloc.c
99
if (errno == EACCES || errno == EPERM)
lib/libmemstat/memstat_uma.c
112
if (errno == EACCES || errno == EPERM)
lib/libmemstat/memstat_uma.c
137
if (errno == ENOMEM) {
lib/libmemstat/memstat_uma.c
141
if (errno == EACCES || errno == EPERM)
lib/libmemstat/memstat_uma.c
99
if (errno == EACCES || errno == EPERM)
lib/libmixer/mixer.c
178
errno = ERANGE;
lib/libmixer/mixer.c
185
errno = EINVAL;
lib/libmixer/mixer.c
204
errno = EINVAL;
lib/libmixer/mixer.c
222
errno = EINVAL;
lib/libmixer/mixer.c
237
errno = EINVAL;
lib/libmixer/mixer.c
269
errno = EINVAL;
lib/libmixer/mixer.c
293
errno = EINVAL;
lib/libmixer/mixer.c
310
errno = EINVAL;
lib/libmixer/mixer.c
331
errno = ERANGE;
lib/libmixer/mixer.c
364
errno = EINVAL;
lib/libmixer/mixer.c
388
errno = ENODEV;
lib/libmixer/mixer.c
405
errno = EINVAL;
lib/libmixer/mixer.c
506
errno = EINVAL;
lib/libmixer/mixer.c
515
errno = ENOMEM;
lib/libmp/mpasbn.c
583
errno = 0;
lib/libmp/mpasbn.c
585
if (errno != 0)
lib/libmt/mtlib.c
771
errno = ENOMEM;
lib/libnetbsd/efun.c
65
errno = ENAMETOOLONG;
lib/libnetbsd/efun.c
78
errno = ENAMETOOLONG;
lib/libnetbsd/sockaddr_snprintf.c
176
errno = EAFNOSUPPORT;
lib/libnetbsd/strsuftoll.c
113
errno = 0;
lib/libnetbsd/strsuftoll.c
120
if (errno == ERANGE)
lib/libnetgraph/debug.c
286
NGLOGX(" [error decoding message: %s]", strerror(errno));
lib/libnetgraph/msg.c
193
errnosv = errno;
lib/libnetgraph/msg.c
223
errnosv = errno;
lib/libnetgraph/msg.c
240
errnosv = errno;
lib/libnetgraph/msg.c
250
errno = errnosv;
lib/libnetgraph/msg.c
271
errnosv = errno;
lib/libnetgraph/msg.c
291
errno = errnosv;
lib/libnetgraph/msg.c
344
errno = ERANGE;
lib/libnetgraph/msg.c
346
errnosv = errno;
lib/libnetgraph/msg.c
348
errno = errnosv;
lib/libnetgraph/sock.c
102
errnosv = errno;
lib/libnetgraph/sock.c
121
errnosv = errno;
lib/libnetgraph/sock.c
127
errnosv = errno;
lib/libnetgraph/sock.c
144
errnosv = errno;
lib/libnetgraph/sock.c
155
errnosv = errno;
lib/libnetgraph/sock.c
177
errno = errnosv;
lib/libnetgraph/sock.c
223
errnosv = errno;
lib/libnetgraph/sock.c
226
errno = errnosv;
lib/libnetgraph/sock.c
291
errnosv = errno;
lib/libnetgraph/sock.c
294
errno = errnosv;
lib/libnetgraph/sock.c
74
if (errno == EAFNOSUPPORT) {
lib/libnetgraph/sock.c
76
errnosv = errno;
lib/libnetgraph/sock.c
85
errnosv = errno;
lib/libnetmap/nmport.c
134
errno = EINVAL;
lib/libnetmap/nmport.c
140
errno = EINVAL;
lib/libnetmap/nmport.c
147
errno = ENOMEM;
lib/libnetmap/nmport.c
155
errno = ENOMEM;
lib/libnetmap/nmport.c
198
errno = ENOMEM;
lib/libnetmap/nmport.c
204
nmctx_ferror(ctx, "cannot open '%s': %s", fname, strerror(errno));
lib/libnetmap/nmport.c
209
nmctx_ferror(ctx, "failed to obtain filesize of '%s': %s", fname, strerror(errno));
lib/libnetmap/nmport.c
214
nmctx_ferror(ctx, "cannot mmap '%s': %s", fname, strerror(errno));
lib/libnetmap/nmport.c
276
errno = ENOMEM;
lib/libnetmap/nmport.c
284
errno = ENOMEM;
lib/libnetmap/nmport.c
401
errno = EINVAL;
lib/libnetmap/nmport.c
530
errno = EOPNOTSUPP;
lib/libnetmap/nmport.c
604
errno = EINVAL;
lib/libnetmap/nmport.c
611
nmctx_ferror(ctx, "/dev/netmap: %s", strerror(errno));
lib/libnetmap/nmport.c
630
nmctx_ferror(ctx, "%s: %s", d->hdr.nr_name, strerror(errno));
lib/libnetmap/nmport.c
664
errno = EINVAL;
lib/libnetmap/nmport.c
670
errno = EINVAL;
lib/libnetmap/nmport.c
696
nmctx_ferror(ctx, "mmap: %s", strerror(errno));
lib/libnetmap/nmport.c
839
errno = EINVAL;
lib/libnetmap/nmreq.c
190
errno = EINVAL;
lib/libnetmap/nmreq.c
208
errno = 0;
lib/libnetmap/nmreq.c
217
nmctx_ferror(ctx, "cannot open /dev/netmap: %s", strerror(errno));
lib/libnetmap/nmreq.c
226
nmctx_ferror(ctx, "cannot get info for '%s': %s", *pifname, strerror(errno));
lib/libnetmap/nmreq.c
236
if (!errno)
lib/libnetmap/nmreq.c
237
errno = EINVAL;
lib/libnetmap/nmreq.c
253
errno = 0;
lib/libnetmap/nmreq.c
403
if (!errno)
lib/libnetmap/nmreq.c
404
errno = EINVAL;
lib/libnetmap/nmreq.c
439
errno = EINVAL;
lib/libnetmap/nmreq.c
445
errno = EINVAL;
lib/libnetmap/nmreq.c
461
errno = EINVAL;
lib/libnetmap/nmreq.c
472
errno = EINVAL;
lib/libnetmap/nmreq.c
505
errno = EINVAL;
lib/libnetmap/nmreq.c
510
errno = EOPNOTSUPP;
lib/libnetmap/nmreq.c
524
errno = EINVAL;
lib/libnetmap/nmreq.c
532
errno = EINVAL;
lib/libnetmap/nmreq.c
537
errno = EINVAL;
lib/libnetmap/nmreq.c
564
errno = EINVAL;
lib/libnetmap/nmreq.c
578
errno = EINVAL;
lib/libnetmap/nmreq.c
584
errno = ENOMEM;
lib/libnv/common_impl.h
42
return (fcntl(fd, F_GETFD) != -1 || errno != EBADF);
lib/libnv/msgio.c
115
if (errno == EINTR)
lib/libnv/msgio.c
134
if (errno == EINTR)
lib/libnv/msgio.c
213
errno = EINVAL;
lib/libnv/msgio.c
265
serrno = errno;
lib/libnv/msgio.c
267
errno = serrno;
lib/libnv/msgio.c
313
errno = EINVAL;
lib/libnv/msgio.c
318
errno = EINVAL;
lib/libnv/msgio.c
339
errno = EINVAL;
lib/libnv/msgio.c
356
serrno = errno;
lib/libnv/msgio.c
358
errno = serrno;
lib/libnv/msgio.c
369
errno = EINVAL;
lib/libnv/msgio.c
382
serrno = errno;
lib/libnv/msgio.c
385
errno = serrno;
lib/libnv/msgio.c
401
errno = EINVAL;
lib/libnv/msgio.c
435
if (errno == EINTR)
lib/libnv/msgio.c
439
errno = ENOTCONN;
lib/libnv/msgio.c
463
if (errno == EINTR)
lib/libnv/msgio.c
467
errno = ENOTCONN;
lib/libnv/tests/cnv_tests.cc
36
#define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
lib/libnv/tests/nv_array_tests.cc
1036
errno = 0;
lib/libnv/tests/nv_array_tests.cc
42
#define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
lib/libnv/tests/nvlist_get_test.c
46
#define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
lib/libnv/tests/nvlist_send_recv_test.c
491
atf_tc_skip("cannot set net.local.dgram.maxdgram: %s", strerror(errno));
lib/libnv/tests/nvlist_send_recv_test.c
50
#define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
lib/libnv/tests/nvlist_send_recv_test.c
502
atf_tc_skip("cannot set net.local.dgram.recvspace: %s", strerror(errno));
lib/libnv/tests/nvlist_send_recv_test.c
593
errno = 0;
lib/libnv/tests/nvlist_send_recv_test.c
601
ATF_REQUIRE(errno == EINVAL);
lib/libnvmf/nvmf_host.c
1007
error = errno;
lib/libnvmf/nvmf_host.c
104
strerror(errno));
lib/libnvmf/nvmf_host.c
124
strerror(errno));
lib/libnvmf/nvmf_host.c
310
errno = EINVAL;
lib/libnvmf/nvmf_host.c
333
errno = EINVAL;
lib/libnvmf/nvmf_host.c
355
return (errno);
lib/libnvmf/nvmf_host.c
401
errno = EINVAL;
lib/libnvmf/nvmf_host.c
422
return (errno);
lib/libnvmf/nvmf_host.c
456
return (errno);
lib/libnvmf/nvmf_host.c
480
return (errno);
lib/libnvmf/nvmf_host.c
506
return (errno);
lib/libnvmf/nvmf_host.c
556
return (errno);
lib/libnvmf/nvmf_host.c
608
return (errno);
lib/libnvmf/nvmf_host.c
756
return (errno);
lib/libnvmf/nvmf_host.c
891
error = errno;
lib/libnvmf/nvmf_host.c
902
error = errno;
lib/libnvmf/nvmf_host.c
922
error = errno;
lib/libnvmf/nvmf_host.c
927
error = errno;
lib/libnvmf/nvmf_host.c
943
error = errno;
lib/libnvmf/nvmf_host.c
948
error = errno;
lib/libnvmf/nvmf_host.c
965
return (errno);
lib/libnvmf/nvmf_host.c
970
error = errno;
lib/libnvmf/nvmf_tcp.c
1158
return (errno);
lib/libnvmf/nvmf_tcp.c
160
return (errno);
lib/libnvmf/nvmf_tcp.c
176
return (errno);
lib/libnvmf/nvmf_tcp.c
299
return (errno);
lib/libnvmf/nvmf_transport.c
31
errno = EINVAL;
lib/libopenbsd/imsg-buffer.c
163
if (errno == EINTR)
lib/libopenbsd/imsg-buffer.c
165
if (errno == ENOBUFS)
lib/libopenbsd/imsg-buffer.c
166
errno = EAGAIN;
lib/libopenbsd/imsg-buffer.c
171
errno = 0;
lib/libopenbsd/imsg-buffer.c
264
if (errno == EINTR)
lib/libopenbsd/imsg-buffer.c
266
if (errno == ENOBUFS)
lib/libopenbsd/imsg-buffer.c
267
errno = EAGAIN;
lib/libopenbsd/imsg-buffer.c
272
errno = 0;
lib/libopenbsd/imsg-buffer.c
77
errno = ERANGE;
lib/libopenbsd/imsg.c
136
errno = ERANGE;
lib/libopenbsd/imsg.c
218
errno = ERANGE;
lib/libopenbsd/imsg.c
77
errno = EAGAIN;
lib/libopenbsd/imsg.c
83
if (errno == EINTR)
lib/libpam/modules/pam_exec/pam_exec.c
392
if (errno == EAGAIN)
lib/libpam/modules/pam_exec/pam_exec.c
412
if (errno == EINTR)
lib/libpam/modules/pam_exec/pam_exec.c
441
serrno = errno;
lib/libpam/modules/pam_exec/pam_exec.c
458
errno = serrno;
lib/libpam/modules/pam_krb5/pam_krb5.c
599
PAM_LOG("Error chown(): %s", strerror(errno));
lib/libpam/modules/pam_krb5/pam_krb5.c
607
PAM_LOG("Error chmod(): %s", strerror(errno));
lib/libpam/modules/pam_ksu/pam_ksu.c
239
return (errno);
lib/libpam/modules/pam_ksu/pam_ksu.c
246
return (errno);
lib/libpam/modules/pam_ksu/pam_ksu.c
257
return (errno);
lib/libpam/modules/pam_ksu/pam_ksu.c
293
return (errno);
lib/libpam/modules/pam_login_access/login_access.c
102
} else if (errno != ENOENT) {
lib/libpam/modules/pam_login_access/login_access.c
185
errno = 0;
lib/libpam/modules/pam_login_access/login_access.c
187
if (errno != 0)
lib/libpam/modules/pam_login_access/login_access.c
188
syslog(LOG_ERR, "getgrnam() failed for %s: %s", username, strerror(errno));
lib/libpam/modules/pam_ssh/pam_ssh.c
437
(waitpid(pid, &status, 0) == -1 && errno != ECHILD))
lib/libpam/modules/pam_xdg/pam_xdg.c
106
PAM_VERBOSE_ERROR("unlinkat: %s/%s (%d)", RUNTIME_DIR_PREFIX, user, errno);
lib/libpam/modules/pam_xdg/pam_xdg.c
115
PAM_VERBOSE_ERROR("fstatat %s/%s failed (%d)", RUNTIME_DIR_PREFIX, user, errno);
lib/libpam/modules/pam_xdg/pam_xdg.c
245
PAM_VERBOSE_ERROR("fstatat %s/%s failed (%d)", RUNTIME_DIR_PREFIX, user, errno);
lib/libpathconv/abs2rel.c
107
errno = ERANGE;
lib/libpathconv/abs2rel.c
56
errno = EINVAL;
lib/libpathconv/rel2abs.c
128
errno = ERANGE;
lib/libpathconv/rel2abs.c
57
errno = EINVAL;
lib/libpfctl/libpfctl.c
1089
error = errno;
lib/libpfctl/libpfctl.c
168
if (ret == -1 && errno == ENOSPC) {
lib/libpfctl/libpfctl.c
184
ret = errno;
lib/libpfctl/libpfctl.c
2212
return (errno);
lib/libpfctl/libpfctl.c
2215
return (errno);
lib/libpfctl/libpfctl.c
2251
return (errno);
lib/libpfctl/libpfctl.c
2254
return (errno);
lib/libpfctl/libpfctl.c
2280
return (errno);
lib/libpfctl/libpfctl.c
2283
return (errno);
lib/libpfctl/libpfctl.c
2297
return (errno);
lib/libpfctl/libpfctl.c
2343
return (errno);
lib/libpfctl/libpfctl.c
2368
ret = errno;
lib/libpfctl/libpfctl.c
2410
return (errno);
lib/libpfctl/libpfctl.c
2577
return (errno);
lib/libpfctl/libpfctl.c
2718
return (errno);
lib/libpfctl/libpfctl.c
2746
return (errno);
lib/libpfctl/libpfctl.c
3820
errno = EINVAL;
lib/libpjdlog/pjdlog.c
130
strerror(errno));
lib/libpjdlog/pjdlog.c
142
strerror(errno));
lib/libpjdlog/pjdlog.c
188
strerror(errno));
lib/libpjdlog/pjdlog.c
204
strerror(errno));
lib/libpjdlog/pjdlog.c
233
saved_errno = errno;
lib/libpjdlog/pjdlog.c
259
errno = saved_errno;
lib/libpjdlog/pjdlog.c
269
saved_errno = errno;
lib/libpjdlog/pjdlog.c
277
errno = saved_errno;
lib/libpjdlog/pjdlog.c
302
saved_errno = errno;
lib/libpjdlog/pjdlog.c
314
errno = saved_errno;
lib/libpjdlog/pjdlog.c
415
saved_errno = errno;
lib/libpjdlog/pjdlog.c
420
errno = saved_errno;
lib/libpjdlog/pjdlog.c
667
saved_errno = errno;
lib/libpjdlog/pjdlog.c
687
errno = saved_errno;
lib/libpjdlog/pjdlog.h
118
pjdlog_common((loglevel), 0, (errno), __VA_ARGS__)
lib/libpjdlog/pjdlog.h
120
pjdlogv_common((loglevel), 0, (errno), (fmt), (ap))
lib/libpjdlog/pjdlog.h
124
(errno), (fmt), (ap))
lib/libpjdlog/pjdlog.h
126
_pjdlog_exit(__func__, __FILE__, __LINE__, (exitcode), (errno), \
lib/libpjdlog/pjdlog.h
150
_pjdlog_abort(__func__, __FILE__, __LINE__, errno, \
lib/libpmc/libpmc.c
1156
errno = EINVAL;
lib/libpmc/libpmc.c
1175
errno = pmc_pmu_pmcallocate(ctrname, &pmc_config);
lib/libpmc/libpmc.c
1176
if (errno == 0)
lib/libpmc/libpmc.c
1178
if (errno == EOPNOTSUPP)
lib/libpmc/libpmc.c
1209
errno = EINVAL;
lib/libpmc/libpmc.c
1227
errno = EINVAL;
lib/libpmc/libpmc.c
1235
errno = EINVAL;
lib/libpmc/libpmc.c
1293
errno = ENXIO;
lib/libpmc/libpmc.c
1427
errno = EINVAL;
lib/libpmc/libpmc.c
1516
errno = EPROGMISMATCH;
lib/libpmc/libpmc.c
1593
errno = ENXIO;
lib/libpmc/libpmc.c
1615
errno = ENXIO;
lib/libpmc/libpmc.c
1708
errno = ENXIO;
lib/libpmc/libpmc.c
1726
errno = EINVAL;
lib/libpmc/libpmc.c
1743
errno = EINVAL;
lib/libpmc/libpmc.c
1756
errno = EINVAL;
lib/libpmc/libpmc.c
1767
errno = EINVAL;
lib/libpmc/libpmc.c
1860
errno = EINVAL;
lib/libpmc/libpmc.c
1871
errno = EINVAL;
lib/libpmc/libpmc.c
1882
errno = EINVAL;
lib/libpmc/libpmc.c
1890
errno = ENXIO;
lib/libpmc/libpmc.c
1901
errno = ENXIO;
lib/libpmc/libpmc.c
1906
errno = EINVAL;
lib/libpmc/libpmc.c
2024
errno = EINVAL;
lib/libpmc/pmclog.c
501
else if (errno != EAGAIN) /* not restartable */
lib/libpmc/pmu-events/jevents.c
1037
pr_info("%s: Error %s opening %s\n", prog, strerror(errno),
lib/libpmc/pmu-events/jevents.c
1391
prog, output_file, strerror(errno));
lib/libpmc/pmu-events/jevents.c
1512
errno = EINVAL;
lib/libpmc/pmu-events/jevents.c
1571
sverrno = errno;
lib/libpmc/pmu-events/jevents.c
1575
errno = sverrno;
lib/libpmc/pmu-events/jevents.c
334
strerror(errno), bname);
lib/libpmc/pmu-events/jevents.c
924
strerror(errno), fname);
lib/libpmc/pmu-events/json.c
54
strerror(errno));
lib/libpmcstat/libpmcstat_logging.c
475
errstr = strerror(errno);
lib/libpmcstat/libpmcstat_logging.c
480
errstr = strerror(errno);
lib/libpmcstat/libpmcstat_logging.c
489
errstr = strerror(errno);
lib/libpmcstat/libpmcstat_logging.c
496
errstr = strerror(errno);
lib/libpmcstat/libpmcstat_logging.c
510
errstr = strerror(errno);
lib/libpmcstat/libpmcstat_process.c
351
else if (errno != ESRCH)
lib/libproc/proc_bkpt.c
104
errno = ENOENT;
lib/libproc/proc_bkpt.c
165
errno = ENOENT;
lib/libproc/proc_create.c
102
error = errno;
lib/libproc/proc_create.c
146
error = errno;
lib/libproc/proc_create.c
153
error = errno;
lib/libproc/proc_create.c
192
error = errno;
lib/libproc/proc_create.c
211
error = errno;
lib/libproc/proc_regs.c
100
errno = ENOENT;
lib/libproc/proc_regs.c
48
errno = ENOENT;
lib/libproc/proc_util.c
158
if (errno != EINTR)
lib/libproc/proc_util.c
97
if (ptrace(request, pid, 0, 0) != 0 && errno == EBUSY) {
lib/libprocstat/libprocstat.c
1804
if (error != 0 && errno != ESRCH && errno != EPERM)
lib/libprocstat/libprocstat.c
2107
if (error != 0 && errno != ESRCH && errno != EPERM)
lib/libprocstat/libprocstat.c
2187
if (error < 0 && errno != ESRCH) {
lib/libprocstat/libprocstat.c
2204
errno = EINVAL;
lib/libprocstat/libprocstat.c
2250
if (error != 0 && errno != ESRCH)
lib/libprocstat/libprocstat.c
2330
if (error != 0 && errno != ESRCH)
lib/libprocstat/libprocstat.c
2420
if (errno != ESRCH && errno != EPERM)
lib/libprocstat/libprocstat.c
2421
warn("sysctl: kern.proc.auxv: %d: %d", pid, errno);
lib/libprocstat/libprocstat.c
2478
if (errno != ESRCH && errno != EPERM)
lib/libprocstat/libprocstat.c
2479
warn("sysctl: kern.proc.auxv: %d: %d", pid, errno);
lib/libprocstat/libprocstat.c
2587
if (error < 0 && errno != ESRCH && errno != EPERM && errno != ENOENT) {
lib/libprocstat/libprocstat.c
2591
if (error == -1 && errno == ENOENT) {
lib/libprocstat/libprocstat.c
2604
errno != ENOMEM) {
lib/libprocstat/libprocstat.c
2848
pid, kqfd, strerror(errno));
lib/libprocstat/libprocstat.c
2861
pid, kqfd, strerror(errno));
lib/libprocstat/libprocstat.c
287
if (error < 0 && errno != EPERM) {
lib/libprocstat/libprocstat.c
304
} while (error < 0 && errno == ENOMEM && olen == len);
lib/libprocstat/libprocstat.c
305
if (error < 0 && errno != EPERM) {
lib/libprocstat/libprocstat.c
879
if (files == NULL && errno != EPERM) {
lib/libradius/radlib.c
1001
generr(h, "Cannot create socket: %s", strerror(errno));
lib/libradius/radlib.c
1011
generr(h, "bind: %s", strerror(errno));
lib/libradius/radlib.c
1259
generr(h, "select: %s", strerror(errno));
lib/libradius/radlib.c
510
generr(h, "Cannot open \"%s\": %s", path, strerror(errno));
lib/libradius/radlib.c
698
generr(h, "recvfrom: %s", strerror(errno));
lib/libradius/radlib.c
748
generr(h, "Cannot create socket: %s", strerror(errno));
lib/libradius/radlib.c
758
generr(h, "bind: %s", strerror(errno));
lib/libradius/radlib.c
809
generr(h, "recvfrom: %s", strerror(errno));
lib/libradius/radlib.c
853
generr(h, "sendto: %s", strerror(errno));
lib/librss/librss.c
222
errno = EINVAL;
lib/librss/librss.c
232
errno = ENOTSUP;
lib/librt/aio.c
118
err = errno;
lib/librt/aio.c
122
errno = err;
lib/librt/aio.c
164
err = errno;
lib/librt/aio.c
168
errno = err;
lib/librt/aio.c
186
errno = EINVAL;
lib/librt/aio.c
214
err = errno;
lib/librt/aio.c
218
errno = err;
lib/librt/aio.c
240
err = errno;
lib/librt/aio.c
244
errno = err;
lib/librt/aio.c
77
errno = EINVAL;
lib/librt/aio.c
83
errno = EAGAIN;
lib/librt/mq.c
142
errno = EINVAL;
lib/librt/mq.c
148
errno = EAGAIN;
lib/librt/mq.c
85
err = errno;
lib/librt/mq.c
87
errno = err;
lib/librt/timer.c
105
errno = EINVAL;
lib/librt/timer.c
112
errno = EAGAIN;
lib/librt/timer.c
119
err = errno;
lib/librt/timer.c
122
errno = err;
lib/librt/timer.c
147
err = errno;
lib/librt/timer.c
149
errno = err;
lib/librt/timer.c
93
err = errno;
lib/librt/timer.c
95
errno = err;
lib/libsbuf/tests/sbuf_core_test.c
126
ATF_CHECK_EQ_MSG(EDEADLK, errno,
lib/libsbuf/tests/sbuf_core_test.c
139
strerror(errno));
lib/libsbuf/tests/sbuf_core_test.c
157
strerror(errno));
lib/libsbuf/tests/sbuf_core_test.c
176
"sbuf_finish failed: %s", strerror(errno));
lib/libsbuf/tests/sbuf_core_test.c
200
strerror(errno));
lib/libsbuf/tests/sbuf_core_test.c
233
strerror(errno));
lib/libsbuf/tests/sbuf_core_test.c
53
strerror(errno));
lib/libsbuf/tests/sbuf_core_test.c
64
strerror(errno));
lib/libsbuf/tests/sbuf_core_test.c
74
strerror(errno));
lib/libsbuf/tests/sbuf_core_test.c
91
strerror(errno));
lib/libsbuf/tests/sbuf_core_test.c
96
strerror(errno));
lib/libsbuf/tests/sbuf_stdio_test.c
125
strerror(errno));
lib/libsbuf/tests/sbuf_stdio_test.c
135
strerror(errno));
lib/libsbuf/tests/sbuf_stdio_test.c
154
strerror(errno));
lib/libsbuf/tests/sbuf_stdio_test.c
167
strerror(errno));
lib/libsbuf/tests/sbuf_stdio_test.c
185
strerror(errno));
lib/libsbuf/tests/sbuf_stdio_test.c
195
strerror(errno));
lib/libsbuf/tests/sbuf_stdio_test.c
68
strerror(errno));
lib/libsbuf/tests/sbuf_stdio_test.c
95
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
113
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
132
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
151
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
168
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
187
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
204
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
222
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
236
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
253
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
270
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
76
strerror(errno));
lib/libsbuf/tests/sbuf_string_test.c
95
strerror(errno));
lib/libsdp/search.c
171
} while (len < 0 && errno == EINTR);
lib/libsdp/search.c
174
ss->error = errno;
lib/libsdp/search.c
186
} while (len < 0 && errno == EINTR);
lib/libsdp/search.c
189
ss->error = errno;
lib/libsdp/service.c
146
} while (len < 0 && errno == EINTR);
lib/libsdp/service.c
149
ss->error = errno;
lib/libsdp/service.c
193
} while (len < 0 && errno == EINTR);
lib/libsdp/service.c
196
ss->error = errno;
lib/libsdp/service.c
212
} while (len < 0 && errno == EINTR);
lib/libsdp/service.c
215
ss->error = errno;
lib/libsdp/service.c
88
} while (len < 0 && errno == EINTR);
lib/libsdp/service.c
91
ss->error = errno;
lib/libsdp/session.c
119
ss->error = errno;
lib/libsdp/session.c
131
ss->error = errno;
lib/libsdp/session.c
200
ss->error = errno;
lib/libsdp/session.c
59
ss->error = errno;
lib/libsdp/session.c
71
ss->error = errno;
lib/libsdp/session.c
78
ss->error = errno;
lib/libsdp/session.c
84
ss->error = errno;
lib/libsdp/session.c
95
ss->error = errno;
lib/libstdbuf/stdbuf.c
71
errno = 0;
lib/libstdbuf/stdbuf.c
73
if (errno == EINVAL || errno == ERANGE || unit == bufmode)
lib/libsys/__error.c
36
__sym_compat(errno, __libsys_errno, FBSD_1.0);
lib/libsys/_umtx_op_err.c
37
return (errno);
lib/libsys/clock_gettime.c
51
errno = error;
lib/libsys/getpagesizes.c
55
errno = EINVAL;
lib/libsys/gettimeofday.c
47
errno = error;
lib/libsys/pdrfork_thread_gen.c
25
errno = EOPNOTSUPP;
lib/libsys/ptrace.c
43
errno = 0;
lib/libsys/recvmmsg.c
57
errno = EBADF;
lib/libsys/recvmmsg.c
61
errno = ETIMEDOUT;
lib/libsys/rfork_thread_gen.c
31
errno = EOPNOTSUPP;
lib/libsys/x86/pkru.c
50
errno = EOPNOTSUPP;
lib/libsys/x86/pkru.c
60
errno = EINVAL;
lib/libsys/x86/pkru.c
81
errno = EOPNOTSUPP;
lib/libsys/x86/pkru.c
91
errno = EINVAL;
lib/libtacplus/taclib.c
243
generr(h, "Cannot create socket: %s", strerror(errno));
lib/libtacplus/taclib.c
249
strerror(errno));
lib/libtacplus/taclib.c
258
if (errno == EINPROGRESS) {
lib/libtacplus/taclib.c
273
generr(h, "select: %s", strerror(errno));
lib/libtacplus/taclib.c
290
if (errno != ENOTCONN) {
lib/libtacplus/taclib.c
291
generr(h, "getpeername: %s", strerror(errno));
lib/libtacplus/taclib.c
300
errno = err;
lib/libtacplus/taclib.c
302
generr(h, "connect: %s", strerror(errno));
lib/libtacplus/taclib.c
498
if (errno != EAGAIN) {
lib/libtacplus/taclib.c
500
strerror(errno));
lib/libtacplus/taclib.c
516
strerror(errno));
lib/libtacplus/taclib.c
650
if (errno != EAGAIN) {
lib/libtacplus/taclib.c
652
strerror(errno));
lib/libtacplus/taclib.c
668
strerror(errno));
lib/libtacplus/taclib.c
806
generr(h, "Cannot open \"%s\": %s", path, strerror(errno));
lib/libthr/arch/amd64/amd64/thr_machdep.c
42
if (error != 0 && errno == ESRCH) {
lib/libthr/thread/thr_affinity.c
51
error = errno;
lib/libthr/thread/thr_affinity.c
57
error = errno;
lib/libthr/thread/thr_affinity.c
74
error = errno;
lib/libthr/thread/thr_affinity.c
80
error = errno;
lib/libthr/thread/thr_attr.c
156
error = errno;
lib/libthr/thread/thr_attr.c
564
return (errno);
lib/libthr/thread/thr_create.c
193
ret = errno;
lib/libthr/thread/thr_create.c
221
ret = errno;
lib/libthr/thread/thr_exit.c
191
lineno, fname, errno);
lib/libthr/thread/thr_fork.c
166
errno = EDOOFUS;
lib/libthr/thread/thr_fork.c
219
errno = EDOOFUS;
lib/libthr/thread/thr_fork.c
225
errsave = errno;
lib/libthr/thread/thr_fork.c
280
errsave = errno;
lib/libthr/thread/thr_fork.c
306
errno = errsave;
lib/libthr/thread/thr_getcpuclockid.c
47
return (errno);
lib/libthr/thread/thr_getprio.c
50
errno = ret;
lib/libthr/thread/thr_info.c
76
res = errno;
lib/libthr/thread/thr_info.c
85
res = errno;
lib/libthr/thread/thr_mutexattr.c
117
errno = EINVAL;
lib/libthr/thread/thr_mutexattr.c
132
errno = EINVAL;
lib/libthr/thread/thr_setprio.c
60
ret = errno;
lib/libthr/thread/thr_setschedparam.c
70
ret = errno;
lib/libthr/thread/thr_sig.c
214
err = errno;
lib/libthr/thread/thr_sig.c
217
errno = err;
lib/libthr/thread/thr_sig.c
235
err = errno;
lib/libthr/thread/thr_sig.c
242
errno = err;
lib/libthr/thread/thr_sig.c
321
err = errno;
lib/libthr/thread/thr_sig.c
331
errno = err;
lib/libthr/thread/thr_sig.c
597
errno = EINVAL;
lib/libthr/thread/thr_sig.c
630
err = errno;
lib/libthr/thread/thr_sig.c
635
err = errno;
lib/libthr/thread/thr_sig.c
652
errno = err;
lib/libthr/thread/thr_sig.c
681
return (errno);
lib/libthr/thread/thr_sig.c
800
errno = EINVAL;
lib/libthr/thread/thr_sig.c
816
errno = EINVAL;
lib/libthr/thread/thr_sigqueue.c
65
ret = errno;
lib/libthr/thread/thr_sigqueue.c
73
ret = errno;
lib/libufs/cgroup.c
206
switch (errno) {
lib/libufs/cgroup.c
214
ERROR(disk, strerror(errno));
lib/libufs/cgroup.c
232
errno = EIO;
lib/libufs/cgroup.c
237
errno = EIO;
lib/libufs/cgroup.c
249
errno = EINTEGRITY;
lib/libufs/cgroup.c
279
switch (errno) {
lib/libufs/cgroup.c
284
ERROR(disk, strerror(errno));
lib/libufs/cgroup.c
293
errno = EDOOFUS;
lib/libufs/libufs.h
100
if (errno != 0)
lib/libufs/libufs.h
101
fprintf(stderr, ": %s", strerror(errno));
lib/libufs/sblock.c
124
errno = EIO;
lib/libufs/sblock.c
158
if ((errno = sbput(disk->d_fd, fs, all ? fs->fs_ncg : 0)) != 0) {
lib/libufs/sblock.c
159
switch (errno) {
lib/libufs/sblock.c
165
errno = EIO;
lib/libugidfw/ugidfw.c
1129
strerror(errno));
lib/libugidfw/ugidfw.c
1150
snprintf(errstr, buflen, "%s", strerror(errno));
lib/libugidfw/ugidfw.c
1172
snprintf(errstr, buflen, "%s", strerror(errno));
lib/libugidfw/ugidfw.c
1203
strerror(errno));
lib/libugidfw/ugidfw.c
1211
if (error == -1 && errno == ENOENT)
lib/libugidfw/ugidfw.c
1215
rulenum, strerror(errno));
lib/libugidfw/ugidfw.c
1219
MIB ".rules", rulenum, strerror(errno));
lib/libugidfw/ugidfw.c
1241
strerror(errno));
lib/libugidfw/ugidfw.c
1251
rulenum, strerror(errno));
lib/libugidfw/ugidfw.c
1273
strerror(errno));
lib/libugidfw/ugidfw.c
1283
rulenum, strerror(errno));
lib/libugidfw/ugidfw.c
1306
strerror(errno));
lib/libugidfw/ugidfw.c
1313
strerror(errno));
lib/libugidfw/ugidfw.c
1323
rule_slots, strerror(errno));
lib/libugidfw/ugidfw.c
626
strerror(errno));
lib/libugidfw/ugidfw.c
791
spec, strerror(errno));
lib/libulog/ulog_login_pseudo.c
71
} while (wpid == -1 && errno == EINTR);
lib/libusb/libusb10.c
216
errno = 0;
lib/libusb/libusb10.c
218
if (errno == 0 && *ep == '\0') {
lib/libusb/libusb10_hotplug.c
143
if (errno == EBADF)
lib/libusb/libusb10_hotplug.c
151
if (len == 0 || (len < 0 && errno != EWOULDBLOCK))
lib/libusb/libusb10_io.c
145
if ((err == -1) && (errno == EINTR))
lib/libusb/libusb20_ugen20.c
1019
if (errno == EINVAL) {
lib/libusb/libusb20_ugen20.c
1045
if (errno == ENOMEM) {
lib/libusb/libusb20_ugen20.c
1069
if (errno == EINVAL) {
lib/libusb/libusb20_ugen20.c
756
if (errno == EBUSY) {
lib/libusb/libusb20_ugen20.c
940
if (errno == EPERM) {
lib/libusb/libusb20_ugen20.c
992
if (errno == EINVAL) {
lib/libusbhid/descr.c
162
errno = ENOMEM;
lib/libutil++/stringf.cc
21
errno = ENOMEM;
lib/libutil++/stringf.cc
24
errno = EFBIG;
lib/libutil++/tests/pidfile_test.cc
36
ATF_REQUIRE_EQ(EDOOFUS, errno);
lib/libutil++/tests/up_test.cc
27
ATF_REQUIRE_EQ(EBADF, errno);
lib/libutil/_secure_path.c
50
if (errno == ENOENT) /* special case */
lib/libutil/expand_number.c
115
errno = EINVAL;
lib/libutil/expand_number.c
124
errno = ERANGE;
lib/libutil/expand_number.c
150
errno = ERANGE;
lib/libutil/expand_number.c
156
errno = ERANGE;
lib/libutil/expand_number.c
181
errno = ERANGE;
lib/libutil/expand_number.c
68
errno = EINVAL;
lib/libutil/expand_number.c
72
serrno = errno;
lib/libutil/expand_number.c
73
errno = 0;
lib/libutil/expand_number.c
75
if (errno != 0)
lib/libutil/expand_number.c
77
errno = serrno;
lib/libutil/flopen.c
102
serrno = errno;
lib/libutil/flopen.c
104
errno = serrno;
lib/libutil/flopen.c
113
serrno = errno;
lib/libutil/flopen.c
115
errno = serrno;
lib/libutil/flopen.c
77
serrno = errno;
lib/libutil/flopen.c
79
errno = serrno;
lib/libutil/flopen.c
89
serrno = errno;
lib/libutil/flopen.c
91
errno = serrno;
lib/libutil/getlocalbase.c
72
if (errno != ENOMEM)
lib/libutil/gr_util.c
105
if (errno == EWOULDBLOCK) {
lib/libutil/gr_util.c
140
errno = ENAMETOOLONG;
lib/libutil/gr_util.c
275
errno = EINVAL; /* hack */
lib/libutil/gr_util.c
308
errno = ENOENT;
lib/libutil/gr_util.c
366
serrno = errno;
lib/libutil/gr_util.c
373
errno = serrno;
lib/libutil/gr_util.c
65
errno = ENAMETOOLONG;
lib/libutil/gr_util.c
76
errno = ENAMETOOLONG;
lib/libutil/gr_util.c
81
errno = ENAMETOOLONG;
lib/libutil/kinfo_getvmobject.c
55
if (errno != ENOMEM) {
lib/libutil/kld.c
73
if (kldload(name) == -1 && errno != EEXIST)
lib/libutil/login_cap.c
580
errno = ERANGE;
lib/libutil/login_cap.c
606
errno = ERANGE;
lib/libutil/login_cap.c
616
errno = ERANGE;
lib/libutil/login_cap.c
640
errno = 0;
lib/libutil/login_cap.c
664
errno = 0;
lib/libutil/login_cap.c
671
if (ep == NULL || ep == res || errno != 0) {
lib/libutil/login_cap.c
675
errno = ERANGE;
lib/libutil/login_cap.c
705
if (errno)
lib/libutil/login_cap.c
751
errno = 0;
lib/libutil/login_cap.c
753
if (ep == NULL || ep == res || errno != 0) {
lib/libutil/login_cap.c
756
errno = ERANGE;
lib/libutil/login_cap.c
837
errno = 0;
lib/libutil/login_cap.c
844
if (ep == NULL || ep == res || errno != 0) {
lib/libutil/login_cap.c
848
errno = ERANGE;
lib/libutil/login_cap.c
875
if (errno)
lib/libutil/login_class.c
345
syslog(LOG_ERR, "cpuset(): %s", strerror(errno));
lib/libutil/login_class.c
352
strerror(errno));
lib/libutil/login_class.c
603
error = errno;
lib/libutil/mntopts.c
128
errno = ENOTDIR;
lib/libutil/mntopts.c
142
errno = ENOTDIR;
lib/libutil/mntopts.c
261
mntp->f_mntonname, strerror(errno), errmsg);
lib/libutil/pidfile.c
111
errno = pidfile_read_impl(dirfd, filename, pidptr);
lib/libutil/pidfile.c
112
if (errno != EAGAIN || --count == 0)
lib/libutil/pidfile.c
116
if (errno == EAGAIN)
lib/libutil/pidfile.c
118
return (errno);
lib/libutil/pidfile.c
142
errno = ENAMETOOLONG;
lib/libutil/pidfile.c
155
errno = ENAMETOOLONG;
lib/libutil/pidfile.c
161
error = errno;
lib/libutil/pidfile.c
163
errno = error;
lib/libutil/pidfile.c
176
if (errno == EWOULDBLOCK) {
lib/libutil/pidfile.c
178
errno = EEXIST;
lib/libutil/pidfile.c
180
errno = pidfile_read(dirfd,
lib/libutil/pidfile.c
182
if (errno == 0 || errno == EAGAIN)
lib/libutil/pidfile.c
183
errno = EEXIST;
lib/libutil/pidfile.c
186
error = errno;
lib/libutil/pidfile.c
189
errno = error;
lib/libutil/pidfile.c
202
cap_rights_init(&caprights, CAP_UNLINKAT)) < 0 && errno != ENOSYS) {
lib/libutil/pidfile.c
208
errno != ENOSYS) {
lib/libutil/pidfile.c
220
error = errno;
lib/libutil/pidfile.c
225
errno = error;
lib/libutil/pidfile.c
239
errno = pidfile_verify(pfh);
lib/libutil/pidfile.c
240
if (errno != 0) {
lib/libutil/pidfile.c
252
error = errno;
lib/libutil/pidfile.c
254
errno = error;
lib/libutil/pidfile.c
260
error = errno;
lib/libutil/pidfile.c
262
errno = error;
lib/libutil/pidfile.c
276
errno = error;
lib/libutil/pidfile.c
281
error = errno;
lib/libutil/pidfile.c
283
error = errno;
lib/libutil/pidfile.c
287
errno = error;
lib/libutil/pidfile.c
300
errno = error;
lib/libutil/pidfile.c
305
if (errno == EDEADLK)
lib/libutil/pidfile.c
307
error = errno;
lib/libutil/pidfile.c
310
error = errno;
lib/libutil/pidfile.c
312
error = errno;
lib/libutil/pidfile.c
318
errno = error;
lib/libutil/pidfile.c
336
errno = EDOOFUS;
lib/libutil/pidfile.c
356
errno = ENOENT;
lib/libutil/pidfile.c
357
return (errno);
lib/libutil/pidfile.c
359
if (errno != EWOULDBLOCK) {
lib/libutil/pidfile.c
360
return (errno);
lib/libutil/pidfile.c
362
errno = pidfile_read(AT_FDCWD, pathp, &pid);
lib/libutil/pidfile.c
363
if (errno != 0)
lib/libutil/pidfile.c
364
return (errno);
lib/libutil/pidfile.c
374
return (errno);
lib/libutil/pidfile.c
69
return (errno);
lib/libutil/pidfile.c
83
return (errno);
lib/libutil/pidfile.c
86
error = errno; /* Remember errno in case close() wants to change it. */
lib/libutil/pw_util.c
109
errno = ENAMETOOLONG;
lib/libutil/pw_util.c
114
errno = ENAMETOOLONG;
lib/libutil/pw_util.c
178
if (errno == EWOULDBLOCK) {
lib/libutil/pw_util.c
220
errno = ENAMETOOLONG;
lib/libutil/pw_util.c
271
errno = 0;
lib/libutil/pw_util.c
321
if (errno == EINTR)
lib/libutil/pw_util.c
359
serrno = errno;
lib/libutil/pw_util.c
372
errno = serrno;
lib/libutil/pw_util.c
538
errno = EINVAL; /* hack */
lib/libutil/pw_util.c
571
errno = ENOENT;
lib/libutil/pw_util.c
98
errno = ENAMETOOLONG;
lib/libutil/quotafile.c
143
errno = 0;
lib/libutil/quotafile.c
146
errno = EOPNOTSUPP;
lib/libutil/quotafile.c
169
errno = EINVAL;
lib/libutil/quotafile.c
200
serrno = errno;
lib/libutil/quotafile.c
205
errno = serrno;
lib/libutil/quotafile.c
351
errno = EINVAL;
lib/libutil/quotafile.c
419
errno = EBADF;
lib/libutil/quotafile.c
447
errno = EINVAL;
lib/libutil/quotafile.c
467
errno = EBADF;
lib/libutil/quotafile.c
505
errno = EINVAL;
lib/libutil/quotafile.c
528
errno = EBADF;
lib/libutil/quotafile.c
533
errno = EINVAL;
lib/libutil/quotafile.c
538
errno = ENOMEM;
lib/libutil/quotafile.c
550
serrno = errno;
lib/libutil/quotafile.c
561
serrno = errno;
lib/libutil/quotafile.c
581
errno = EINVAL;
lib/libutil/quotafile.c
586
serrno = errno;
lib/libutil/quotafile.c
603
errno = serrno;
lib/libutil/tests/expand_number_test.c
234
error = errno;
lib/libutil/tests/expand_number_test.c
262
ATF_REQUIRE_EQ(ERANGE, errno);
lib/libutil/tests/expand_number_test.c
267
ATF_REQUIRE_EQ(ERANGE, errno);
lib/libutil/tests/expand_number_test.c
275
ATF_REQUIRE_EQ(ERANGE, errno);
lib/libutil/tests/expand_number_test.c
281
ATF_REQUIRE_EQ(ERANGE, errno);
lib/libutil/tests/expand_number_test.c
53
ATF_REQUIRE_MSG(errno == exp_errno,
lib/libutil/tests/expand_number_test.c
54
"String '%s' failed with %d instead of expected %d", str, errno,
lib/libutil/tests/flopen_test.c
101
result = strerror(errno);
lib/libutil/tests/flopen_test.c
127
result = strerror(errno);
lib/libutil/tests/flopen_test.c
159
result = strerror(errno);
lib/libutil/tests/flopen_test.c
163
result = strerror(errno);
lib/libutil/tests/flopen_test.c
54
result = strerror(errno);
lib/libutil/tests/flopen_test.c
74
result = strerror(errno);
lib/libutil/tests/flopen_test.c
79
result = strerror(errno);
lib/libutil/tests/pidfile_test.c
136
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
143
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
148
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
158
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
161
serrno = errno;
lib/libutil/tests/pidfile_test.c
192
serrno = errno;
lib/libutil/tests/pidfile_test.c
195
errno = serrno;
lib/libutil/tests/pidfile_test.c
196
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
210
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
224
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
226
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
275
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
280
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
282
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
285
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
288
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
292
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
294
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
69
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
96
return (strerror(errno));
lib/libutil/tests/pidfile_test.c
98
serrno = errno;
lib/libutil/tests/trimdomain-nodomain_test.c
53
errno = ENAMETOOLONG;
lib/libutil/tests/trimdomain_test.c
53
errno = ENAMETOOLONG;
lib/libutil/uucplock.c
120
errno = err;
lib/libutil/uucplock.c
191
(void)snprintf(errbuf, sizeof(errbuf), fmt, strerror(errno));
lib/libutil/uucplock.c
218
*err = bytes_read ? errno : EINVAL;
lib/libutil/uucplock.c
50
#define GORET(level, val) { err = errno; uuerr = (val); \
lib/libutil/uucplock.c
81
if (errno != EEXIST)
lib/libutil/uucplock.c
96
if (kill(pid_old, 0) == 0 || errno != ESRCH)
lib/libveriexec/veriexec_check.c
108
switch (errno) {
lib/libveriexec/veriexec_check.c
51
return errno;
lib/libveriexec/veriexec_check.c
65
errno = EINVAL;
lib/libveriexec/veriexec_check.c
72
switch (errno) {
lib/libveriexec/veriexec_check.c
90
errno = EINVAL;
lib/libveriexec/veriexec_check.c
98
return errno;
lib/libvmmapi/vmmapi.c
111
errno = ENAMETOOLONG;
lib/libvmmapi/vmmapi.c
1230
__func__, meta->dev_name, errno);
lib/libvmmapi/vmmapi.c
128
error = errno;
lib/libvmmapi/vmmapi.c
130
errno = error;
lib/libvmmapi/vmmapi.c
165
if (vm->fd < 0 && errno == ENOENT) {
lib/libvmmapi/vmmapi.c
181
saved_errno = errno;
lib/libvmmapi/vmmapi.c
186
errno = saved_errno;
lib/libvmmapi/vmmapi.c
311
errno = EEXIST;
lib/libvmmapi/vmmapi.c
404
errno = EINVAL;
lib/libvmmapi/vmmapi.c
424
errno = ENAMETOOLONG;
lib/libvmmapi/vmmapi.c
448
errno = ENAMETOOLONG;
lib/libvmmapi/vmmapi.c
501
errno = EINVAL;
lib/libvmmapi/vmmapi.c
548
errno = EEXIST;
lib/libvmmapi/vmmapi.c
696
errno = EINVAL;
lib/libvmmapi/vmmapi.c
900
errno = ENOMEM;
lib/libypclnt/ypclnt_connect.c
58
"%s", strerror(errno));
lib/libypclnt/ypclnt_passwd.c
161
ypclnt_error(ypclnt, __func__, strerror(errno));
lib/libypclnt/ypclnt_passwd.c
254
ypclnt_error(ypclnt, __func__, strerror(errno));
lib/nss_tacplus/nss_tacplus.c
102
errno = ERANGE;
lib/nss_tacplus/nss_tacplus.c
182
errno = EINVAL;
lib/nss_tacplus/nss_tacplus.c
191
errno = EINVAL;
lib/nss_tacplus/nss_tacplus.c
262
errno = 0;
lib/nss_tacplus/nss_tacplus.c
269
*result = errno;
lib/virtual_oss/bt/bt.c
131
if (errno == EAGAIN || errno == EWOULDBLOCK)
lib/virtual_oss/bt/bt.c
514
DPRINTF("Could not connect to HC: %d\n", errno);
lib/virtual_oss/bt/bt.c
543
DPRINTF("Could not connect: %d\n", errno);
lib/virtual_oss/bt/bt.c
873
} while (xlen < 0 && errno == EAGAIN);
lib/virtual_oss/bt/bt.c
996
} while (xlen < 0 && errno == EAGAIN);
libexec/atf/atf-pytest-wrapper/atf_pytest_wrapper.cpp
210
std::strerror(errno) << std::endl;
libexec/bootpd/bootpd.c
221
errno = 0;
libexec/bootpd/bootpd.c
511
if (errno != EINTR) {
libexec/bootpd/bootpgw/bootpgw.c
190
errno = 0;
libexec/bootpd/bootpgw/bootpgw.c
439
if (errno != EINTR) {
libexec/bootpd/report.c
123
return strerror(errno);
libexec/bootpd/rtmsg.c
141
report(LOG_WARNING, "rtmget: %s", strerror(errno));
libexec/bootpd/rtmsg.c
183
errno = 0;
libexec/bootpd/rtmsg.c
220
if ((errno != ESRCH) && !(errno == EEXIST && cmd == RTM_ADD)){
libexec/bootpd/rtmsg.c
222
strerror(errno));
libexec/bootpd/rtmsg.c
231
strerror(errno));
libexec/bootpd/rtmsg.c
85
report(LOG_ERR, "socket %s", strerror(errno));
libexec/bootpd/tools/bootptest/bootptest.c
290
if (errno == EACCES) {
libexec/comsat/comsat.c
173
dsyslog(LOG_ERR, "%s: %s", tty, strerror(errno));
libexec/comsat/comsat.c
91
if (errno != EINTR)
libexec/comsat/comsat.c
93
errno = 0;
libexec/fingerd/fingerd.c
111
logerr("getpeername: %s", strerror(errno));
libexec/fingerd/fingerd.c
126
logerr("malloc: %s", strerror(errno));
libexec/fingerd/fingerd.c
131
logerr("strdup: %s", strerror(errno));
libexec/fingerd/fingerd.c
179
logerr("pipe: %s", strerror(errno));
libexec/fingerd/fingerd.c
207
logerr("fork: %s", strerror(errno));
libexec/fingerd/fingerd.c
211
logerr("fdopen: %s", strerror(errno));
libexec/flua/lfbsd/lfbsd.c
105
lua_pushstring(L, strerror(errno));
libexec/flua/lfbsd/lfbsd.c
106
lua_pushinteger(L, errno);
libexec/flua/lfbsd/lfbsd.c
112
lua_pushstring(L, strerror(errno));
libexec/flua/lfbsd/lfbsd.c
113
lua_pushinteger(L, errno);
libexec/flua/lfbsd/lfbsd.c
175
if ((r = errno) != EINTR) {
libexec/flua/lfbsd/lfbsd.c
218
r = errno;
libexec/flua/lfs/lfs.c
333
strerror(errno));
libexec/flua/lfs/lfs.c
334
lua_pushinteger(L, errno);
libexec/flua/lfs/lfs.c
386
serrno = errno;
libexec/flua/lfs/lfs.c
414
serrno = errno;
libexec/flua/libfreebsd/kenv/kenv.c
36
lua_pushstring(L, strerror(errno));
libexec/flua/libfreebsd/kenv/kenv.c
37
lua_pushinteger(L, errno);
libexec/flua/libfreebsd/kenv/kenv.c
44
lua_pushstring(L, strerror(errno));
libexec/flua/libfreebsd/kenv/kenv.c
45
lua_pushinteger(L, errno);
libexec/flua/libfreebsd/kenv/kenv.c
51
lua_pushstring(L, strerror(errno));
libexec/flua/libfreebsd/kenv/kenv.c
52
lua_pushinteger(L, errno);
libexec/flua/libfreebsd/kenv/kenv.c
72
if (errno == ENOENT) {
libexec/flua/libfreebsd/kenv/kenv.c
77
lua_pushstring(L, strerror(errno));
libexec/flua/libfreebsd/kenv/kenv.c
78
lua_pushinteger(L, errno);
libexec/flua/libfreebsd/sys/linker/linker.c
32
lua_pushstring(L, strerror(errno));
libexec/flua/libfreebsd/sys/linker/linker.c
33
lua_pushinteger(L, errno);
libexec/flua/libfreebsd/sys/linker/linker.c
54
lua_pushstring(L, strerror(errno));
libexec/flua/libfreebsd/sys/linker/linker.c
55
lua_pushinteger(L, errno);
libexec/flua/libfreebsd/sys/linker/linker.c
62
lua_pushstring(L, strerror(errno));
libexec/flua/libfreebsd/sys/linker/linker.c
63
lua_pushinteger(L, errno);
libexec/flua/libjail/lua_jail.c
116
serrno = errno;
libexec/flua/libjail/lua_jail.c
182
return (luaL_error(L, "malloc: %s", strerror(errno)));
libexec/flua/libjail/lua_jail.c
192
return (luaL_error(L, "malloc params: %s", strerror(errno)));
libexec/flua/libjail/lua_jail.c
392
return (luaL_error(L, "malloc: %s", strerror(errno)));
libexec/flua/libjail/lua_jail.c
490
return (luaL_error(L, "malloc: %s", strerror(errno)));
libexec/flua/libjail/lua_jail.c
606
lua_pushstring(L, strerror(errno));
libexec/flua/libjail/lua_jail.c
637
lua_pushstring(L, strerror(errno));
libexec/flua/modules/lposix.c
143
lua_pushstring(L, strerror(errno));
libexec/flua/modules/lposix.c
144
lua_pushinteger(L, errno);
libexec/flua/modules/lposix.c
169
error = errno;
libexec/flua/modules/lposix.c
203
error = errno;
libexec/flua/modules/lposix.c
259
error = errno;
libexec/flua/modules/lposix.c
293
error = errno;
libexec/flua/modules/lposix.c
346
lua_pushstring(L, strerror(errno));
libexec/flua/modules/lposix.c
347
lua_pushinteger(L, errno);
libexec/flua/modules/lposix.c
374
lua_pushstring(L, strerror(errno));
libexec/flua/modules/lposix.c
375
lua_pushinteger(L, errno);
libexec/flua/modules/lposix.c
403
error = errno;
libexec/flua/modules/lposix.c
415
error = errno; /* Save to avoid clobber by free() */
libexec/flua/modules/lposix.c
443
lua_pushstring(L, strerror(errno));
libexec/flua/modules/lposix.c
444
lua_pushinteger(L, errno);
libexec/flua/modules/lposix.c
467
lua_pushstring(L, strerror(errno));
libexec/flua/modules/lposix.c
468
lua_pushinteger(L, errno);
libexec/flua/modules/lposix.c
534
error = errno;
libexec/flua/modules/lposix.c
80
lua_pushstring(L, strerror(errno));
libexec/flua/modules/lposix.c
81
lua_pushinteger(L, errno);
libexec/getty/main.c
421
saved_errno = errno;
libexec/phttpget/phttpget.c
241
((len == -1) && (errno != EINTR)))
libexec/phttpget/phttpget.c
275
if (errno == EINTR)
libexec/phttpget/phttpget.c
418
if (errno != EAGAIN)
libexec/pkg-serve/pkg-serve.c
125
errno = 0;
libexec/pkg-serve/pkg-serve.c
127
if (errno != 0 || *end != '\0' || end == age) {
libexec/pkg-serve/pkg-serve.c
64
if (cap_rights_limit(fd, &rights) < 0 && errno != ENOSYS)
libexec/pkg-serve/pkg-serve.c
67
if (cap_enter() < 0 && errno != ENOSYS)
libexec/pppoed/pppoed.c
137
if (errno == ENOENT)
libexec/pppoed/pppoed.c
142
epath, strerror(errno));
libexec/pppoed/pppoed.c
207
epath, strerror(errno));
libexec/pppoed/pppoed.c
245
spath, strerror(errno));
libexec/pppoed/pppoed.c
276
_exit(errno);
libexec/pppoed/pppoed.c
451
errno = ret;
libexec/pppoed/pppoed.c
452
if (errno)
libexec/pppoed/pppoed.c
467
fprintf(stderr, "kldload: %s: %s\n", module[f], strerror(errno));
libexec/pppoed/pppoed.c
481
snprintf(nfmt, sizeof nfmt, "%s: %s", fmt, strerror(errno));
libexec/rbootd/bpf.c
91
} while (BpfFd < 0 && (errno == EBUSY || errno == EPERM));
libexec/rbootd/rbootd.c
225
if (errno == EINTR)
libexec/rbootd/rmpproto.c
353
rpl->r_brpl.rmp_retcode = (errno == ENOENT)? RMP_E_NOFILE:
libexec/rbootd/rmpproto.c
354
(errno == EMFILE || errno == ENFILE)? RMP_E_BUSY:
libexec/rpc.rstatd/rstat_proc.c
267
if (errno == ENOENT)
libexec/rpc.rusersd/rusers_proc.c
134
printf("%s: %s\n", ttyname, strerror(errno));
libexec/rtld-elf/libmap.c
115
rtld_strerror(errno));
libexec/rtld-elf/libmap.c
120
rtld_strerror(errno));
libexec/rtld-elf/libmap.c
134
saved_errno = errno;
libexec/rtld-elf/map_object.c
169
path, errno);
libexec/rtld-elf/map_object.c
214
path, rtld_strerror(errno));
libexec/rtld-elf/map_object.c
237
path, rtld_strerror(errno));
libexec/rtld-elf/map_object.c
258
path, rtld_strerror(errno));
libexec/rtld-elf/map_object.c
282
path, rtld_strerror(errno));
libexec/rtld-elf/map_object.c
407
_rtld_error("%s: read error: %s", path, rtld_strerror(errno));
libexec/rtld-elf/map_object.c
427
rtld_strerror(errno));
libexec/rtld-elf/rtld-libc/rtld_libc.h
82
#define strerror(errno) rtld_strerror(errno)
libexec/rtld-elf/rtld.c
1261
_rtld_error("utsname failed: %d", errno);
libexec/rtld-elf/rtld.c
3407
rtld_strerror(errno));
libexec/rtld-elf/rtld.c
3710
rtld_strerror(errno));
libexec/rtld-elf/rtld.c
4605
rtld_strerror(errno));
libexec/rtld-elf/rtld.c
6217
obj->path, prot, rtld_strerror(errno));
libexec/rtld-elf/rtld.c
630
rtld_strerror(errno));
libexec/rtld-elf/rtld.c
6325
errno = ENOENT;
libexec/rtld-elf/rtld.c
6335
if (fd != -1 || errno != ENOENT) {
libexec/rtld-elf/rtld.c
6347
_rtld_error("Cannot open %s: %s", argv0, rtld_strerror(errno));
libexec/rtld-elf/rtld_malloc.c
298
addr, rtld_strerror(errno));
libexec/rtld-elf/rtld_malloc.c
312
rtld_strerror(errno));
libexec/rtld-elf/tests/libpythagoras/pythagoras.c
36
errno = ERANGE;
libexec/talkd/talkd.c
119
int save_errno = errno;
libexec/talkd/talkd.c
124
errno = save_errno;
libexec/talkd/talkd.c
98
if (cc < 0 && errno != EINTR)
libexec/tftpd/tests/functional.c
361
if (server_s < 0 && errno == EAFNOSUPPORT) {
libexec/tftpd/tests/functional.c
366
"socket failed with error %s", strerror(errno));
libexec/tftpd/tests/functional.c
368
"bind failed with error %s", strerror(errno));
libexec/tftpd/tests/functional.c
379
"pidfile_open: %s", strerror(errno));
libexec/tftpd/tftp-file.c
182
int en = errno;
libexec/tftpd/tftp-file.c
184
strerror(errno));
libexec/tftpd/tftp-file.c
208
tftp_log(LOG_ERR, "fclose() failed: %s", strerror(errno));
libexec/tftpd/tftp-file.c
236
int en = errno;
libexec/tftpd/tftp-file.c
238
strerror(errno));
libexec/tftpd/tftp-file.c
262
tftp_log(LOG_ERR, "fclose() failed: %s", strerror(errno));
libexec/tftpd/tftp-io.c
121
block, i, errno, strerror(errno));
libexec/tftpd/tftp-io.c
126
tftp_log(LOG_ERR, "send_packet: %s", strerror(errno));
libexec/tftpd/tftp-io.c
167
tftp_log(LOG_ERR, "send_error: %s", strerror(errno));
libexec/tftpd/tftp-io.c
212
tftp_log(LOG_ERR, "send_wrq: %s", strerror(errno));
libexec/tftpd/tftp-io.c
262
tftp_log(LOG_ERR, "send_rrq: %d %s", n, strerror(errno));
libexec/tftpd/tftp-io.c
308
tftp_log(LOG_INFO, "send_oack: %s", strerror(errno));
libexec/tftpd/tftp-io.c
337
tftp_log(LOG_INFO, "send_ack: %s", strerror(errno));
libexec/tftpd/tftp-io.c
409
tftp_log(LOG_ERR, "receive_packet: %s", strerror(errno));
libexec/tftpd/tftp-transfer.c
128
strerror(errno));
libexec/tftpd/tftp-transfer.c
129
send_error(peer, errno + 100);
libexec/tftpd/tftp-transfer.c
168
strerror(errno));
libexec/tftpd/tftp-transfer.c
169
send_error(peer, errno + 100);
libexec/tftpd/tftp-transfer.c
200
strerror(errno));
libexec/tftpd/tftp-transfer.c
201
send_error(peer, errno + 100);
libexec/tftpd/tftp-transfer.c
391
send_error(peer, errno + 100);
libexec/tftpd/tftp-transfer.c
85
send_error(peer, errno + 100);
libexec/tftpd/tftp-utils.c
153
serrno = errno;
libexec/tftpd/tftp-utils.c
163
errno = serrno;
libexec/tftpd/tftpd.c
224
tftp_log(LOG_ERR, "recvfrom: %s", strerror(errno));
libexec/tftpd/tftpd.c
236
tftp_log(LOG_ERR, "ioctl(FIONBIO): %s", strerror(errno));
libexec/tftpd/tftpd.c
256
tftp_log(LOG_ERR, "fork: %s", strerror(errno));
libexec/tftpd/tftpd.c
347
chroot_dir, strerror(errno));
libexec/tftpd/tftpd.c
351
tftp_log(LOG_ERR, "chdir: %s", strerror(errno));
libexec/tftpd/tftpd.c
395
tftp_log(LOG_ERR, "socket: %s", strerror(errno));
libexec/tftpd/tftpd.c
399
tftp_log(LOG_ERR, "bind: %s", strerror(errno));
libexec/tftpd/tftpd.c
720
return (errno == ENOENT ? ENOTFOUND : EACCESS);
libexec/tftpd/tftpd.c
786
return (errno + 100);
libexec/tftpd/tftpd.c
790
return (errno + 100);
libexec/ypxfr/yp_dbwrite.c
74
switch (errno) {
libexec/ypxfr/ypxfr_main.c
570
strerror(errno));
libexec/ypxfr/ypxfr_main.c
78
yp_error("failed to unlink %s",strerror(errno));
libexec/ypxfr/ypxfrd_getmap.c
128
yp_error("couldn't open %s: %s", tmpname, strerror(errno));
libexec/ypxfr/ypxfrd_getmap.c
61
yp_error("write failed: %s", strerror(errno));
sbin/bsdlabel/bsdlabel.c
1039
errno = 0;
sbin/bsdlabel/bsdlabel.c
1041
if (errno != 0 || *endp != '\0')
sbin/bsdlabel/bsdlabel.c
399
serrno = errno;
sbin/bsdlabel/bsdlabel.c
661
if (errno == EPROCLIM) {
sbin/bsdlabel/bsdlabel.c
665
if (errno != EAGAIN) {
sbin/bsdlabel/bsdlabel.c
764
errno = 0;
sbin/bsdlabel/bsdlabel.c
766
if (errno != 0 || *endp != '\0')
sbin/camcontrol/modeedit.c
1100
if (errno == ENOENT) {
sbin/camcontrol/modeedit.c
1104
} else if (errno == ESRCH) {
sbin/camcontrol/modeedit.c
1164
if (load_format(pagedb_path, 0, 0) != 0 && verbose && errno == ENOENT) {
sbin/camcontrol/modeedit.c
135
errno = code; \
sbin/camcontrol/modeedit.c
913
if (errno == ENOENT) {
sbin/camcontrol/modeedit.c
917
} else if (errno == EINVAL) {
sbin/camcontrol/modeedit.c
921
} else if (errno == ERANGE) {
sbin/camcontrol/modeedit.c
924
} else if (errno == EPERM) {
sbin/camcontrol/progress.c
68
int oerrno = errno;
sbin/camcontrol/progress.c
80
errno = oerrno;
sbin/ccdconfig/ccdconfig.c
227
errno = 0; /* to check for ERANGE */
sbin/ccdconfig/ccdconfig.c
229
if ((errno == ERANGE) || (ileave < 0) || (*cp2 != '\0')) {
sbin/ccdconfig/ccdconfig.c
415
errno = 0; /* to check for ERANGE */
sbin/ccdconfig/ccdconfig.c
417
if ((errno != ERANGE) && (*cp == '\0')) {
sbin/comcontrol/comcontrol.c
76
if (errno != ENOTTY) {
sbin/ddb/ddb_capture.c
139
if (ret < 0 && errno != ENOMEM)
sbin/ddb/ddb_script.c
109
errno = ENOENT;
sbin/ddb/ddb_script.c
154
if (ret < 0 && errno == EINVAL) {
sbin/ddb/ddb_script.c
155
errno = ENOENT;
sbin/ddb/ddb_script.c
75
if (ret < 0 && errno != ENOMEM)
sbin/decryptcore/decryptcore.c
411
if (force && unlink(core) == -1 && errno != ENOENT) {
sbin/decryptcore/decryptcore.c
422
if (unlink(core) == -1 && errno != ENOENT)
sbin/devd/devd.cc
1109
if (errno == EINTR)
sbin/devd/devd.cc
1143
if (errno != EINTR)
sbin/devd/devd.cc
1336
"sysctlbyname(kern.vm_guest) failed: %d\n", errno);
sbin/devd/devd.cc
271
} while (pid == -1 && errno == EINTR);
sbin/devd/devd.cc
540
if (errno == EEXIST)
sbin/devfs/rule.c
198
if (errno != ENOENT)
sbin/devfs/rule.c
224
if (errno != ENOENT)
sbin/devfs/rule.c
240
if (errno != ENOENT)
sbin/devmatch/devmatch.c
81
if (errno == ENOENT)
sbin/dhclient/bpf.c
79
if (errno == EBUSY)
sbin/dhclient/dhclient.c
2876
if (errno != EINTR)
sbin/dhclient/dhclient.c
433
if (errno == EEXIST)
sbin/dhclient/dhclient.c
435
if (errno == EAGAIN)
sbin/dhclient/dispatch.c
225
if (errno == EAGAIN || errno == EINTR) {
sbin/dhclient/dispatch.c
276
strerror(errno));
sbin/dhclient/dispatch.c
333
if (errno != EINVAL) {
sbin/dhclient/dispatch.c
509
if (errno != EINVAL)
sbin/dhclient/dispatch.c
570
strerror(errno));
sbin/dhclient/dispatch.c
579
strerror(errno));
sbin/dhclient/errwarn.c
180
int saved_errno = errno;
sbin/dhclient/privsep.c
60
errno = 0;
sbin/dhclient/privsep.c
63
} while (n == -1 && (errno == EAGAIN || errno == EINTR));
sbin/dhclient/privsep.c
90
} while (n == -1 && (errno == EINTR || errno == EAGAIN));
sbin/dmesg/dmesg.c
180
errno = 0;
sbin/dmesg/dmesg.c
183
errno == 0) {
sbin/dump/dumprmt.c
321
errno = atoi(code + 1);
sbin/dump/itime.c
168
quit("cannot rewrite %s: %s\n", dumpdates, strerror(errno));
sbin/dump/itime.c
177
quit("fseek: %s\n", strerror(errno));
sbin/dump/itime.c
203
quit("%s: %s\n", dumpdates, strerror(errno));
sbin/dump/itime.c
205
quit("ftruncate (%s): %s\n", dumpdates, strerror(errno));
sbin/dump/itime.c
225
quit("%s: %s\n", dumpdates, strerror(errno));
sbin/dump/itime.c
71
if (errno != ENOENT) {
sbin/dump/itime.c
73
strerror(errno));
sbin/dump/itime.c
82
strerror(errno));
sbin/dump/itime.c
88
dumpdates, strerror(errno));
sbin/dump/main.c
382
snapname, strerror(errno));
sbin/dump/main.c
386
snapname, strerror(errno));
sbin/dump/optr.c
290
quit("%s\n", strerror(errno));
sbin/dump/optr.c
311
_PATH_FSTAB, strerror(errno));
sbin/dump/optr.c
322
quit("%s\n", strerror(errno));
sbin/dump/optr.c
78
quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno));
sbin/dump/tape.c
233
quit("error writing command pipe: %s\n", strerror(errno));
sbin/dump/tape.c
541
strerror(errno));
sbin/dump/tape.c
716
i, strerror(errno));
sbin/dump/tape.c
767
quit("worker couldn't reopen disk: %s\n", strerror(errno));
sbin/dump/tape.c
836
if (wrote < 0 && errno == ENOSPC) {
sbin/dump/tape.c
864
quit("error reading command pipe: %s\n", strerror(errno));
sbin/dump/traverse.c
966
disk, strerror(errno), (intmax_t)blkno, size);
sbin/dump/traverse.c
992
disk, strerror(errno), (intmax_t)blkno, dev_bsize);
sbin/dumpfs/dumpfs.c
524
if (errno)
sbin/dumpfs/dumpfs.c
525
return (strerror(errno));
sbin/dumpon/dumpon.c
132
if (errno != ENOMEM)
sbin/dumpon/dumpon.c
388
if (errno == ENOMEM) {
sbin/dumpon/dumpon.c
414
if (errno != ENOENT)
sbin/dumpon/dumpon.c
419
if (errno != ENXIO)
sbin/dumpon/dumpon.c
671
error = errno;
sbin/dumpon/dumpon.c
679
error = errno;
sbin/fdisk/fdisk.c
734
if (fd == -1 && errno == EPERM && rwmode)
sbin/fdisk/fdisk.c
736
if (fd == -1 && errno == ENXIO)
sbin/ffsinfo/ffsinfo.c
143
if (errno == EINVAL || errno == ERANGE)
sbin/ffsinfo/ffsinfo.c
150
if (errno == EINVAL || errno == ERANGE)
sbin/ffsinfo/ffsinfo.c
157
if (errno == EINVAL||errno == ERANGE)
sbin/fsck_ffs/main.c
657
if (errno != ENOENT) {
sbin/fsck_ffs/main.c
659
"RUN IN BACKGROUND\n", snapname, strerror(errno));
sbin/fsck_ffs/main.c
668
strerror(errno));
sbin/fsck_ffs/main.c
690
if (errno == EEXIST && unlink(snapname) == 0)
sbin/fsck_ffs/main.c
693
strerror(errno), errmsg);
sbin/fsck_ffs/main.c
700
"BACKGROUND\n", snapname, strerror(errno));
sbin/fsck_ffs/pass2.c
253
printf(" (FIX FAILED: %s)\n", strerror(errno));
sbin/fsck_ffs/pass2.c
517
strerror(errno));
sbin/fsck_ffs/pass2.c
647
strerror(errno));
sbin/fsck_ffs/pass2.c
688
strerror(errno));
sbin/fsck_ffs/utilities.c
69
printf("Can't stat %s: %s\n", newname, strerror(errno));
sbin/fsirand/fsirand.c
122
if ((errno = sbget(devfd, &sblock, UFS_STDSB, UFS_NOCSUM)) != 0) {
sbin/fsirand/fsirand.c
123
switch (errno) {
sbin/fsirand/fsirand.c
185
(n < ibufsize) ? "short read" : strerror(errno));
sbin/fsirand/fsirand.c
219
strerror(errno));
sbin/geom/core/geom.c
1488
gctl_error(req, "Could not find module: %s.", strerror(errno));
sbin/geom/core/geom.c
1493
strerror(errno));
sbin/geom/core/geom.c
203
if (errno != EEXIST) {
sbin/geom/core/geom.c
557
if (errno == ENOENT) {
sbin/geom/misc/subr.c
236
return (errno);
sbin/geom/misc/subr.c
239
error = errno;
sbin/geom/misc/subr.c
244
error = errno;
sbin/geom/misc/subr.c
255
error = errno;
sbin/geom/misc/subr.c
293
return (errno);
sbin/geom/misc/subr.c
296
error = errno;
sbin/geom/misc/subr.c
301
error = errno;
sbin/geom/misc/subr.c
314
error = errno;
sbin/geom/misc/subr.c
339
return (errno);
sbin/geom/misc/subr.c
342
error = errno;
sbin/geom/misc/subr.c
347
error = errno;
sbin/geom/misc/subr.c
358
error = errno;
sbin/geom/misc/subr.c
370
error = errno;
sbin/ggate/ggatec/ggatec.c
238
if (numbytesprocd == -1 && errno == EAGAIN)
sbin/ggate/ggatec/ggatec.c
312
strerror(errno));
sbin/ggate/ggatec/ggatec.c
320
strerror(errno));
sbin/ggate/ggatec/ggatec.c
338
strerror(errno));
sbin/ggate/ggatec/ggatec.c
345
strerror(errno));
sbin/ggate/ggatec/ggatec.c
351
strerror(errno));
sbin/ggate/ggatec/ggatec.c
372
strerror(errno));
sbin/ggate/ggatec/ggatec.c
384
strerror(errno));
sbin/ggate/ggatec/ggatec.c
493
g_gate_xlog("Cannot connect: %s.", strerror(errno));
sbin/ggate/ggatec/ggatec.c
525
g_gate_xlog("Cannot connect: %s.", strerror(errno));
sbin/ggate/ggatec/ggatec.c
600
errno = 0;
sbin/ggate/ggatec/ggatec.c
602
if (port == 0 && errno != 0)
sbin/ggate/ggatec/ggatec.c
608
errno = 0;
sbin/ggate/ggatec/ggatec.c
610
if (queue_size == 0 && errno != 0)
sbin/ggate/ggatec/ggatec.c
616
errno = 0;
sbin/ggate/ggatec/ggatec.c
618
if (rcvbuf == 0 && errno != 0)
sbin/ggate/ggatec/ggatec.c
624
errno = 0;
sbin/ggate/ggatec/ggatec.c
626
if (sndbuf == 0 && errno != 0)
sbin/ggate/ggatec/ggatec.c
632
errno = 0;
sbin/ggate/ggatec/ggatec.c
634
if (sectorsize == 0 && errno != 0)
sbin/ggate/ggatec/ggatec.c
640
errno = 0;
sbin/ggate/ggatec/ggatec.c
642
if (timeout == 0 && errno != 0)
sbin/ggate/ggatec/ggatec.c
646
errno = 0;
sbin/ggate/ggatec/ggatec.c
648
if (unit == 0 && errno != 0)
sbin/ggate/ggated/ggated.c
1013
sendfail(sfd, errno, "Error while sending initial packet: %s.",
sbin/ggate/ggated/ggated.c
1014
strerror(errno));
sbin/ggate/ggated/ggated.c
1062
errno = 0;
sbin/ggate/ggated/ggated.c
1064
if (port == 0 && errno != 0)
sbin/ggate/ggated/ggated.c
1068
errno = 0;
sbin/ggate/ggated/ggated.c
1070
if (rcvbuf == 0 && errno != 0)
sbin/ggate/ggated/ggated.c
1074
errno = 0;
sbin/ggate/ggated/ggated.c
1076
if (sndbuf == 0 && errno != 0)
sbin/ggate/ggated/ggated.c
1096
if (errno == EEXIST) {
sbin/ggate/ggated/ggated.c
1106
g_gate_xlog("Cannot daemonize: %s", strerror(errno));
sbin/ggate/ggated/ggated.c
1115
g_gate_xlog("Cannot open stream socket: %s.", strerror(errno));
sbin/ggate/ggated/ggated.c
1124
g_gate_xlog("bind(): %s.", strerror(errno));
sbin/ggate/ggated/ggated.c
1126
g_gate_xlog("listen(): %s.", strerror(errno));
sbin/ggate/ggated/ggated.c
1136
g_gate_xlog("accept(): %s.", strerror(errno));
sbin/ggate/ggated/ggated.c
222
errno = 0;
sbin/ggate/ggated/ggated.c
224
if (vmask == 0 && errno != 0) {
sbin/ggate/ggated/ggated.c
296
strerror(errno));
sbin/ggate/ggated/ggated.c
307
strerror(errno));
sbin/ggate/ggated/ggated.c
421
error = errno;
sbin/ggate/ggated/ggated.c
453
errno = error;
sbin/ggate/ggated/ggated.c
459
errno = EPERM;
sbin/ggate/ggated/ggated.c
607
g_gate_log(LOG_ERR, "Cannot fork: %s.", strerror(errno));
sbin/ggate/ggated/ggated.c
670
strerror(errno));
sbin/ggate/ggated/ggated.c
715
strerror(errno));
sbin/ggate/ggated/ggated.c
740
strerror(errno));
sbin/ggate/ggated/ggated.c
811
req->r_error = errno;
sbin/ggate/ggated/ggated.c
824
if (errno == 0)
sbin/ggate/ggated/ggated.c
825
errno = EIO;
sbin/ggate/ggated/ggated.c
826
g_gate_log(LOG_ERR, "Disk error: %s", strerror(errno));
sbin/ggate/ggated/ggated.c
827
req->r_error = errno;
sbin/ggate/ggated/ggated.c
885
strerror(errno));
sbin/ggate/ggated/ggated.c
893
strerror(errno));
sbin/ggate/ggated/ggated.c
952
sendfail(sfd, errno, "Error while sending version packet: %s.",
sbin/ggate/ggated/ggated.c
953
strerror(errno));
sbin/ggate/ggated/ggated.c
995
sendfail(sfd, errno, NULL);
sbin/ggate/ggatel/ggatel.c
153
error = errno;
sbin/ggate/ggatel/ggatel.c
161
error = errno;
sbin/ggate/ggatel/ggatel.c
267
errno = 0;
sbin/ggate/ggatel/ggatel.c
269
if (sectorsize == 0 && errno != 0)
sbin/ggate/ggatel/ggatel.c
275
errno = 0;
sbin/ggate/ggatel/ggatel.c
277
if (timeout == 0 && errno != 0)
sbin/ggate/ggatel/ggatel.c
281
errno = 0;
sbin/ggate/ggatel/ggatel.c
283
if (unit == 0 && errno != 0)
sbin/ggate/shared/ggate.c
138
g_gate_xlog("fstat(): %s.", strerror(errno));
sbin/ggate/shared/ggate.c
142
strerror(errno));
sbin/ggate/shared/ggate.c
159
g_gate_xlog("fstat(): %s.", strerror(errno));
sbin/ggate/shared/ggate.c
163
strerror(errno));
sbin/ggate/shared/ggate.c
195
G_GATE_CTL_NAME, strerror(errno));
sbin/ggate/shared/ggate.c
217
if (errno != EEXIST) {
sbin/ggate/shared/ggate.c
246
if (errno == EAGAIN) {
sbin/ggate/shared/ggate.c
267
} while (done == -1 && errno == EAGAIN);
sbin/ggate/shared/ggate.c
286
g_gate_xlog("setsockopt() error: %s.", strerror(errno));
sbin/ggate/shared/ggate.c
290
g_gate_xlog("setsockopt(SO_REUSEADDR): %s.", strerror(errno));
sbin/ggate/shared/ggate.c
293
g_gate_xlog("setsockopt(SO_RCVBUF): %s.", strerror(errno));
sbin/ggate/shared/ggate.c
296
g_gate_xlog("setsockopt(SO_SNDBUF): %s.", strerror(errno));
sbin/ggate/shared/ggate.c
301
strerror(errno));
sbin/ggate/shared/ggate.c
305
strerror(errno));
sbin/hastd/activemap.c
190
errno = ENOMEM;
sbin/hastd/control.c
169
error = errno;
sbin/hastd/control.c
178
error = errno;
sbin/hastd/ebuf.c
79
rerrno = errno;
sbin/hastd/ebuf.c
81
errno = rerrno;
sbin/hastd/event.c
100
pjdlog_common(LOG_DEBUG, 1, errno,
sbin/hastd/hast_checksum.c
107
errno = nv_error(nv);
sbin/hastd/hast_compression.c
238
errno = nv_error(nv);
sbin/hastd/hast_proto.c
102
errno = nv_error(nv);
sbin/hastd/hast_proto.c
144
errno = ERPCMISMATCH;
sbin/hastd/hast_proto.c
190
errno = EINVAL;
sbin/hastd/hast_proto.c
206
errno = EINVAL;
sbin/hastd/hastd.c
1002
val = errno;
sbin/hastd/hastd.c
1009
val = errno;
sbin/hastd/hastd.c
1127
if (errno == EINTR)
sbin/hastd/hastd.c
1254
if (errno == EEXIST) {
sbin/hastd/hastd.c
194
} else if (errno == EBADF) {
sbin/hastd/hastd.c
200
strerror(errno));
sbin/hastd/hastd.c
545
if (errno == EEXIST) {
sbin/hastd/hastd.c
92
if (errno != EEXIST) {
sbin/hastd/hastd.c
942
int error = errno;
sbin/hastd/hooks.c
303
if (kill(hp->hp_pid, 0) == -1 && errno == ESRCH) {
sbin/hastd/lzf.c
303
# define SET_ERRNO(n) errno = (n)
sbin/hastd/metadata.c
104
rerrno = errno;
sbin/hastd/metadata.c
111
rerrno = errno;
sbin/hastd/metadata.c
150
errno = rerrno = nv_error(nv);
sbin/hastd/metadata.c
163
errno = rerrno;
sbin/hastd/metadata.c
64
rerrno = errno;
sbin/hastd/metadata.c
71
rerrno = errno;
sbin/hastd/metadata.c
72
if (errno == EOPNOTSUPP) {
sbin/hastd/metadata.c
88
rerrno = errno;
sbin/hastd/metadata.c
94
rerrno = errno;
sbin/hastd/nv.c
205
errno = ENOMEM;
sbin/hastd/nv.c
323
errno = error;
sbin/hastd/nv.c
384
rerrno = errno;
sbin/hastd/nv.c
387
errno = rerrno;
sbin/hastd/nv.c
579
serrno = errno;
sbin/hastd/nv.c
584
errno = serrno;
sbin/hastd/nv.c
626
printf("error: %d\n", errno);
sbin/hastd/nv.c
762
errno = ENOMEM;
sbin/hastd/nv.c
783
PJDLOG_ASSERT(errno != 0);
sbin/hastd/nv.c
785
nv->nv_error = errno;
sbin/hastd/nv.c
792
PJDLOG_ASSERT(errno != 0);
sbin/hastd/nv.c
794
nv->nv_error = errno;
sbin/hastd/nv.c
803
PJDLOG_ASSERT(errno != 0);
sbin/hastd/nv.c
805
nv->nv_error = errno;
sbin/hastd/nv.c
832
errno = ENOMEM;
sbin/hastd/nv.c
851
errno = EINVAL;
sbin/hastd/nv.c
861
errno = ENOENT;
sbin/hastd/parse.y
790
if (sock == -1 && errno == EPROTONOSUPPORT)
sbin/hastd/pjdlog.c
116
strerror(errno));
sbin/hastd/pjdlog.c
132
strerror(errno));
sbin/hastd/pjdlog.c
156
saved_errno = errno;
sbin/hastd/pjdlog.c
177
errno = saved_errno;
sbin/hastd/pjdlog.c
187
saved_errno = errno;
sbin/hastd/pjdlog.c
194
errno = saved_errno;
sbin/hastd/pjdlog.c
214
saved_errno = errno;
sbin/hastd/pjdlog.c
223
errno = saved_errno;
sbin/hastd/pjdlog.c
292
saved_errno = errno;
sbin/hastd/pjdlog.c
296
errno = saved_errno;
sbin/hastd/pjdlog.c
365
saved_errno = errno;
sbin/hastd/pjdlog.c
424
errno = saved_errno;
sbin/hastd/pjdlog.c
496
pjdlogv_common(loglevel, 0, errno, fmt, ap);
sbin/hastd/primary.c
1414
strerror(errno));
sbin/hastd/primary.c
1429
hio->hio_errors[ncomp] = errno;
sbin/hastd/primary.c
1432
strerror(errno));
sbin/hastd/primary.c
1451
hio->hio_errors[ncomp] = errno;
sbin/hastd/primary.c
1454
strerror(errno));
sbin/hastd/primary.c
1462
errno = EOPNOTSUPP;
sbin/hastd/primary.c
1467
if (errno == EOPNOTSUPP)
sbin/hastd/primary.c
1469
hio->hio_errors[ncomp] = errno;
sbin/hastd/primary.c
1472
strerror(errno));
sbin/hastd/primary.c
1527
pjdlog_common(LOG_DEBUG, 1, errno,
sbin/hastd/primary.c
1643
hio->hio_errors[ncomp] = errno;
sbin/hastd/primary.c
1794
hio->hio_errors[ncomp] = errno;
sbin/hastd/primary.c
285
rerrno = errno;
sbin/hastd/primary.c
304
errno = rerrno;
sbin/hastd/primary.c
353
if (errno == EOPNOTSUPP) {
sbin/hastd/primary.c
584
errno = val;
sbin/hastd/primary.c
936
if (errno != EEXIST) {
sbin/hastd/proto.c
139
errno = EINVAL;
sbin/hastd/proto.c
144
errno = ret;
sbin/hastd/proto.c
151
errno = ENOMEM;
sbin/hastd/proto.c
182
errno = ret;
sbin/hastd/proto.c
203
errno = ret;
sbin/hastd/proto.c
236
errno = ret;
sbin/hastd/proto.c
257
errno = ret;
sbin/hastd/proto.c
275
errno = ret;
sbin/hastd/proto.c
303
errno = ret;
sbin/hastd/proto.c
329
errno = ret;
sbin/hastd/proto.c
340
errno = EINVAL;
sbin/hastd/proto.c
352
errno = ret;
sbin/hastd/proto_common.c
106
return (errno);
sbin/hastd/proto_common.c
119
if (errno == EINTR)
sbin/hastd/proto_common.c
121
if (errno == ENOBUFS) {
sbin/hastd/proto_common.c
144
if (errno == EAGAIN && blocking_socket(sock))
sbin/hastd/proto_common.c
145
errno = ETIMEDOUT;
sbin/hastd/proto_common.c
146
return (errno);
sbin/hastd/proto_common.c
180
return (errno);
sbin/hastd/proto_common.c
205
return (errno);
sbin/hastd/proto_common.c
214
} while (done == -1 && errno == EINTR);
sbin/hastd/proto_common.c
224
if (errno == EAGAIN && blocking_socket(sock))
sbin/hastd/proto_common.c
225
errno = ETIMEDOUT;
sbin/hastd/proto_common.c
226
return (errno);
sbin/hastd/proto_common.c
86
return (errno);
sbin/hastd/proto_socketpair.c
69
return (errno);
sbin/hastd/proto_socketpair.c
72
ret = errno;
sbin/hastd/proto_tcp.c
154
return (errno);
sbin/hastd/proto_tcp.c
203
return (errno);
sbin/hastd/proto_tcp.c
215
ret = errno;
sbin/hastd/proto_tcp.c
248
return (errno);
sbin/hastd/proto_tcp.c
278
ret = errno;
sbin/hastd/proto_tcp.c
300
pjdlog_common(LOG_DEBUG, 1, errno, "fcntl(F_GETFL) failed");
sbin/hastd/proto_tcp.c
301
return (errno);
sbin/hastd/proto_tcp.c
309
pjdlog_common(LOG_DEBUG, 1, errno,
sbin/hastd/proto_tcp.c
311
return (errno);
sbin/hastd/proto_tcp.c
321
if (errno != EINPROGRESS) {
sbin/hastd/proto_tcp.c
322
error = errno;
sbin/hastd/proto_tcp.c
323
pjdlog_common(LOG_DEBUG, 1, errno, "connect() failed");
sbin/hastd/proto_tcp.c
333
error = errno;
sbin/hastd/proto_tcp.c
334
pjdlog_common(LOG_DEBUG, 1, errno,
sbin/hastd/proto_tcp.c
365
if (errno == EINTR)
sbin/hastd/proto_tcp.c
367
error = errno;
sbin/hastd/proto_tcp.c
368
pjdlog_common(LOG_DEBUG, 1, errno, "select() failed");
sbin/hastd/proto_tcp.c
376
error = errno;
sbin/hastd/proto_tcp.c
377
pjdlog_common(LOG_DEBUG, 1, errno,
sbin/hastd/proto_tcp.c
391
error = errno;
sbin/hastd/proto_tcp.c
392
pjdlog_common(LOG_DEBUG, 1, errno, "fcntl(F_GETFL) failed");
sbin/hastd/proto_tcp.c
398
error = errno;
sbin/hastd/proto_tcp.c
399
pjdlog_common(LOG_DEBUG, 1, errno,
sbin/hastd/proto_tcp.c
426
ret = errno;
sbin/hastd/proto_tcp.c
431
ret = errno;
sbin/hastd/proto_tcp.c
455
return (errno);
sbin/hastd/proto_tcp.c
461
ret = errno;
sbin/hastd/proto_tcp.c
94
errno = EINVAL;
sbin/hastd/proto_uds.c
107
ret = errno;
sbin/hastd/proto_uds.c
147
return (errno);
sbin/hastd/proto_uds.c
182
ret = errno;
sbin/hastd/proto_uds.c
188
ret = errno;
sbin/hastd/proto_uds.c
211
return (errno);
sbin/hastd/proto_uds.c
217
ret = errno;
sbin/hastd/proto_uds.c
97
return (errno);
sbin/hastd/secondary.c
797
hio->hio_error = errno;
sbin/hastd/secondary.c
808
hio->hio_error = errno;
sbin/hastd/secondary.c
819
hio->hio_error = errno;
sbin/hastd/secondary.c
832
if (errno == EOPNOTSUPP)
sbin/hastd/secondary.c
834
hio->hio_error = errno;
sbin/hastd/subr.c
130
errno = EFTYPE;
sbin/hastd/subr.c
166
errno = 0;
sbin/hastd/subr.c
169
if (errno != 0) {
sbin/hastd/subr.c
175
errno = ENOENT;
sbin/hastd/subr.c
227
pjdlog_common(LOG_DEBUG, 1, errno,
sbin/hastd/subr.h
44
_rerrno = errno; \
sbin/hastd/subr.h
46
errno = _rerrno; \
sbin/ifconfig/af_nd6.c
150
if (errno != EAFNOSUPPORT && errno != EPROTONOSUPPORT)
sbin/ifconfig/af_nd6.c
156
if (errno != EPFNOSUPPORT)
sbin/ifconfig/ifbridge.c
77
errno = 0;
sbin/ifconfig/ifbridge.c
79
if (cp[0] == '\0' || endptr[0] != '\0' || errno == ERANGE)
sbin/ifconfig/ifconfig.c
1051
return (errno);
sbin/ifconfig/ifconfig.c
1141
(uafp != NULL || errno != EAFNOSUPPORT ||
sbin/ifconfig/ifconfig.c
1906
switch (errno) {
sbin/ifconfig/ifconfig.c
1924
Perrorc(cmd, errno);
sbin/ifconfig/ifconfig.c
212
switch (errno) {
sbin/ifconfig/ifconfig.c
887
if (errno == EINVAL || errno == ENOTTY)
sbin/ifconfig/ifconfig_netlink.c
92
if (modfind("netlink") == -1 && errno == ENOENT) {
sbin/ifconfig/ifgroup.c
117
if (errno == EINVAL || errno == ENOTTY ||
sbin/ifconfig/ifgroup.c
118
errno == ENOENT)
sbin/ifconfig/ifgroup.c
57
if (ioctl_ctx(ctx, SIOCAIFGROUP, (caddr_t)&ifgr) == -1 && errno != EEXIST)
sbin/ifconfig/ifgroup.c
73
if (ioctl_ctx(ctx, SIOCDIFGROUP, (caddr_t)&ifgr) == -1 && errno != ENOENT)
sbin/ifconfig/ifieee80211.c
4786
if (errno == EINVAL) {
sbin/ifconfig/ifieee80211.c
823
errno = 0;
sbin/ifconfig/ifieee80211.c
825
if (val[0] == '\0' || val == eptr || errno == ERANGE ||
sbin/ifconfig/ifieee80211.c
829
errno == ERANGE ? " (out of range)" : "");
sbin/ifconfig/iflagg.c
50
if (ioctl_ctx(ctx, SIOCSLAGGPORT, &rp) && errno != EEXIST) {
sbin/ifconfig/iflagg.c
52
ctx->ifname, val, strerror(errno));
sbin/ifconfig/ifmedia.c
293
switch (errno) {
sbin/ifconfig/ifmedia.c
312
switch (errno) {
sbin/ifconfig/ifpfsync.c
81
return (errno);
sbin/ifconfig/ifvxlan.c
63
errno = 0;
sbin/ifconfig/ifvxlan.c
65
if (cp[0] == '\0' || endptr[0] != '\0' || errno == ERANGE)
sbin/init/init.c
1070
} else if (errno != EACCES) {
sbin/init/init.c
1153
if (errno == EINTR)
sbin/init/init.c
1559
if (errno == ENOENT)
sbin/init/init.c
1916
if (kill(-1, death_sigs[i]) == -1 && errno == ESRCH)
sbin/init/init.c
1924
while (!clang && errno != ECHILD);
sbin/init/init.c
1926
if (errno == ECHILD)
sbin/init/init.c
1974
if (stat(_PATH_RUNDOWN, &sb) == -1 && errno == ENOENT)
sbin/init/init.c
2021
if (errno == EINTR)
sbin/init/init.c
2132
if (stat(_PATH_RUNFINAL, &sb) == -1 && errno == ENOENT)
sbin/init/init.c
258
if (setsid() < 0 && (errno != EPERM || getsid(0) != 1))
sbin/init/init.c
397
if (error != 0 && errno != EINVAL)
sbin/init/init.c
760
if (error != 0 && errno != ESRCH) {
sbin/init/init.c
981
if (errno == EINTR)
sbin/ipf/common/ipf_y.y
2004
STRERROR(errno));
sbin/ipf/ipf/ipf.c
217
if (errno == EBUSY) {
sbin/ipf/ipfs/ipfs.c
399
if (errno == ENOENT)
sbin/ipf/ipfs/ipfs.c
734
if (errno == ENOENT)
sbin/ipf/ipfsync/ipfsyncd.c
142
argv[0], STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
187
STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
246
switch (errno)
sbin/ipf/ipfsync/ipfsyncd.c
252
debug(1, "select error: %s\n", STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
265
STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
292
STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
326
debug(1, "socket:%s\n", STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
335
debug(1, "ioctl(SIOCGIFADDR):%s\n", STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
348
inet_ntoa(addr), STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
359
STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
371
STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
390
buffer, STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
410
debug(1, "ioctl(SIOCGIFADDR):%s\n", STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
419
debug(1, "bind:%s\n", STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
431
debug(1, "connect:%s\n", STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
494
debug(1, "write error: %s\n", STRERROR(errno));
sbin/ipf/ipfsync/ipfsyncd.c
571
debug(1, "write error: %s\n", STRERROR(errno));
sbin/ipf/ipftest/ipftest.c
343
errno = i;
sbin/ipf/ipftest/ipftest.c
367
errno = i;
sbin/ipf/ipftest/ipftest.c
391
errno = i;
sbin/ipf/ipftest/ipftest.c
415
errno = i;
sbin/ipf/ipftest/ipftest.c
439
errno = i;
sbin/ipf/ipftest/ipftest.c
463
errno = i;
sbin/ipf/ipftest/ipftest.c
487
errno = i;
sbin/ipf/ipmon/ipmon.c
1448
file, STRERROR(errno));
sbin/ipf/ipmon/ipmon.c
1664
argv[optind], STRERROR(errno));
sbin/ipf/ipmon/ipmon.c
1684
argv[0], STRERROR(errno));
sbin/ipf/ipmon/ipmon.c
1731
STRERROR(errno));
sbin/ipf/ipmon/ipmon.c
1738
l->fd, STRERROR(errno));
sbin/ipf/ipmon/ipmon.c
1769
if (errno == EINTR)
sbin/ipf/ipmon/ipmon.c
457
if ((nr < 0) && (errno != EINTR))
sbin/ipf/ipnat/ipnat.c
180
STRERROR(errno));
sbin/ipf/ipnat/ipnat_y.y
1317
STRERROR(errno));
sbin/ipf/ipnat/ipnat_y.y
1531
if (errno == EEXIST) {
sbin/ipf/ippool/ippool_y.y
630
STRERROR(errno));
sbin/ipf/ipsend/arp.c
112
if (errno != ENXIO)
sbin/ipf/ipsend/dlcommon.c
1147
dlerrno(u_long errno)
sbin/ipf/ipsend/dlcommon.c
1151
switch (errno) {
sbin/ipf/ipsend/dlcommon.c
1182
(void) snprintf(errnobuf, sizeof(errnobuf), "unknown dlpi errno 0x%x", errno);
sbin/ipf/ipsend/sock.c
292
errno != EINPROGRESS)
sbin/ipf/libipf/interror.c
580
snprintf(text, sizeof(text), "retrieving error number failed (%d)", errno);
sbin/ipf/libipf/ipf_perror.c
20
save = errno;
sbin/ipf/libipf/ipf_perror.c
24
errno = save;
sbin/ipfw/altq.c
61
if (ioctl(pffd, DIOCSTARTALTQ) != 0 && errno != EEXIST)
sbin/ipfw/altq.c
64
if (ioctl(pffd, DIOCSTOPALTQ) != 0 && errno != ENOENT)
sbin/ipfw/altq.c
97
if (errno == EBUSY)
sbin/ipfw/dummynet.c
1741
errno = 0;
sbin/ipfw/dummynet.c
1743
if (errno != ERANGE)
sbin/ipfw/dummynet.c
1746
if (errno || p->burst > (1ULL << 48) - 1)
sbin/ipfw/ipfw2.c
109
if (!isdigit(**av) || *end != '\0' || (_xval == 0 && errno == EINVAL)) \
sbin/ipfw/ipfw2.c
113
if (errno == ERANGE || _xval < min || _xval > max) \
sbin/ipfw/ipfw2.c
3226
if (errno != ENOMEM) {
sbin/ipfw/ipfw2.c
3228
return (errno);
sbin/ipfw/ipfw2.c
6107
if (errno != ENOMEM)
sbin/ipfw/ipfw2.c
6311
if (errno != ENOMEM)
sbin/ipfw/ipfw2.c
6312
return (errno);
sbin/ipfw/ipfw2.c
6322
return (errno);
sbin/ipfw/main.c
633
int savederrno = errno;
sbin/ipfw/main.c
636
errno = savederrno;
sbin/ipfw/nat.c
1047
if (nla->is_all != 0 && errno == ENOENT)
sbin/ipfw/nat.c
1095
if (errno == ENOMEM)
sbin/ipfw/nat.c
1097
return (errno);
sbin/ipfw/nat.c
1138
if (errno == ENOMEM)
sbin/ipfw/nat.c
1140
return (errno);
sbin/ipfw/nat64clat.c
516
if (errno != ENOMEM)
sbin/ipfw/nat64clat.c
517
return (errno);
sbin/ipfw/nat64lsn.c
881
if (errno != ENOMEM)
sbin/ipfw/nat64lsn.c
882
return (errno);
sbin/ipfw/nat64stl.c
532
if (errno != ENOMEM)
sbin/ipfw/nat64stl.c
533
return (errno);
sbin/ipfw/nptv6.c
436
if (errno != ENOMEM)
sbin/ipfw/nptv6.c
437
return (errno);
sbin/ipfw/tables.c
1140
return (errno);
sbin/ipfw/tables.c
1722
if (errno != ENOMEM)
sbin/ipfw/tables.c
1723
return (errno);
sbin/ipfw/tables.c
1775
if (errno != ENOMEM)
sbin/ipfw/tables.c
1780
return (errno);
sbin/ipfw/tables.c
1982
if (errno != ENOMEM)
sbin/ipfw/tables.c
1983
return (errno);
sbin/ipfw/tables.c
1992
return (errno);
sbin/ipfw/tables.c
241
if (errno != ESRCH)
sbin/ipfw/tables.c
258
if (errno != ESRCH)
sbin/ipfw/tables.c
498
if (errno != EEXIST || missing == 0)
sbin/ipfw/tables.c
684
switch (errno) {
sbin/ipfw/tables.c
712
return (errno);
sbin/ipfw/tables.c
937
error = errno;
sbin/kldconfig/kldconfig.c
109
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
127
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
173
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
229
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
247
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
322
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
359
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
385
errno = ENOMEM;
sbin/kldload/kldload.c
166
if (check_loaded != 0 && errno == EEXIST) {
sbin/kldload/kldload.c
172
switch (errno) {
sbin/ldconfig/elfhints.c
204
if (errno == ENOENT && !must_exist)
sbin/md5/md5.c
635
if (errno != ENOENT || !(cflag && ignoreMissing)) {
sbin/mdconfig/mdconfig.c
315
(errno == EACCES || errno == EPERM ||
sbin/mdconfig/mdconfig.c
316
errno == EROFS)) {
sbin/mdconfig/mdconfig.c
647
errno = 0;
sbin/mdconfig/mdconfig.c
649
if (errno != 0 || *endptr != '\0' || bytes > INT64_MAX)
sbin/mknod/mknod.c
119
errno = 0;
sbin/mknod/mknod.c
123
range_error = errno;
sbin/mknod/mknod.c
124
errno = 0;
sbin/mknod/mknod.c
128
range_error |= errno;
sbin/mknod/mknod.c
67
errno = 0;
sbin/mknod/mknod.c
69
if (errno)
sbin/mount/mount.c
150
if (errno == ENOENT) {
sbin/mount_msdosfs/mount_msdosfs.c
306
if (error && errno != EEXIST)
sbin/mount_msdosfs/mount_msdosfs.c
310
if (error && errno != EEXIST)
sbin/mount_msdosfs/mount_msdosfs.c
316
if (error && errno != EEXIST)
sbin/mount_nfs/mount_nfs.c
484
nmount_errstr = nfsv4_geterrstr(errno);
sbin/mount_nfs/mount_nfs.c
556
if (errno == EINTR)
sbin/natd/natd.c
419
if (errno == EINTR)
sbin/natd/natd.c
533
if (errno != EINTR)
sbin/natd/natd.c
618
if (errno == EMSGSIZE && mip != NULL) {
sbin/natd/natd.c
625
else if (errno == EACCES && logIpfwDenied) {
sbin/natd/natd.c
672
if (errno != EINTR)
sbin/natd/natd.c
777
if (errno == EMSGSIZE) {
sbin/natd/natd.c
785
else if (errno == EACCES && logIpfwDenied) {
sbin/natd/natd.c
910
if (sysctl(mib, 6, buf, &needed, NULL, 0) == -1 && errno != ENOMEM)
sbin/newfs/newfs.c
271
errno = 0;
sbin/newfs/newfs.c
273
if (errno != 0 || cp == optarg ||
sbin/newfs/newfs.c
283
errno = 0;
sbin/newfs/newfs.c
285
if (errno != 0 || cp == optarg ||
sbin/newfs/newfs.c
507
errno = ERANGE;
sbin/newfs_msdos/newfs_msdos.c
198
errno = 0;
sbin/newfs_msdos/newfs_msdos.c
200
if (errno || !*arg || *s || x < lo || x > hi)
sbin/newfs_msdos/newfs_msdos.c
214
errno = 0;
sbin/newfs_msdos/newfs_msdos.c
217
if (errno || x < 0 || (s[0] && s[1]) )
sbin/newfs_msdos/newfs_msdos.c
61
errno = 0;
sbin/newfs_msdos/newfs_msdos.c
63
if (b == eb || *eb || errno)
sbin/nvmecontrol/nvmecontrol.c
111
return (errno);
sbin/nvmecontrol/nvmecontrol.c
135
return (errno);
sbin/nvmecontrol/nvmecontrol.c
159
return (errno);
sbin/nvmecontrol/nvmecontrol.c
184
return (errno);
sbin/nvmecontrol/passthru.c
220
errno = 0;
sbin/nvmecontrol/passthru.c
242
errno = 0;
sbin/nvmecontrol/passthru.c
260
if (errno)
sbin/pfctl/parse.y
4716
errno = 0;
sbin/pfctl/parse.y
4718
if (errno || *end != '\0')
sbin/pfctl/parse.y
5946
if (errno)
sbin/pfctl/parse.y
5948
ti->file, strerror(errno));
sbin/pfctl/parse.y
5957
strerror(errno));
sbin/pfctl/parse.y
5998
pf_strerror(errno));
sbin/pfctl/parse.y
7935
errno = 0;
sbin/pfctl/parse.y
7939
if (errno == ERANGE && ulval == ULONG_MAX)
sbin/pfctl/pfctl.c
2640
if (errno == ENXIO)
sbin/pfctl/pfctl.c
2642
else if (errno == ENODEV)
sbin/pfctl/pfctl.c
2848
errno = EISDIR;
sbin/pfctl/pfctl.c
3006
if (errno == EBUSY)
sbin/pfctl/pfctl.c
3357
if (errno == ENODEV) {
sbin/pfctl/pfctl.c
453
if (errno != EEXIST)
sbin/pfctl/pfctl.c
474
if (errno != ENOENT)
sbin/pfctl/pfctl_optimize.c
1523
if (errno == ENOENT)
sbin/pfctl/pfctl_osfp.c
298
if (errno == EBUSY)
sbin/pfctl/pfctl_osfp.c
629
if ((errno = pf_osfp_add(fp)))
sbin/pfctl/pfctl_osfp.c
634
if (errno == EEXIST) {
sbin/pfctl/pfctl_parser.c
1698
errno = ENXIO;
sbin/pfctl/pfctl_parser.c
1713
errno = ENXIO;
sbin/pfctl/pfctl_parser.c
2077
errno = 0;
sbin/pfctl/pfctl_parser.c
2117
errno = EINVAL;
sbin/pfctl/pfctl_parser.c
2122
errno = EINVAL;
sbin/pfctl/pfctl_radix.c
109
errno = EINVAL;
sbin/pfctl/pfctl_radix.c
144
errno = ret;
sbin/pfctl/pfctl_radix.c
158
errno = ret;
sbin/pfctl/pfctl_radix.c
173
errno = ret;
sbin/pfctl/pfctl_radix.c
187
errno = ret;
sbin/pfctl/pfctl_radix.c
208
errno = ret;
sbin/pfctl/pfctl_radix.c
220
errno = EINVAL;
sbin/pfctl/pfctl_radix.c
226
errno = ret;
sbin/pfctl/pfctl_radix.c
239
errno = EINVAL;
sbin/pfctl/pfctl_radix.c
268
errno = EINVAL;
sbin/pfctl/pfctl_radix.c
275
errno = EINVAL;
sbin/pfctl/pfctl_radix.c
305
errno = EINVAL;
sbin/pfctl/pfctl_radix.c
350
errno = EINVAL;
sbin/pfctl/pfctl_radix.c
441
errno = EINVAL;
sbin/pfctl/pfctl_table.c
466
if (errno)
sbin/pfctl/pfctl_table.c
675
errx(1, "%s", pf_strerror(errno));
sbin/pfctl/pfctl_table.c
82
warnx("%s", pf_strerror(errno)); \
sbin/pfctl/pfctl_table.c
94
(errno != EPERM)) { \
sbin/pfctl/pfctl_table.c
95
warnx("%s", pf_strerror(errno)); \
sbin/pfctl/tests/pfctl_test.c
127
status, 0, "posix_spawn failed: %s", strerror(errno));
sbin/pfctl/tests/pfctl_test.c
78
errno = 0;
sbin/pfctl/tests/pfctl_test.c
94
errno = 0;
sbin/ping/ping.c
1068
if (options & F_FLOOD && errno == ENOBUFS) {
sbin/ping/ping.c
246
ssend_errno = errno;
sbin/ping/ping.c
248
srecv_errno = errno;
sbin/ping/ping.c
255
errno = ssend_errno;
sbin/ping/ping.c
260
errno = srecv_errno;
sbin/ping/ping.c
309
errno = EPERM;
sbin/ping/ping.c
376
errno = EPERM;
sbin/ping/ping.c
390
errno = EPERM;
sbin/ping/ping.c
462
errno = EPERM;
sbin/ping/ping.c
922
if (errno == EINTR)
sbin/ping/ping6.c
1182
if (errno != EINTR) {
sbin/ping/ping6.c
375
errno = 0;
sbin/ping/ping6.c
379
if (errno || !*optarg || *e ||
sbin/ping/ping6.c
408
errno = EPERM;
sbin/ping/ping6.c
458
errno = EPERM;
sbin/quotacheck/quotacheck.c
257
if (errno == EBADF)
sbin/quotacheck/quotacheck.c
268
if (errno == EBADF)
sbin/reboot/reboot.c
161
if (errno != ENOENT)
sbin/reboot/reboot.c
179
e = errno;
sbin/reboot/reboot.c
182
errno = e;
sbin/reboot/reboot.c
190
e = errno;
sbin/reboot/reboot.c
193
errno = e;
sbin/reboot/reboot.c
378
if (stat(PATH_NEXTBOOT, &sb) != 0 && errno == ENOENT)
sbin/reboot/reboot.c
386
errno = EPERM;
sbin/reboot/reboot.c
480
if (kill(-1, SIGTERM) == -1 && errno != ESRCH)
sbin/reboot/reboot.c
503
if (errno == ESRCH)
sbin/reboot/reboot.c
520
sverrno = errno;
sbin/reboot/reboot.c
97
if (errno == EINTR)
sbin/recoverdisk/recoverdisk.c
406
(intmax_t)i, strerror(errno));
sbin/recoverdisk/recoverdisk.c
473
errno = EIO;
sbin/recoverdisk/recoverdisk.c
480
error = errno;
sbin/recoverdisk/recoverdisk.c
519
errno = error;
sbin/recoverdisk/recoverdisk.c
858
error = errno;
sbin/restore/dirs.c
185
fprintf(stderr, "opendirfile: %s\n", strerror(errno));
sbin/restore/dirs.c
575
fprintf(stderr, "fopen: %s\n", strerror(errno));
sbin/restore/dirs.c
682
fprintf(stderr, "cannot create file: %s\n", strerror(errno));
sbin/restore/dirs.c
693
fprintf(stderr, "read: %s\n", strerror(errno));
sbin/restore/dirs.c
700
fprintf(stderr, "write: %s\n", strerror(errno));
sbin/restore/dirs.c
804
if (errno == ENOSPC) {
sbin/restore/symtab.c
445
fprintf(stderr, "fopen: %s\n", strerror(errno));
sbin/restore/symtab.c
507
fprintf(stderr, "fwrite: %s\n", strerror(errno));
sbin/restore/symtab.c
540
fprintf(stderr, "open: %s\n", strerror(errno));
sbin/restore/symtab.c
544
fprintf(stderr, "stat: %s\n", strerror(errno));
sbin/restore/symtab.c
553
fprintf(stderr, "read: %s\n", strerror(errno));
sbin/restore/tape.c
1032
(uintmax_t)curfile.ino, curfile.name, strerror(errno));
sbin/restore/tape.c
1047
(uintmax_t)curfile.ino, curfile.name, strerror(errno));
sbin/restore/tape.c
1212
"continuation failed: %s\n", strerror(errno));
sbin/restore/tape.c
1261
fprintf(stderr, "tape read error: %s\n", strerror(errno));
sbin/restore/tape.c
152
_PATH_TTY, strerror(errno));
sbin/restore/tape.c
156
_PATH_DEVNULL, strerror(errno));
sbin/restore/tape.c
207
strerror(errno));
sbin/restore/tape.c
223
fprintf(stderr, "%s: %s\n", magtape, strerror(errno));
sbin/restore/tape.c
251
fprintf(stderr, "cannot stat .: %s\n", strerror(errno));
sbin/restore/tape.c
404
strerror(errno));
sbin/restore/tape.c
541
fprintf(stderr, "ioctl MTFSF: %s\n", strerror(errno));
sbin/restore/tape.c
646
name, strerror(errno));
sbin/restore/tape.c
676
name, strerror(errno));
sbin/restore/tape.c
705
name, strerror(errno));
sbin/restore/utilities.c
121
from, to, strerror(errno));
sbin/restore/utilities.c
140
fprintf(stderr, "warning: %s: %s\n", cp, strerror(errno));
sbin/restore/utilities.c
162
fprintf(stderr, "warning: %s: %s\n", cp, strerror(errno));
sbin/restore/utilities.c
182
fprintf(stderr, "warning: %s: %s\n", cp, strerror(errno));
sbin/restore/utilities.c
203
new, existing, strerror(errno));
sbin/restore/utilities.c
224
new, existing, strerror(errno));
sbin/restore/utilities.c
246
name, strerror(errno));
sbin/restore/utilities.c
268
name, strerror(errno));
sbin/route/route.c
1065
fl->fl_errno = errno;
sbin/route/route.c
1451
if (errno == ENOMEM && count++ < 10) {
sbin/route/route.c
1483
errno = 0;
sbin/route/route.c
1485
if (errno == 0) {
sbin/route/route.c
1489
errno = EINVAL;
sbin/route/route.c
1491
if (errno)
sbin/route/route.c
1544
errno = 0;
sbin/route/route.c
1563
errno = rtmsg_nl(cmd, flags, fib, rtm_addrs, so, &rt_metrics);
sbin/route/route.c
1564
return (errno == 0 ? 0 : -1);
sbin/route/route.c
1608
switch (errno) {
sbin/route/route.c
1812
errno = rtm->rtm_errno;
sbin/route/route.c
1813
warn("message indicates error %d", errno);
sbin/route/route.c
321
errno = 0;
sbin/route/route.c
323
if (errno == 0) {
sbin/route/route.c
327
errno = EINVAL;
sbin/route/route.c
329
if (errno)
sbin/route/route.c
393
errno = 0;
sbin/route/route.c
395
if (errno == 0) {
sbin/route/route.c
399
errno = EINVAL;
sbin/route/route.c
401
if (errno) {
sbin/route/route.c
517
if (errno == ENOMEM && count++ < 10) {
sbin/route/route.c
546
if (rlen < 0 && errno == EPERM)
sbin/route/route.c
819
errno = 0;
sbin/route/route.c
821
if (errno == 0 && *endptr != '\0')
sbin/route/route.c
822
errno = EINVAL;
sbin/route/route.c
823
if (errno)
sbin/route/route_netlink.c
104
if (modfind("netlink") == -1 && errno == ENOENT) {
sbin/routed/defs.h
499
#define LOGERR(msg) msglog(msg ": %s", strerror(errno))
sbin/routed/defs.h
501
#define BADERR(dump,msg) logbad(dump,msg ": %s", strerror(errno))
sbin/routed/if.c
486
&& errno != EADDRNOTAVAIL
sbin/routed/if.c
687
if (errno != ENOMEM && errno != EFAULT)
sbin/routed/input.c
68
if (cc < 0 && errno != EWOULDBLOCK)
sbin/routed/main.c
288
logbad(1, "fcntl(rt_sock) O_NONBLOCK: %s", strerror(errno));
sbin/routed/main.c
491
if (n < 0 && errno != EINTR && errno != EAGAIN)
sbin/routed/main.c
585
name, strerror(errno));
sbin/routed/main.c
589
name, strerror(errno));
sbin/routed/main.c
594
name, strerror(errno));
sbin/routed/main.c
601
name, rbuf, strerror(errno));
sbin/routed/main.c
611
name, rbuf, strerror(errno));
sbin/routed/main.c
642
BADERR(errno != EADDRINUSE, "bind(rip_sock)");
sbin/routed/output.c
153
serrno = errno;
sbin/routed/output.c
156
errno = serrno;
sbin/routed/output.c
181
serrno = errno;
sbin/routed/output.c
187
strerror(errno));
sbin/routed/output.c
188
errno = serrno;
sbin/routed/rdisc.c
761
strerror(errno));
sbin/routed/rdisc.c
953
if (cc < 0 && errno != EWOULDBLOCK)
sbin/routed/rtquery/rtquery.c
328
if (errno != EADDRINUSE
sbin/routed/rtquery/rtquery.c
451
if (errno == EINTR)
sbin/routed/table.c
1060
if (errno != ENOMEM && errno != EFAULT)
sbin/routed/table.c
1163
if (cc < 0 && errno != EWOULDBLOCK)
sbin/routed/table.c
724
if (errno == ESRCH
sbin/routed/table.c
733
msglog("write(rt_sock)" PAT ": %s", ARGS, strerror(errno));
sbin/routed/trace.c
342
fn, strerror(errno));
sbin/savecore/savecore.c
154
error = errno;
sbin/savecore/savecore.c
156
errno = error;
sbin/savecore/savecore.c
254
logmsg(LOG_WARNING, "bounds file: %s", strerror(errno));
sbin/savecore/savecore.c
259
errno = 0;
sbin/savecore/savecore.c
261
if (ret == 0 && (errno == EINVAL || errno == ERANGE))
sbin/savecore/savecore.c
453
errno = 0;
sbin/savecore/savecore.c
455
if (minfree == 0 && errno != 0)
sbin/shutdown/shutdown.c
468
errno = 0;
sbin/shutdown/shutdown.c
470
if (offset < 0 || offset == LONG_MAX || errno != 0)
sbin/swapon/swapon.c
301
errno = 0;
sbin/swapon/swapon.c
303
if (errno == 0) {
sbin/swapon/swapon.c
305
errno = EINVAL;
sbin/swapon/swapon.c
307
if (errno) {
sbin/swapon/swapon.c
315
errno = 0;
sbin/swapon/swapon.c
317
if (errno == 0) {
sbin/swapon/swapon.c
319
errno = EINVAL;
sbin/swapon/swapon.c
321
if (errno) {
sbin/swapon/swapon.c
444
errno = 0;
sbin/swapon/swapon.c
446
if (errno == 0) {
sbin/swapon/swapon.c
448
errno = EINVAL;
sbin/swapon/swapon.c
450
if (errno) {
sbin/swapon/swapon.c
506
errno = 0;
sbin/swapon/swapon.c
508
if (errno == 0) {
sbin/swapon/swapon.c
510
errno = EINVAL;
sbin/swapon/swapon.c
512
if (errno) {
sbin/swapon/swapon.c
570
errno = 0;
sbin/swapon/swapon.c
572
if (errno == 0) {
sbin/swapon/swapon.c
574
errno = EINVAL;
sbin/swapon/swapon.c
576
if (errno) {
sbin/swapon/swapon.c
756
switch (errno) {
sbin/swapon/swapon.c
883
if (errno != ENOENT)
sbin/sysctl/sysctl.c
1091
err(1, "sysctl name %d %zu %d", i, j, errno);
sbin/sysctl/sysctl.c
1347
if (errno == ENOENT)
sbin/sysctl/sysctl.c
311
errno = 0;
sbin/sysctl/sysctl.c
382
if (errno != 0 || endptr == newvalstr ||
sbin/sysctl/sysctl.c
464
if (errno == ENOENT) {
sbin/sysctl/sysctl.c
579
save_errno = errno;
sbin/sysctl/sysctl.c
905
assert(errno == 0);
sbin/sysctl/sysctl.c
929
if (*endptrp != str && *endptrp == p && errno == 0) {
sbin/sysctl/sysctl.c
942
if (*endptrp != str && *endptrp == p && errno == 0) {
sbin/sysctl/sysctl.c
948
errno = ERANGE;
sbin/sysctl/sysctl.c
994
err(1, "sysctl fmt %d %zu %d", i, j, errno);
sbin/umbctl/umbctl.c
223
return _error(2, "%s: %s", ifname, strerror(errno));
sbin/umbctl/umbctl.c
263
return _error(2, "%s: %s", ifname, strerror(errno));
sbin/umbctl/umbctl.c
280
return _error(2, "%s: %s", filename, strerror(errno));
sbin/umbctl/umbctl.c
308
return _error(2, "%s: %s", filename, strerror(errno));
sbin/umbctl/umbctl.c
352
return _error(-1, "%s: %s", ifname, strerror(errno));
sbin/umbctl/umbctl.c
494
return _error(-1, "socket: %s", strerror(errno));
sbin/umount/umount.c
414
if (errno != ENOENT || sfs->f_fsid.val[0] != 0 ||
sbin/umount/umount.c
417
if (errno != ENOENT) {
sbin/zfsbootcfg/zfsbootcfg.c
106
if (errno != 0 || *end != '\0')
sbin/zfsbootcfg/zfsbootcfg.c
114
if (errno != 0 || *end != '\0')
sbin/zfsbootcfg/zfsbootcfg.c
122
if (errno != 0 || *end != '\0')
sbin/zfsbootcfg/zfsbootcfg.c
130
if (errno != 0 || *end != '\0')
sbin/zfsbootcfg/zfsbootcfg.c
138
if (errno != 0 || *end != '\0') {
sbin/zfsbootcfg/zfsbootcfg.c
66
if (errno != 0 || *end != '\0')
sbin/zfsbootcfg/zfsbootcfg.c
74
if (errno != 0 || *end != '\0')
sbin/zfsbootcfg/zfsbootcfg.c
82
if (errno != 0 || *end != '\0')
sbin/zfsbootcfg/zfsbootcfg.c
90
if (errno != 0 || *end != '\0')
sbin/zfsbootcfg/zfsbootcfg.c
98
if (errno != 0 || *end != '\0')
share/examples/find_interface/find_interface.c
89
} while(rv < 0 && errno == EADDRINUSE);
share/examples/find_interface/find_interface.c
97
} while(rv < 0 && errno == EADDRINUSE);
share/examples/ipfilter/l4check/l4check.c
159
if (errno == EISCONN) {
share/examples/ipfilter/l4check/l4check.c
168
l4->l4_fd, strerror(errno));
share/examples/ipfilter/l4check/l4check.c
195
fd, strerror(errno));
share/examples/ipfilter/l4check/l4check.c
235
fd, (i == 0) ? "EOF" : strerror(errno));
share/examples/ipfilter/l4check/l4check.c
306
if (errno != EINPROGRESS) {
share/examples/ipfilter/samples/relay.c
116
se = errno;
share/examples/ipfilter/samples/relay.c
118
errno = se;
share/examples/ipfilter/samples/relay.c
136
se = errno;
share/examples/ipfilter/samples/relay.c
138
errno = se;
share/examples/ipfilter/samples/relay.c
150
se = errno;
share/examples/ipfilter/samples/relay.c
152
errno = se;
share/examples/ipfilter/samples/relay.c
161
se = errno;
share/examples/ipfilter/samples/relay.c
163
errno = se;
share/examples/ipfilter/samples/relay.c
174
se = errno;
share/examples/ipfilter/samples/relay.c
176
errno = se;
share/examples/ipfilter/samples/relay.c
188
se = errno;
share/examples/ipfilter/samples/relay.c
190
errno = se;
share/examples/ipfilter/samples/userauth.c
14
extern int errno;
share/examples/ipfilter/samples/userauth.c
59
fprintf(stderr, "errno=%d \n", errno);
share/examples/perfmon/perfmon.c
170
errno = 0;
share/examples/perfmon/perfmon.c
172
if (*buf && !*ep && !errno) {
share/examples/scsi_target/scsi_target.c
433
if (errno == EINTR) {
share/examples/ses/srcs/chpmon.c
118
v[dev], strerror(errno));
share/examples/ses/srcs/chpmon.c
81
v[dev], strerror(errno));
share/examples/ses/srcs/chpmon.c
90
v[dev], strerror(errno));
share/examples/ses/srcs/sesd.c
106
v[dev], strerror(errno));
share/examples/sunrpc/dir/dir_proc.c
27
res.errno = errno;
share/examples/sunrpc/dir/dir_proc.c
51
res.errno = 0;
share/examples/sunrpc/dir/dir_proc.c
8
extern int errno;
share/examples/sunrpc/dir/rls.c
63
if (result->errno != 0) {
share/examples/sunrpc/dir/rls.c
68
errno = result->errno;
share/examples/sunrpc/dir/rls.c
8
extern int errno;
stand/common/bcache.c
130
errno = ENOMEM;
stand/common/bcache.c
155
errno = ENOMEM;
stand/common/bcache.c
222
errno = ENODEV;
stand/common/gfx_fb.c
214
errno = 0;
stand/common/gfx_fb.c
217
if (*x == 0 || errno != 0)
stand/common/gfx_fb.c
223
if (*y == 0 || errno != 0)
stand/common/gfx_fb.c
230
if (*depth == 0 || errno != 0 || *end != '\0')
stand/common/install.c
111
return (errno);
stand/common/install.c
356
error = errno;
stand/common/interp_forth.c
389
"can't open '%s': %s", filename, strerror(errno));
stand/common/interp_simple.c
97
"can't open '%s': %s", filename, strerror(errno));
stand/common/load_elf.c
275
return (errno);
stand/common/load_elf_obj.c
102
return(errno);
stand/common/ls.c
186
"open '%s' failed: %s", path, strerror(errno));
stand/common/ls.c
191
"stat failed: %s", strerror(errno));
stand/common/misc.c
149
errno = ENOMEM;
stand/common/module.c
687
"can't open '%s': %s", name, strerror(errno));
stand/common/module.c
739
"error reading '%s': %s", name, strerror(errno));
stand/common/vdisk.c
111
if (errno == ENOSYS)
stand/common/vdisk.c
112
errno = ENOENT;
stand/common/vdisk.c
114
printf("%s: stat failed: %s\n", argv[0], strerror(errno));
stand/common/vdisk.c
139
printf("%s: open failed: %s\n", argv[0], strerror(errno));
stand/common/vdisk.c
207
errno = 0;
stand/common/vdisk.c
209
if (errno != 0 || (*end != '\0' && strcmp(end, ":") != 0)) {
stand/common/vdisk.c
274
errno = 0;
stand/common/vdisk.c
286
if (errno == 0 && rsize != NULL) {
stand/common/vdisk.c
289
return (errno);
stand/efi/include/efilib.h
115
EFI_STATUS errno_to_efi_status(int errno);
stand/efi/libefi/efi_console.c
499
errno = 0;
stand/efi/libefi/efi_console.c
501
if (errno != 0 || *end != '\0' || lval < 0 || lval > 15) {
stand/efi/libefi/eficom.c
481
errno = 0;
stand/efi/libefi/eficom.c
483
if (errno != 0 || *ep != '\0')
stand/efi/libefi/efipart.c
683
errno = 0;
stand/efi/libefi/efipart.c
685
if (errno != 0) {
stand/efi/libefi/errno.c
100
errno = EPERM;
stand/efi/libefi/errno.c
104
errno = EOVERFLOW;
stand/efi/libefi/errno.c
109
errno = EIO;
stand/efi/libefi/errno.c
113
errno = EINVAL;
stand/efi/libefi/errno.c
117
errno = ESTALE;
stand/efi/libefi/errno.c
121
errno = ENXIO;
stand/efi/libefi/errno.c
125
errno = ENOENT;
stand/efi/libefi/errno.c
129
errno = ENOMEM;
stand/efi/libefi/errno.c
133
errno = ENODEV;
stand/efi/libefi/errno.c
137
errno = ENOSPC;
stand/efi/libefi/errno.c
141
errno = EACCES;
stand/efi/libefi/errno.c
145
errno = 0;
stand/efi/libefi/errno.c
149
errno = EDOOFUS;
stand/efi/libefi/errno.c
153
return (errno);
stand/efi/libefi/errno.c
31
errno_to_efi_status(int errno)
stand/efi/libefi/errno.c
35
switch (errno) {
stand/efi/libefi/errno.c
96
int errno;
stand/efi/loader/arch/amd64/multiboot2.c
92
return (errno);
stand/efi/loader/copy.c
488
errno = ENOMEM;
stand/efi/loader/copy.c
501
errno = ENOMEM;
stand/efi/loader/copy.c
518
errno = ENOMEM;
stand/ficl/fileaccess.c
25
ior = errno;
stand/i386/libi386/i386_copy.c
41
errno = EFBIG;
stand/i386/libi386/i386_copy.c
53
errno = EFBIG;
stand/i386/libi386/i386_copy.c
67
errno = EFBIG;
stand/i386/libi386/multiboot.c
102
return (errno);
stand/i386/libi386/vbe.c
1177
errno = 0;
stand/i386/libi386/vbe.c
1179
if (errno != 0 || *arg == '\0' || cp[0] != '\0') {
stand/i386/libi386/vbe.c
1232
errno = 0;
stand/i386/libi386/vbe.c
1234
if (errno != 0 || *arg == '\0' || cp[0] != '\0') {
stand/i386/libi386/vbe.c
522
errno = 0;
stand/i386/libi386/vbe.c
524
if (errno != 0 || *(char *)value == '\0' || *end != '\0' ||
stand/i386/libi386/vidconsole.c
585
errno = 0;
stand/i386/libi386/vidconsole.c
587
if (errno != 0 || *end != '\0' || lval < 0 || lval > 15) {
stand/kboot/kboot/hostdisk.c
345
printf("hostdisk_open: couldn't open %s: %d\n", fn, errno);
stand/kboot/kboot/hostfs.c
146
errno = host_to_stand_errno(err);
stand/kboot/libkboot/dfk.c
13
#define perror(msg) printf("ERROR %d: %s\n", errno, msg)
stand/kboot/libkboot/termios.c
25
errno = EINVAL; /* XXX ?? */
stand/liblua/lutils.c
353
errno = EINVAL;
stand/liblua/lutils.c
360
errno = EINVAL;
stand/liblua/lutils.c
372
errno = EINVAL;
stand/libsa/arp.c
172
errno = 0; /* XXX */
stand/libsa/bootp.c
313
errno = 0;
stand/libsa/bootp.c
365
errno = 0;
stand/libsa/bootp.c
371
if (errno != 0 ||
stand/libsa/bootparam.c
279
errno = EBADRPC;
stand/libsa/bzipfs.c
322
errno = EINVAL;
stand/libsa/bzipfs.c
328
errno = EOFFSET;
stand/libsa/bzipfs.c
337
errno = bzf_read(f, discard, min(sizeof(discard),
stand/libsa/bzipfs.c
339
if (errno)
stand/libsa/cd9660.c
303
errno = 0;
stand/libsa/cd9660.c
307
return (errno);
stand/libsa/cd9660.c
351
errno = 0;
stand/libsa/cd9660.c
355
return (errno);
stand/libsa/cd9660.c
684
errno = 0;
stand/libsa/cd9660.c
687
return (errno);
stand/libsa/cd9660.c
702
errno = cd9660_read_dr(f, &mnt->cd_rec);
stand/libsa/cd9660.c
705
errno = ENXIO;
stand/libsa/cd9660.c
709
if (errno != 0) {
stand/libsa/cd9660.c
717
return (errno);
stand/libsa/close.c
103
errno = err2;
stand/libsa/close.c
71
errno = EBADF;
stand/libsa/close.c
99
errno = err1;
stand/libsa/closeall.c
44
errno = 0;
stand/libsa/dev.c
83
errno = 0;
stand/libsa/dev.c
85
if (errno != 0 || cp == devspec) {
stand/libsa/dosfs.c
237
return (errno);
stand/libsa/dosfs.c
248
return (errno);
stand/libsa/dosfs.c
276
errno = 0;
stand/libsa/dosfs.c
279
return (errno);
stand/libsa/dosfs.c
299
errno = ENXIO;
stand/libsa/dosfs.c
303
if (errno != 0) {
stand/libsa/dosfs.c
312
return (errno);
stand/libsa/dosfs.c
364
return (errno);
stand/libsa/dosfs.c
390
err = errno;
stand/libsa/dosfs.c
490
errno = EINVAL;
stand/libsa/dosfs.c
495
errno = EINVAL;
stand/libsa/environment.c
295
errno = EPERM;
stand/libsa/ext2fs.c
862
errno = EINVAL;
stand/libsa/fstat.c
41
errno = EBADF;
stand/libsa/fstat.c
47
errno = EOPNOTSUPP;
stand/libsa/fstat.c
51
errno = (f->f_ops->fo_stat)(f, sb);
stand/libsa/fstat.c
52
if (errno)
stand/libsa/globals.c
35
int errno; /* our old friend */
stand/libsa/gzipfs.c
302
errno = EINVAL;
stand/libsa/gzipfs.c
312
errno = zf_read(f, discard, min(sizeof(discard),
stand/libsa/gzipfs.c
314
if (errno)
stand/libsa/ioctl.c
70
errno = EBADF;
stand/libsa/ioctl.c
74
errno = EIO;
stand/libsa/ioctl.c
76
errno = (f->f_dev->dv_ioctl)(f, cmd, arg);
stand/libsa/ioctl.c
78
if (errno != 0)
stand/libsa/ip.c
211
errno = EAGAIN; /* Call me again. */
stand/libsa/ip.c
220
errno = EAGAIN; /* Call me again. */
stand/libsa/ip.c
228
errno = EAGAIN; /* Call me again. */
stand/libsa/ip.c
243
errno = EAGAIN; /* Call me again. */
stand/libsa/ip.c
322
errno = EAGAIN;
stand/libsa/ip.c
339
errno = EAGAIN;
stand/libsa/ip.c
410
errno = 0;
stand/libsa/ip.c
437
errno = 0;
stand/libsa/ip.c
448
if (errno != EAGAIN)
stand/libsa/ip.c
461
errno = ETIMEDOUT;
stand/libsa/lseek.c
114
errno = EINVAL;
stand/libsa/lseek.c
71
errno = EBADF;
stand/libsa/lseek.c
87
errno = EOFFSET;
stand/libsa/net.c
102
errno = ETIMEDOUT;
stand/libsa/net.c
107
errno = ETIMEDOUT;
stand/libsa/net.c
134
if (cc != -1 || (errno != 0 && errno != ETIMEDOUT))
stand/libsa/netif.c
306
errno = EBADF;
stand/libsa/netif.c
339
errno = EINVAL;
stand/libsa/netif.c
377
errno = err;
stand/libsa/nfs.c
156
errno = 0;
stand/libsa/nfs.c
158
if (errno != 0 || *env == '\0' || *end != '\0') {
stand/libsa/nfs.c
192
uint32_t errno;
stand/libsa/nfs.c
224
return (errno);
stand/libsa/nfs.c
230
if (repl->errno != 0) {
stand/libsa/nfs.c
232
return (ntohl(repl->errno));
stand/libsa/nfs.c
257
uint32_t errno;
stand/libsa/nfs.c
292
return (errno); /* XXX - from rpc_call */
stand/libsa/nfs.c
298
if (repl->errno != 0) {
stand/libsa/nfs.c
301
return (ntohl(repl->errno));
stand/libsa/nfs.c
328
uint32_t errno;
stand/libsa/nfs.c
355
return (errno);
stand/libsa/nfs.c
362
if (repl->errno != 0) {
stand/libsa/nfs.c
363
rc = ntohl(repl->errno);
stand/libsa/nfs.c
399
uint32_t errno;
stand/libsa/nfs.c
436
errno = EBADRPC;
stand/libsa/nfs.c
440
if (repl->errno != 0) {
stand/libsa/nfs.c
441
errno = ntohl(repl->errno);
stand/libsa/nfs.c
449
errno = EBADRPC;
stand/libsa/nfs.c
695
printf("nfs_read: read: %s\n", strerror(errno));
stand/libsa/nfs.c
697
return (errno); /* XXX - from nfs_readdata */
stand/libsa/nfs.c
734
errno = EINVAL;
stand/libsa/nfs.c
808
rc = errno;
stand/libsa/nfs.c
812
if (repl->errno != 0) {
stand/libsa/nfs.c
813
rc = ntohl(repl->errno);
stand/libsa/nfs.c
95
uint32_t errno;
stand/libsa/nullfs.c
88
errno = EIO;
stand/libsa/open.c
148
errno = EMFILE;
stand/libsa/open.c
210
errno = error;
stand/libsa/pager.c
136
printf("can't open '%s': %s\n", fname, strerror(errno));
stand/libsa/pkgfs.c
171
proto->fs_name, pkgname, fd, errno));
stand/libsa/pkgfs.c
174
return (errno);
stand/libsa/pkgfs.c
255
return (errno);
stand/libsa/pkgfs.c
340
return ((sz == -1) ? errno : 0);
stand/libsa/pkgfs.c
355
errno = EBADF;
stand/libsa/pkgfs.c
370
errno = EINVAL;
stand/libsa/pkgfs.c
385
errno = ESPIPE;
stand/libsa/pkgfs.c
393
errno = error;
stand/libsa/pkgfs.c
480
errno = EIO;
stand/libsa/pkgfs.c
489
errno = EIO;
stand/libsa/pkgfs.c
519
errno = EINVAL;
stand/libsa/pkgfs.c
527
errno = EINVAL;
stand/libsa/pkgfs.c
533
errno = EINVAL;
stand/libsa/pkgfs.c
540
errno = EINVAL;
stand/libsa/pkgfs.c
546
errno = ENOBUFS;
stand/libsa/pkgfs.c
558
errno = ENOMEM;
stand/libsa/pkgfs.c
771
errno = ENOSPC;
stand/libsa/pkgfs.c
810
errno = ENOSPC;
stand/libsa/preload.c
37
errno = EBADF;
stand/libsa/rarp.c
155
errno = 0; /* XXX */
stand/libsa/read.c
117
errno = (f->f_ops->fo_read)(f, dest, resid, &cresid);
stand/libsa/read.c
118
if (errno != 0)
stand/libsa/read.c
125
errno = (f->f_ops->fo_read)(f, f->f_rabuf, SOPEN_RASIZE,
stand/libsa/read.c
127
if (errno != 0)
stand/libsa/read.c
74
errno = EBADF;
stand/libsa/read.c
79
errno = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
stand/libsa/read.c
81
if (errno)
stand/libsa/readdir.c
38
errno = EBADF;
stand/libsa/readdir.c
42
errno = EIO;
stand/libsa/readdir.c
45
errno = (f->f_ops->fo_readdir)(f, &dir);
stand/libsa/readdir.c
46
if (errno)
stand/libsa/rpc.c
175
errno = EBADRPC;
stand/libsa/rpc.c
191
errno = EBADRPC;
stand/libsa/rpc.c
198
errno = EBADRPC;
stand/libsa/rpc.c
222
errno = 0;
stand/libsa/rpc.c
257
errno = ntohl(reply->rp_u.rpu_errno);
stand/libsa/rpc.c
258
printf("recvrpc: reject, astat=%d, errno=%d\n", x, errno);
stand/libsa/rpc.c
412
printf("getport: %s", strerror(errno));
stand/libsa/rpc.c
413
errno = EBADRPC;
stand/libsa/sbrk.c
61
errno = ENOMEM;
stand/libsa/splitfs.c
167
errno = split_openfile(sf);
stand/libsa/splitfs.c
168
if (errno != 0) {
stand/libsa/splitfs.c
204
return (errno);
stand/libsa/splitfs.c
217
return (errno);
stand/libsa/splitfs.c
220
errno = split_openfile(sf);
stand/libsa/splitfs.c
221
if (errno)
stand/libsa/splitfs.c
222
return (errno);
stand/libsa/splitfs.c
253
errno = EINVAL;
stand/libsa/splitfs.c
267
errno = ENOMEM;
stand/libsa/splitfs.c
274
errno = splitfs_read(f, tmp, min(seek_by, SEEK_BUF), &resid);
stand/libsa/splitfs.c
276
if ((errno != 0) || (nread == 0))
stand/libsa/splitfs.c
281
if (errno != 0)
stand/libsa/splitfs.c
291
errno = EINVAL;
stand/libsa/splitfs.c
88
if ((sf->curfd == -1) && (errno != ENOENT))
stand/libsa/splitfs.c
89
return (errno);
stand/libsa/stand.h
177
extern int errno;
stand/libsa/tftp.c
206
errno = 0;
stand/libsa/tftp.c
257
errno = EIO;
stand/libsa/tftp.c
260
errno = tftperrors[tftp_error];
stand/libsa/tftp.c
291
errno = EIO;
stand/libsa/tftp.c
373
__func__, h->path, h->id, errno));
stand/libsa/tftp.c
375
return (errno);
stand/libsa/tftp.c
402
return (errno);
stand/libsa/tftp.c
439
__func__, h->path, h->id, errno));
stand/libsa/tftp.c
441
return (errno);
stand/libsa/tftp.c
722
errno = EOFFSET;
stand/libsa/ufs.c
514
errno = 0;
stand/libsa/ufs.c
517
return (errno);
stand/libsa/ufs.c
841
errno = EINVAL;
stand/libsa/ufs.c
915
errno = 0;
stand/libsa/ufs.c
918
return (errno);
stand/libsa/ufs.c
937
errno = ENXIO;
stand/libsa/ufs.c
940
if (errno != 0) {
stand/libsa/ufs.c
949
return (errno);
stand/libsa/write.c
72
errno = EBADF;
stand/libsa/write.c
77
errno = (f->f_dev->dv_strategy)(f->f_devdata, F_WRITE,
stand/libsa/write.c
80
if (errno)
stand/libsa/write.c
86
if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid)))
stand/libsa/zfs/zfs.c
1059
errno = 0;
stand/libsa/zfs/zfs.c
1061
if (errno != 0 || *data == '\0' || *end != '\0')
stand/libsa/zfs/zfs.c
1074
errno = 0;
stand/libsa/zfs/zfs.c
1076
if (errno != 0 || *data == '\0' || *end != '\0')
stand/libsa/zfs/zfs.c
200
errno = error;
stand/libsa/zfs/zfs.c
207
errno = EINVAL;
stand/libsa/zfs/zfs.c
395
errno = 0;
stand/libsa/zfs/zfs.c
524
ret = errno;
stand/libsa/zfs/zfs.c
618
ret = errno;
stand/userboot/test/test.c
149
error = errno;
stand/userboot/test/test.c
186
error = errno;
stand/userboot/test/test.c
342
return (errno);
stand/userboot/test/test.c
383
return (errno);
stand/userboot/test/test.c
398
return (errno);
sys/cam/ata/ata_all.c
322
errno != ENOMEM)
sys/cam/ata/ata_all.c
357
errno != ENOMEM)
sys/cam/nvme/nvme_all.c
126
errno != ENOMEM)
sys/cam/scsi/scsi_all.c
3597
errno != ENOMEM)
sys/crypto/ccp/ccp_hardware.c
462
int errno;
sys/crypto/ccp/ccp_hardware.c
517
errno = EIO;
sys/crypto/ccp/ccp_hardware.c
519
errno = ec->ce_errno;
sys/crypto/ccp/ccp_hardware.c
521
cctx->callback_fn(qp, cctx->session, cctx->callback_arg, errno);
sys/dev/aic7xxx/aic79xx.c
66
uint8_t errno;
sys/dev/aic7xxx/aic79xx.c
893
if ((error & ahd_hard_errors[i].errno) != 0) {
sys/dev/aic7xxx/aic7xxx.c
75
uint8_t errno;
sys/dev/iicbus/iiconf.c
48
errno2iic(int errno)
sys/dev/iicbus/iiconf.c
50
return ((errno == 0) ? 0 : errno | IIC_ERRNO);
sys/dev/isp/isp_target.c
468
isp_acknak_abts(ispsoftc_t *isp, void *arg, int errno)
sys/dev/isp/isp_target.c
486
(errno == 0) ? "BA_ACC" : "BA_RJT");
sys/dev/isp/isp_target.c
487
rsp->abts_rsp_r_ctl = (errno == 0) ? BA_ACC : BA_RJT;
sys/dev/isp/isp_target.c
506
if (errno == 0) {
sys/dev/isp/isp_target.c
517
switch (errno) {
sys/dev/mlx4/mlx4_core/mlx4.h
179
u32 errno;
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
168
static u8 mlx4_errno_to_status(int errno)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
170
switch (errno) {
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
1801
vhcr->op, slave, vhcr->errno, err);
sys/geom/geom_ctl.c
124
gctl_msg(struct gctl_req *req, int errno, const char *fmt, ...)
sys/geom/geom_ctl.c
137
req->nerror = errno;
sys/kern/subr_prf.c
1351
return (-errno);
sys/kern/subr_sbuf.c
694
s->s_error = errno;
sys/kern/subr_sbuf.c
848
errno = s->s_error;
sys/kern/subr_unit.c
1290
errno = 0;
sys/kern/subr_unit.c
1292
if (errno == ERANGE || errno == EINVAL) {
sys/net/netmap_user.h
642
errno = 0;
sys/net/netmap_user.h
811
if (!errno)
sys/net/netmap_user.h
812
errno = EINVAL;
sys/net/netmap_user.h
840
errno = 0; /* name not recognised, not an error */
sys/net/netmap_user.h
847
errno = ENOMEM;
sys/net/netmap_user.h
853
snprintf(errmsg, MAXERRMSG, "cannot open /dev/netmap: %s", strerror(errno));
sys/net/netmap_user.h
903
snprintf(errmsg, MAXERRMSG, "NIOCREGIF failed: %s", strerror(errno));
sys/net/netmap_user.h
933
snprintf(errmsg, MAXERRMSG, "mmap failed: %s", strerror(errno));
sys/net/netmap_user.h
964
if (errno == 0)
sys/net/netmap_user.h
965
errno = EINVAL;
sys/netinet/tcp_subr.c
2392
tcp_drop(struct tcpcb *tp, int errno)
sys/netinet/tcp_subr.c
2406
if (errno == ETIMEDOUT && tp->t_softerror)
sys/netinet/tcp_subr.c
2407
errno = tp->t_softerror;
sys/netinet/tcp_subr.c
2408
so->so_error = errno;
sys/netinet/tcp_subr.c
3099
int errno, mtu;
sys/netinet/tcp_subr.c
3101
errno = icmp_errmap(icp);
sys/netinet/tcp_subr.c
3102
switch (errno) {
sys/netinet/tcp_subr.c
3132
if (tp->t_flags & TF_TOE && errno == EMSGSIZE) {
sys/netinet/tcp_subr.c
3146
if (errno == EMSGSIZE) {
sys/netinet/tcp_subr.c
3167
inp = (*notify)(inp, errno);
sys/netinet/tcp_subr.c
3258
int errno;
sys/netinet/tcp_subr.c
3266
errno = icmp6_errmap(icmp6);
sys/netinet/tcp_subr.c
3267
switch (errno) {
sys/netinet/tcp_subr.c
3321
if (tp->t_flags & TF_TOE && errno == EMSGSIZE) {
sys/netinet/tcp_subr.c
3332
if (errno == EMSGSIZE) {
sys/netinet/tcp_subr.c
3360
inp = (*notify)(inp, errno);
sys/netinet/tcp_subr.c
3558
tcp_drop_syn_sent(struct inpcb *inp, int errno)
sys/netinet/tcp_subr.c
3572
tp = tcp_drop(tp, errno);
sys/netinet/udp_usrreq.c
718
udp_notify(struct inpcb *inp, int errno)
sys/netinet/udp_usrreq.c
722
if ((errno == EHOSTUNREACH || errno == ENETUNREACH ||
sys/netinet/udp_usrreq.c
723
errno == EHOSTDOWN) && inp->inp_route.ro_nh) {
sys/netinet/udp_usrreq.c
728
inp->inp_socket->so_error = errno;
sys/netinet/udp_var.h
181
struct inpcb *udp_notify(struct inpcb *inp, int errno);
sys/netinet6/in6_pcb.c
635
int errno, void *cmdarg,
sys/netinet6/in6_pcb.c
662
if (errno == EMSGSIZE && cmdarg != NULL)
sys/netinet6/in6_pcb.c
691
(*notify)(inp, errno);
sys/netinet6/in6_pcb.c
853
in6_rtchange(struct inpcb *inp, int errno __unused)
sys/netinet6/raw_ip6.c
333
int errno;
sys/netinet6/raw_ip6.c
335
if ((errno = icmp6_errmap(ip6cp->ip6c_icmp6)) != 0)
sys/netinet6/raw_ip6.c
337
ip6cp->ip6c_src, 0, errno, ip6cp->ip6c_cmdarg,
sys/netinet6/udp6_usrreq.c
567
int errno, off = 0;
sys/netinet6/udp6_usrreq.c
573
if ((errno = icmp6_errmap(ip6cp->ip6c_icmp6)) == 0)
sys/netinet6/udp6_usrreq.c
602
ip6cp->ip6c_src, uh.uh_sport, errno, ip6cp->ip6c_cmdarg,
sys/netlink/netlink_snl.h
361
} else if (errno != EINTR)
sys/netlink/netlink_snl.h
393
} else if (errno != EINTR)
sys/netpfil/pf/inet_nat64.c
128
errno = EINVAL;
sys/netpfil/pf/inet_nat64.c
158
errno = EINVAL;
sys/netpfil/pf/inet_nat64.c
170
errno = EAFNOSUPPORT;
sys/netpfil/pf/inet_nat64.c
57
errno = EAFNOSUPPORT;
sys/netpfil/pf/inet_nat64.c
84
errno = EINVAL;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
600
sdp_drop(struct sdp_sock *ssk, int errno)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
608
if (errno == ETIMEDOUT && ssk->softerror)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
609
errno = ssk->softerror;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
610
so->so_error = errno;
sys/security/audit/bsm_token.c
1261
if (errno == ENOSYS) {
sys/security/audit/bsm_token.c
1542
if (errno != ENOSYS)
sys/teken/demo/teken_demo.c
328
if (errno == EINTR) {
tests/freebsd_test_suite/macros.h
50
_mod_name, strerror(errno)); \
tests/freebsd_test_suite/macros.h
59
strerror(errno)); \
tests/freebsd_test_suite/macros.h
71
strerror(errno)); \
tests/freebsd_test_suite/macros.h
89
_mod_name, strerror(errno)); \
tests/sys/aio/aio_kqueue_test.c
162
error = errno;
tests/sys/aio/aio_kqueue_test.c
208
result, errno, sizeof(buffer));
tests/sys/aio/aio_test.c
1001
"zpool create failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1006
"zfs create failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1011
} while (fd == -1 && errno == EINTR);
tests/sys/aio/aio_test.c
1012
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1024
if (pidfile == NULL && errno == ENOENT) {
tests/sys/aio/aio_test.c
1028
ATF_REQUIRE_MSG(NULL != pidfile, "fopen: %s", strerror(errno));
tests/sys/aio/aio_test.c
1055
atf_libc_error(errno, "Failed to read debug.iosize_max_clamp");
tests/sys/aio/aio_test.c
1066
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1076
strerror(errno));
tests/sys/aio/aio_test.c
1080
atf_tc_fail("aio_waitcomplete() failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1090
if (errno == EINVAL)
tests/sys/aio/aio_test.c
1093
strerror(errno));
tests/sys/aio/aio_test.c
1098
if (errno == EINVAL)
tests/sys/aio/aio_test.c
1100
atf_tc_fail("aio_waitcomplete() failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1472
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1479
ATF_CHECK_EQ(EINVAL, errno);
tests/sys/aio/aio_test.c
1485
ATF_CHECK_EQ(EBADF, errno);
tests/sys/aio/aio_test.c
1492
ATF_CHECK_EQ(EINVAL, errno);
tests/sys/aio/aio_test.c
1515
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1603
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1618
ATF_CHECK_MSG(errno == EFAULT || errno == EINVAL,
tests/sys/aio/aio_test.c
1619
"aio_writev: %s", strerror(errno));
tests/sys/aio/aio_test.c
1640
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1652
ATF_CHECK_EQ(EINVAL, errno);
tests/sys/aio/aio_test.c
1696
ATF_CHECK_EQ(EFAULT, errno);
tests/sys/aio/aio_test.c
1714
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1736
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1766
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1826
atf_libc_error(errno, "Failed to read %s", oid);
tests/sys/aio/aio_test.c
1847
atf_tc_fail("aio_writev failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1851
atf_tc_fail("aio failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1865
atf_tc_fail("aio_readv failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1869
atf_tc_fail("aio failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
188
errno = EINTR;
tests/sys/aio/aio_test.c
1968
atf_tc_fail("aio_writev failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1972
atf_tc_fail("aio failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
1984
atf_tc_fail("aio_readv failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
315
atf_tc_fail("aio_write failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
319
atf_tc_fail("aio failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
356
atf_tc_fail("aio_writev failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
360
atf_tc_fail("aio failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
386
atf_tc_fail("aio_read failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
390
atf_tc_fail("aio failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
423
atf_tc_fail("aio_read failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
427
atf_tc_fail("aio failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
458
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
519
"mkfifo failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
523
error = errno;
tests/sys/aio/aio_test.c
524
errno = error;
tests/sys/aio/aio_test.c
526
strerror(errno));
tests/sys/aio/aio_test.c
531
error = errno;
tests/sys/aio/aio_test.c
532
errno = error;
tests/sys/aio/aio_test.c
534
strerror(errno));
tests/sys/aio/aio_test.c
590
"socketpair failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
594
"getrusage failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
603
"getrusage failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
664
"openpty failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
668
error = errno;
tests/sys/aio/aio_test.c
669
errno = error;
tests/sys/aio/aio_test.c
670
atf_tc_fail("tcgetattr failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
674
error = errno;
tests/sys/aio/aio_test.c
675
errno = error;
tests/sys/aio/aio_test.c
676
atf_tc_fail("tcsetattr failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
733
"pipe failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
792
"opening /dev/%s failed: %s", MDCTL_NAME, strerror(errno));
tests/sys/aio/aio_test.c
804
error = errno;
tests/sys/aio/aio_test.c
805
errno = error;
tests/sys/aio/aio_test.c
806
atf_tc_fail("ioctl MDIOCATTACH failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
817
"opening %s failed: %s", pathname, strerror(errno));
tests/sys/aio/aio_test.c
832
strerror(errno));
tests/sys/aio/aio_test.c
845
unit, strerror(errno));
tests/sys/aio/aio_test.c
988
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
990
ftruncate(fd, POOL_SIZE), "ftruncate failed: %s", strerror(errno));
tests/sys/aio/aio_test.c
994
ATF_REQUIRE_MSG(NULL != pidfile, "fopen: %s", strerror(errno));
tests/sys/aio/lio_kqueue_test.c
128
error = errno;
tests/sys/aio/lio_kqueue_test.c
136
errno = error;
tests/sys/aio/lio_kqueue_test.c
160
error = errno;
tests/sys/aio/lio_kqueue_test.c
208
run, LIO_MAX - i -1, k, result, errno, sizeof(buffer));
tests/sys/aio/lio_test.c
119
ATF_REQUIRE_EQ(errno, EAGAIN);
tests/sys/aio/lio_test.c
204
"lio_listio: %s", strerror(errno));
tests/sys/aio/lio_test.c
223
ATF_REQUIRE_MSG(fd >= 0, "open: %s", strerror(errno));
tests/sys/aio/lio_test.c
302
ATF_REQUIRE_MSG(fd >= 0, "open: %s", strerror(errno));
tests/sys/aio/local.h
50
if (errno == ENOENT)
tests/sys/aio/local.h
60
atf_libc_error(errno, "Failed to read %s", sysctl_oid_name); \
tests/sys/audit/utils.c
101
atf_tc_fail("Preselection mode: %s", strerror(errno));
tests/sys/audit/utils.c
105
atf_tc_fail("Preselection flag: %s", strerror(errno));
tests/sys/audit/utils.c
109
atf_tc_fail("Preselection naflag: %s", strerror(errno));
tests/sys/audit/utils.c
113
atf_tc_fail("Query max-limit: %s", strerror(errno));
tests/sys/audit/utils.c
117
atf_tc_fail("Set max-qlimit: %s", strerror(errno));
tests/sys/audit/utils.c
121
atf_tc_fail("Auditpipe flush: %s", strerror(errno));
tests/sys/audit/utils.c
184
atf_tc_fail("Poll: %s", strerror(errno));
tests/sys/audit/utils.c
220
if (result == -1 && errno == EOPNOTSUPP) {
tests/sys/audit/utils.c
249
ATF_REQUIRE_MSG(errno == ENODEV,
tests/sys/audit/utils.c
250
"Unexpected error from auditon(2): %s", strerror(errno));
tests/sys/audit/utils.h
42
errno = 0; /* Reset errno before call */ \
tests/sys/audit/utils.h
46
"%s failed with errno %d (%s)", #call, errno, \
tests/sys/audit/utils.h
47
strerror(errno)); \
tests/sys/capsicum/capability-fd.cc
1043
if (rc < 0 && errno != EEXIST) return;
tests/sys/capsicum/capability-fd.cc
1111
if (rc < 0 && errno != EEXIST) return;
tests/sys/capsicum/capability-fd.cc
1159
if (rc < 0 && errno == ENOTSUP) {
tests/sys/capsicum/capability-fd.cc
1232
EXPECT_EQ(ESPIPE, errno);
tests/sys/capsicum/capability-fd.cc
1239
EXPECT_EQ(ESPIPE, errno);
tests/sys/capsicum/capability-fd.cc
1245
EXPECT_EQ(ENOTCAPABLE, errno);
tests/sys/capsicum/capability-fd.cc
1272
EXPECT_EQ(EPERM, errno);
tests/sys/capsicum/capability-fd.cc
128
fprintf(out, "Failed to get rights for fd %d: errno %d\n", fd, errno);
tests/sys/capsicum/capability-fd.cc
168
fprintf(out, "Failed to getrlimit for max FDs: errno %d\n", errno);
tests/sys/capsicum/capability-fd.cc
382
EXPECT_EQ(ENOTCAPABLE, errno); \
tests/sys/capsicum/capability-fd.cc
389
EXPECT_EQ(ENOTCAPABLE, errno); \
tests/sys/capsicum/capability-fd.cc
395
EXPECT_NE(MAP_FAILED, rv) << " with errno " << errno; \
tests/sys/capsicum/capability-fd.cc
899
if (rc < 0 && errno != EEXIST) return;
tests/sys/capsicum/capability-fd.cc
951
EXPECT_EQ(ENOTCAPABLE, errno);
tests/sys/capsicum/capmode.cc
129
EXPECT_NE(ECAPMODE, errno);
tests/sys/capsicum/capmode.cc
159
EXPECT_EQ(EAGAIN, errno);
tests/sys/capsicum/capmode.cc
335
errno = 0;
tests/sys/capsicum/capmode.cc
337
EXPECT_EQ(0, errno);
tests/sys/capsicum/capmode.cc
366
EXPECT_NE(ECAPMODE, errno);
tests/sys/capsicum/capmode.cc
397
if (rc < 0 && errno != EEXIST) return;
tests/sys/capsicum/capmode.cc
433
errno = 0;
tests/sys/capsicum/capmode.cc
436
EXPECT_NE(ECAPMODE, errno);
tests/sys/capsicum/capmode.cc
459
if (rc < 0 && errno != EEXIST) return;
tests/sys/capsicum/capmode.cc
554
errno = 0;
tests/sys/capsicum/capmode.cc
561
errno = 0;
tests/sys/capsicum/capmode.cc
563
EXPECT_EQ(0, errno);
tests/sys/capsicum/capsicum-test-main.cc
125
std::cerr << "Failed to get entry for " << argv[ii] << ", errno=" << errno << std::endl;
tests/sys/capsicum/capsicum-test-main.cc
45
GTEST_FAIL() << "sysctlbyname failed: " << strerror(errno);
tests/sys/capsicum/capsicum-test-main.cc
59
strerror(errno);
tests/sys/capsicum/capsicum-test.cc
47
if (sysctl(name, nitems(name), NULL, &len, NULL, 0) < 0 && errno == ESRCH) {
tests/sys/capsicum/capsicum-test.cc
54
errno = 0;
tests/sys/capsicum/capsicum-test.cc
59
count, strerror(errno));
tests/sys/capsicum/capsicum-test.h
138
#define EXPECT_OK(v) EXPECT_LE(0, v) << " errno " << errno << " " << strerror(errno)
tests/sys/capsicum/capsicum-test.h
145
EXPECT_EQ(E, errno) << "expected '" << strerror(E) \
tests/sys/capsicum/capsicum-test.h
146
<< "' but got '" << strerror(errno) << "'"; \
tests/sys/capsicum/capsicum-test.h
153
EXPECT_NE(E, errno) << strerror(E); \
tests/sys/capsicum/capsicum-test.h
159
errno = 0; \
tests/sys/capsicum/capsicum-test.h
161
EXPECT_NE(E, errno) << #C << " failed with ECAPMODE"; \
tests/sys/capsicum/capsicum-test.h
206
EXPECT_TRUE(errno == ECAPMODE || errno == ENOTCAPABLE) \
tests/sys/capsicum/capsicum-test.h
207
<< #C << " did not fail with ECAPMODE/ENOTCAPABLE but " << errno \
tests/sys/capsicum/capsicum-test.h
208
<< "(" << strerror(errno) << ")"; \
tests/sys/capsicum/capsicum-test.h
95
strerror(errno), errno); \
tests/sys/capsicum/copy_file_range.cc
27
EXPECT_EQ(EEXIST, errno);
tests/sys/capsicum/fcntl.cc
37
if ((files["SHM"] == -1) && errno == ENOSYS) {
tests/sys/capsicum/fcntl.cc
66
EXPECT_EQ(ENOTCAPABLE, errno) << " on " << ii->first;
tests/sys/capsicum/fexecve.cc
124
EXPECT_EQ(EACCES, errno);
tests/sys/capsicum/fexecve.cc
150
EXPECT_EQ(ECAPMODE, errno);
tests/sys/capsicum/fexecve.cc
99
EXPECT_EQ(ENOTCAPABLE, errno);
tests/sys/capsicum/ioctl.cc
203
EXPECT_EQ(EINVAL, errno);
tests/sys/capsicum/linux.cc
1041
EXPECT_EQ(EACCES, errno);
tests/sys/capsicum/linux.cc
1195
errno = 0;
tests/sys/capsicum/linux.cc
1197
if (rc == -1 && errno == ENOSYS) {
tests/sys/capsicum/linux.cc
1332
EXPECT_EQ(EINVAL, errno);
tests/sys/capsicum/linux.cc
1335
EXPECT_EQ(EINVAL, errno);
tests/sys/capsicum/linux.cc
1339
EXPECT_EQ(EINVAL, errno);
tests/sys/capsicum/linux.cc
1342
EXPECT_EQ(EINVAL, errno);
tests/sys/capsicum/linux.cc
1345
EXPECT_EQ(EINVAL, errno);
tests/sys/capsicum/linux.cc
1348
EXPECT_EQ(EFAULT, errno);
tests/sys/capsicum/linux.cc
1352
EXPECT_EQ(EINVAL, errno);
tests/sys/capsicum/linux.cc
1356
EXPECT_EQ(EINVAL, errno);
tests/sys/capsicum/linux.cc
1396
errno = ENOSYS;
tests/sys/capsicum/linux.cc
1417
errno = ENOSYS;
tests/sys/capsicum/linux.cc
1426
if (memfd == -1 && errno == ENOSYS) {
tests/sys/capsicum/linux.cc
1473
EXPECT_EQ(EBUSY, errno);
tests/sys/capsicum/linux.cc
414
EXPECT_TRUE(rc == 0 || errno == EEXIST);
tests/sys/capsicum/linux.cc
607
fprintf(stderr, "fexecve(%s) returned %d errno %d\n", progs[ii], rc, errno);
tests/sys/capsicum/mqueue.cc
36
if (mq < 0 && errno == ENOSYS) {
tests/sys/capsicum/openat.cc
173
EXPECT_EQ(EEXIST, errno);
tests/sys/capsicum/openat.cc
178
EXPECT_EQ(EEXIST, errno);
tests/sys/capsicum/procdesc.cc
148
EXPECT_EQ(ECHILD, errno);
tests/sys/capsicum/procdesc.cc
160
EXPECT_EQ(EINVAL, errno);
tests/sys/capsicum/procdesc.cc
175
EXPECT_EQ(EBADF, errno);
tests/sys/capsicum/procdesc.cc
496
EXPECT_EQ(errno, ECHILD);
tests/sys/capsicum/procdesc.cc
501
EXPECT_EQ(EBADF, errno);
tests/sys/capsicum/procdesc.cc
524
EXPECT_EQ(EBADF, errno);
tests/sys/capsicum/procdesc.cc
526
errno = 0;
tests/sys/capsicum/procdesc.cc
528
EXPECT_EQ(0, errno);
tests/sys/capsicum/procdesc.cc
558
EXPECT_EQ(EPERM, errno);
tests/sys/capsicum/procdesc.cc
610
EXPECT_EQ(ECHILD, errno);
tests/sys/capsicum/procdesc.cc
637
errno = 0;
tests/sys/capsicum/procdesc.cc
639
EXPECT_EQ(0, errno);
tests/sys/capsicum/procdesc.cc
644
EXPECT_EQ(ESRCH, errno);
tests/sys/capsicum/procdesc.cc
681
EXPECT_EQ(EINVAL, errno);
tests/sys/capsicum/procdesc.cc
76
fprintf(stderr, "Warning: waitpid error %s (%d)\n", strerror(errno), errno);
tests/sys/capsicum/procdesc.cc
796
EXPECT_EQ(errno, ECHILD);
tests/sys/capsicum/procdesc.cc
832
EXPECT_EQ(ECHILD, errno);
tests/sys/capsicum/sctp.cc
169
if (len < 0 && errno == EAGAIN) goto retry;
tests/sys/capsicum/sctp.cc
63
if (sock == -1 && errno == EPROTONOSUPPORT) {
tests/sys/capsicum/smoketest.c
100
if (rc < 0) fprintf(stderr, "*** cap_enter() failed: errno=%d %s\n", errno, strerror(errno));
tests/sys/capsicum/smoketest.c
104
if (rc < 0) fprintf(stderr, "*** cap_getmode() failed: errno=%d %s\n", errno, strerror(errno));
tests/sys/capsicum/smoketest.c
108
fprintf(stderr, " [%d] open('/etc/passwd') -> rc=%d, errno=%d\n", getpid(), rc, errno);
tests/sys/capsicum/smoketest.c
110
if (errno != ECAPMODE) fprintf(stderr, "*** open() failed with errno %d not ECAPMODE\n", errno);
tests/sys/capsicum/smoketest.c
123
fprintf(stderr, "*** fexecve(fd=%d) failed: rc=%d errno=%d %s\n", ls_bin, rc, errno, strerror(errno));
tests/sys/capsicum/smoketest.c
35
if (rc < 0) fprintf(stderr, "*** cap_rights_limit() failed: errno=%d %s\n", errno, strerror(errno));
tests/sys/capsicum/smoketest.c
44
if (rc < 0) fprintf(stderr, "*** cap_rights_get() failed: errno=%d %s\n", errno, strerror(errno));
tests/sys/capsicum/smoketest.c
49
fprintf(stderr, "[%d] fstat(cap_fd=%d) rc=%d errno=%d\n", getpid(), cap_fd, rc, errno);
tests/sys/capsicum/smoketest.c
55
if (rc < 0) fprintf(stderr, "*** pdfork() failed: errno=%d %s\n", errno, strerror(errno));
tests/sys/capsicum/smoketest.c
72
if (rc < 0) fprintf(stderr, "*** pdgetpid(pd=%d) failed: errno=%d %s\n", pd, errno, strerror(errno));
tests/sys/capsicum/smoketest.c
80
if (rc < 0) fprintf(stderr, "*** pdkill() failed: errno=%d %s\n", errno, strerror(errno));
tests/sys/capsicum/smoketest.c
96
if (rc < 0) fprintf(stderr, "*** cap_getmode() failed: errno=%d %s\n", errno, strerror(errno));
tests/sys/capsicum/syscalls.h
49
errno = EINVAL;
tests/sys/capsicum/waittest.c
15
fprintf(stderr, "pdfork() failed rc=%d errno=%d %s\n", rc, errno, strerror(errno));
tests/sys/capsicum/waittest.c
28
fprintf(stderr, "waitpid(): failed errno=%d %s\n", errno, strerror(errno));
tests/sys/cddl/zfs/bin/chg_usr_exec.c
59
return (errno);
tests/sys/cddl/zfs/bin/chg_usr_exec.c
63
return (errno);
tests/sys/cddl/zfs/bin/chg_usr_exec.c
67
return (errno);
tests/sys/cddl/zfs/bin/chg_usr_exec.c
72
return (errno);
tests/sys/cddl/zfs/bin/dir_rd_update.c
72
if (errno != EEXIST) {
tests/sys/cddl/zfs/bin/dir_rd_update.c
75
argv[0], dirpath, errno);
tests/sys/cddl/zfs/bin/dir_rd_update.c
83
argv[0], dirpath, errno);
tests/sys/cddl/zfs/bin/file_check.c
65
(void) printf("open %s failed %d\n", argv[1], errno);
tests/sys/cddl/zfs/bin/file_check.c
71
(void) printf("read failed (%ld), %d\n", n, errno);
tests/sys/cddl/zfs/bin/file_check.c
72
exit(errno);
tests/sys/cddl/zfs/bin/file_write.c
177
strerror(errno), errno);
tests/sys/cddl/zfs/bin/file_write.c
178
exit(errno);
tests/sys/cddl/zfs/bin/file_write.c
184
filename, offset, noffset, strerror(errno), errno);
tests/sys/cddl/zfs/bin/file_write.c
185
exit(errno);
tests/sys/cddl/zfs/bin/file_write.c
203
strerror(errno), errno);
tests/sys/cddl/zfs/bin/file_write.c
204
exit(errno);
tests/sys/cddl/zfs/bin/largest_file.c
100
if (errno == EFBIG) {
tests/sys/cddl/zfs/bin/largest_file.c
105
err = errno;
tests/sys/cddl/zfs/bin/largest_file.c
72
err = errno;
tests/sys/cddl/zfs/bin/largest_file.c
79
err = errno;
tests/sys/cddl/zfs/bin/largest_file.c
86
err = errno;
tests/sys/cddl/zfs/bin/largest_file.c
94
err = errno;
tests/sys/cddl/zfs/bin/mkfile.c
108
errno = ERANGE;
tests/sys/cddl/zfs/bin/mkfile.c
98
errno = EINVAL;
tests/sys/cddl/zfs/bin/mktree.c
113
dname, errno, strerror(errno));
tests/sys/cddl/zfs/bin/mktree.c
114
exit(errno);
tests/sys/cddl/zfs/bin/mktree.c
169
"\n[%d]: %s.\n", pname, errno, strerror(errno));
tests/sys/cddl/zfs/bin/mktree.c
170
exit(errno);
tests/sys/cddl/zfs/bin/mktree.c
174
"\n[%d]: %s.\n", errno, strerror(errno));
tests/sys/cddl/zfs/bin/mktree.c
175
exit(errno);
tests/sys/cddl/zfs/bin/mktree.c
181
errno, strerror(errno));
tests/sys/cddl/zfs/bin/mktree.c
182
exit(errno);
tests/sys/cddl/zfs/bin/mktree.c
186
"\n[%d]: %s.\n", errno, strerror(errno));
tests/sys/cddl/zfs/bin/mktree.c
187
exit(errno);
tests/sys/cddl/zfs/bin/mktree.c
41
extern int errno;
tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c
65
if (ret < 0 && errno != ENOENT)
tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c
83
if (ret < 0 && errno != ENOENT)
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
223
ret = errno;
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
249
ret = errno;
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
282
ret = errno;
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
303
ret = errno;
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
330
ret = errno;
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
350
ret = errno;
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
370
ret = errno;
tests/sys/cddl/zfs/tests/exec/mmap_exec.c
35
extern int errno;
tests/sys/cddl/zfs/tests/exec/mmap_exec.c
50
errno = 0;
tests/sys/cddl/zfs/tests/exec/mmap_exec.c
54
return (errno);
tests/sys/cddl/zfs/tests/exec/mmap_exec.c
58
return (errno);
tests/sys/cddl/zfs/tests/exec/mmap_exec.c
64
return (errno);
tests/sys/cddl/zfs/tests/threadsappend/threadsappend.c
98
" : errno (decimal)=%d\n", errno);
tests/sys/fifo/fifo_create.c
122
error = errno;
tests/sys/fifo/fifo_create.c
124
errno = error;
tests/sys/fifo/fifo_create.c
144
if (errno != EEXIST)
tests/sys/fifo/fifo_create.c
149
error = errno;
tests/sys/fifo/fifo_create.c
151
errno = error;
tests/sys/fifo/fifo_create.c
174
if (errno != ENOENT)
tests/sys/fifo/fifo_create.c
232
error = errno;
tests/sys/fifo/fifo_create.c
234
errno = error;
tests/sys/fifo/fifo_io.c
140
error = errno;
tests/sys/fifo/fifo_io.c
142
errno = error;
tests/sys/fifo/fifo_io.c
224
switch (errno) {
tests/sys/fifo/fifo_io.c
329
error = errno;
tests/sys/fifo/fifo_io.c
340
errno = error;
tests/sys/fifo/fifo_io.c
369
error = errno;
tests/sys/fifo/fifo_io.c
380
errno = error;
tests/sys/fifo/fifo_io.c
432
if (errno != EINTR) {
tests/sys/fifo/fifo_io.c
455
if (errno != EAGAIN) {
tests/sys/fifo/fifo_io.c
941
errno = kp->data;
tests/sys/fifo/fifo_kqueue.c
184
ATF_REQUIRE(errno == EAGAIN || errno == EWOULDBLOCK);
tests/sys/fifo/fifo_kqueue.c
240
ATF_REQUIRE(errno == EAGAIN || errno == EWOULDBLOCK);
tests/sys/fifo/fifo_kqueue.c
267
ATF_REQUIRE(errno == EAGAIN || errno == EWOULDBLOCK);
tests/sys/fifo/fifo_kqueue.c
82
ATF_REQUIRE(errno == EAGAIN || errno == EWOULDBLOCK);
tests/sys/fifo/fifo_misc.c
123
if (errno != ESPIPE) {
tests/sys/fifo/fifo_misc.c
90
error = errno;
tests/sys/fifo/fifo_misc.c
92
errno = error;
tests/sys/fifo/fifo_open.c
184
return (errno);
tests/sys/fifo/fifo_open.c
197
return (errno);
tests/sys/fifo/fifo_open.c
210
return (errno);
tests/sys/fifo/fifo_open.c
223
return (errno);
tests/sys/fifo/fifo_open.c
253
error = errno;
tests/sys/fifo/fifo_open.c
255
errno = error;
tests/sys/fifo/fifo_open.c
328
error = errno;
tests/sys/fifo/fifo_open.c
330
errno = error;
tests/sys/fifo/fifo_open.c
407
errno = WEXITSTATUS(status);
tests/sys/fifo/fifo_open.c
441
errno = WEXITSTATUS(status);
tests/sys/fifo/fifo_open.c
442
if (errno == 0)
tests/sys/file/closefrom_test.c
109
ATF_REQUIRE_MSG(kif != NULL, "kinfo_getfile: %s", strerror(errno));
tests/sys/file/closefrom_test.c
125
strerror(errno));
tests/sys/file/closefrom_test.c
168
strerror(errno));
tests/sys/file/closefrom_test.c
170
strerror(errno));
tests/sys/file/closefrom_test.c
306
ATF_REQUIRE_MSG(flags >= 0, "fcntl(.., F_GETFD): %s", strerror(errno));
tests/sys/file/closefrom_test.c
86
ATF_REQUIRE_MSG(shared_page != MAP_FAILED, "mmap: %s", strerror(errno));
tests/sys/file/fcntlflags_test.c
106
strerror(errno));
tests/sys/file/fcntlflags_test.c
110
strerror(errno));
tests/sys/file/fcntlflags_test.c
118
strerror(errno));
tests/sys/file/fcntlflags_test.c
48
omodetext, strerror(errno));
tests/sys/file/fcntlflags_test.c
52
strerror(errno));
tests/sys/file/fcntlflags_test.c
57
"fcntl(F_SETFL) same flags failed: %s", strerror(errno));
tests/sys/file/fcntlflags_test.c
61
strerror(errno));
tests/sys/file/fcntlflags_test.c
65
"fcntl(F_SETFL) O_NONBLOCK failed: %s", strerror(errno));
tests/sys/file/fcntlflags_test.c
69
strerror(errno));
tests/sys/file/flock_helper.c
1095
if (errno == EINTR)
tests/sys/file/flock_helper.c
1115
FAIL(!(res == 0 || (res == -1 && errno == EINTR)));
tests/sys/file/flock_helper.c
116
save_errno = errno;
tests/sys/file/flock_helper.c
117
errno = 0;
tests/sys/file/flock_helper.c
119
if (errno == EINTR)
tests/sys/file/flock_helper.c
1204
if (errno == EDEADLK || errno == EINTR) {
tests/sys/file/flock_helper.c
1212
errno == EDEADLK
tests/sys/file/flock_helper.c
123
errno = save_errno;
tests/sys/file/flock_helper.c
235
FAIL(errno != EACCES && errno != EAGAIN);
tests/sys/file/flock_helper.c
309
FAIL(errno != EINTR);
tests/sys/file/flock_helper.c
465
FAIL(errno != EDEADLK);
tests/sys/file/flock_helper.c
577
FAIL(errno != EDEADLK);
tests/sys/file/flock_helper.c
653
FAIL(errno != EACCES && errno != EAGAIN);
tests/sys/file/flock_helper.c
802
FAIL(errno != EACCES && errno != EAGAIN);
tests/sys/file/flock_helper.c
912
FAIL(errno != EACCES && errno != EAGAIN);
tests/sys/file/ftruncate_test.c
133
if (errno != EINVAL)
tests/sys/file/ftruncate_test.c
145
if (errno != EINVAL)
tests/sys/file/ftruncate_test.c
156
if (errno != EINVAL)
tests/sys/file/ftruncate_test.c
169
if (errno != EINVAL)
tests/sys/file/ftruncate_test.c
81
error = errno;
tests/sys/file/ftruncate_test.c
83
errno = error;
tests/sys/file/ftruncate_test.c
90
if (errno != EINVAL)
tests/sys/file/newfileops_on_fork_test.c
89
if (errno == EBADF)
tests/sys/file/newfileops_on_fork_test.c
91
else if (errno == EINVAL)
tests/sys/file/path_test.c
181
if (errno != ECAPMODE)
tests/sys/file/path_test.c
185
if (errno != ECAPMODE)
tests/sys/file/path_test.c
204
if (errno != ENOTCAPABLE)
tests/sys/file/path_test.c
61
#define FMT_ERR(s) s ": %s", strerror(errno)
tests/sys/fs/fusefs/access.cc
112
EXPECT_EQ(0, chmod(FULLPATH, newmode)) << strerror(errno);
tests/sys/fs/fusefs/access.cc
142
EXPECT_EQ(EPERM, errno);
tests/sys/fs/fusefs/access.cc
158
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/access.cc
176
ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno);
tests/sys/fs/fusefs/access.cc
177
ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno);
tests/sys/fs/fusefs/access.cc
191
ASSERT_EQ(EROFS, errno);
tests/sys/fs/fusefs/access.cc
218
ASSERT_EQ(ENOATTR, errno);
tests/sys/fs/fusefs/access.cc
233
ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno);
tests/sys/fs/fusefs/access.cc
256
ASSERT_EQ(EPERM, errno);
tests/sys/fs/fusefs/access.cc
300
ASSERT_EQ(EPERM, errno);
tests/sys/fs/fusefs/allow_other.cc
168
ASSERT_LE(0, fd1) << strerror(errno);
tests/sys/fs/fusefs/allow_other.cc
177
if (errno != EPERM) {
tests/sys/fs/fusefs/allow_other.cc
179
strerror(errno));
tests/sys/fs/fusefs/allow_other.cc
203
} else if (errno != EPERM) {
tests/sys/fs/fusefs/allow_other.cc
205
strerror(errno));
tests/sys/fs/fusefs/allow_other.cc
237
ASSERT_LE(0, dfd) << strerror(errno);
tests/sys/fs/fusefs/allow_other.cc
248
} else if (errno != EPERM) {
tests/sys/fs/fusefs/allow_other.cc
250
strerror(errno));
tests/sys/fs/fusefs/allow_other.cc
285
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/allow_other.cc
297
} else if (errno != EPERM) {
tests/sys/fs/fusefs/allow_other.cc
299
strerror(errno));
tests/sys/fs/fusefs/bad_server.cc
107
EXPECT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/bmap.cc
102
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
107
ASSERT_EQ(0, ioctl(fd, FIOBMAP2, &arg)) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
148
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
155
ASSERT_EQ(0, ioctl(fd, FIOBMAP2, &arg)) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
165
ASSERT_EQ(0, ioctl(fd, FIOBMAP2, &arg)) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
175
ASSERT_EQ(0, ioctl(fd, FIOBMAP2, &arg)) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
206
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
212
EXPECT_EQ(EINVAL, errno);
tests/sys/fs/fusefs/bmap.cc
256
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
263
EXPECT_EQ(r, 1) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
265
EXPECT_EQ(r, 1) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
267
EXPECT_EQ(r, 1) << strerror(errno);
tests/sys/fs/fusefs/bmap.cc
347
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/cache.cc
170
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/cache.cc
172
ASSERT_EQ(osize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/cache.cc
185
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/cache.cc
192
ASSERT_EQ(nsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
187
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/copy_file_range.cc
245
<< strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
258
<< strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
375
ASSERT_NE(MAP_FAILED, p) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
377
ASSERT_EQ(0, munmap(p, wsize)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
384
ASSERT_EQ(copysize, (size_t)r) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
426
ASSERT_EQ(0, setrlimit(RLIMIT_FSIZE, &rl)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
427
ASSERT_NE(SIG_ERR, signal(SIGXFSZ, sigxfsz_handler)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
432
EXPECT_EQ(EFBIG, errno);
tests/sys/fs/fusefs/copy_file_range.cc
479
ASSERT_EQ(0, setrlimit(RLIMIT_FSIZE, &rl)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
480
ASSERT_NE(SIG_ERR, signal(SIGXFSZ, sigxfsz_handler)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
621
ASSERT_EQ(0, fstat(fd1, &sb1a)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
622
ASSERT_EQ(0, fstat(fd2, &sb2a)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
627
ASSERT_EQ(0, fstat(fd1, &sb1b)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
628
ASSERT_EQ(0, fstat(fd2, &sb2b)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
682
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
784
ASSERT_EQ(0, fstat(fd1, &sb1a)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
785
ASSERT_EQ(0, fstat(fd2, &sb2a)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
790
ASSERT_EQ(0, fstat(fd1, &sb1b)) << strerror(errno);
tests/sys/fs/fusefs/copy_file_range.cc
791
ASSERT_EQ(0, fstat(fd2, &sb2b)) << strerror(errno);
tests/sys/fs/fusefs/create.cc
144
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/create.cc
183
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/create.cc
185
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/create.cc
186
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/create.cc
206
EXPECT_EQ(EEXIST, errno);
tests/sys/fs/fusefs/create.cc
255
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/create.cc
289
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/create.cc
320
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/create.cc
325
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/create.cc
344
EXPECT_EQ(EPERM, errno);
tests/sys/fs/fusefs/create.cc
367
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/create.cc
409
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/create.cc
440
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/create.cc
467
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/create.cc
491
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1001
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1002
EXPECT_EQ(0, posix_fallocate(fd, off, len)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1003
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1031
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1032
EXPECT_EQ(0, posix_fallocate(fd, off, len)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1033
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1060
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1061
EXPECT_EQ(0, posix_fallocate(fd, off, len)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1080
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
1099
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
1118
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
1132
ASSERT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
1155
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
1176
ASSERT_EQ(0, rename(FULLSRC, FULLDST)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1204
ASSERT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
1223
ASSERT_EQ(0, rename(FULLSRC, FULLDST)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1240
ASSERT_EQ(0, rename(FULLSRC, FULLDST)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1271
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1276
ASSERT_EQ(fsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1303
EXPECT_EQ(0, chmod(FULLPATH, newmode)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1324
EXPECT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
1359
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1360
ASSERT_EQ(0, ftruncate(fd, 100)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1388
EXPECT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
1410
EXPECT_EQ(EFTYPE, errno);
tests/sys/fs/fusefs/default_permissions.cc
1429
ASSERT_EQ(value_len, r) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1446
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
1464
ASSERT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
1484
ASSERT_EQ(value_len, r) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1494
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1501
ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1533
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1536
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
1549
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
1562
ASSERT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
1584
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1585
ASSERT_EQ(1, write(fd, wbuf, sizeof(wbuf))) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1586
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1610
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1611
ASSERT_EQ(1, write(fd, wbuf, sizeof(wbuf))) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1612
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1641
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1642
ASSERT_EQ(1, write(fd, wbuf, sizeof(wbuf))) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
283
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
303
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
320
ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
348
EXPECT_EQ(0, chown(FULLPATH, uid, -1)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
382
EXPECT_EQ(0, chown(FULLPATH, uid, -1)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
404
EXPECT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
439
EXPECT_EQ(0, chown(FULLPATH, -1, gid)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
466
EXPECT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
498
EXPECT_EQ(0, chown(FULLPATH, -1, newgid)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
530
ASSERT_LE(0, fd_in) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
532
ASSERT_LE(0, fd_out) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
535
<< strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
536
ASSERT_EQ(0, fstat(fd_out, &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
538
ASSERT_EQ(0, fstat(fd_in, &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
574
ASSERT_LE(0, fd_in) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
576
ASSERT_LE(0, fd_out) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
579
<< strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
580
ASSERT_EQ(0, fstat(fd_out, &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
582
ASSERT_EQ(0, fstat(fd_in, &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
602
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
616
EXPECT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
630
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
645
<< strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
660
ASSERT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
693
<< strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
714
<< strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
730
<< strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
746
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
771
ASSERT_EQ(value_len, r) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
789
ASSERT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
803
ASSERT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
819
<< strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
835
ASSERT_EQ(EPERM, errno);
tests/sys/fs/fusefs/default_permissions.cc
862
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
866
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
896
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
900
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
929
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
947
EXPECT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
960
EXPECT_EQ(EACCES, errno);
tests/sys/fs/fusefs/default_permissions.cc
975
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/default_permissions_privileged.cc
121
EXPECT_EQ(0, chmod(FULLPATH, newmode)) << strerror(errno);
tests/sys/fs/fusefs/destroy.cc
127
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/destroy.cc
195
__DECONST(void*, FULLPATH0))) << strerror(errno);
tests/sys/fs/fusefs/destroy.cc
197
__DECONST(void*, FULLPATH1))) << strerror(errno);
tests/sys/fs/fusefs/destroy.cc
230
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/destroy.cc
231
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/destroy.cc
64
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/destroy.cc
81
EXPECT_EQ(ENOTCONN, errno);
tests/sys/fs/fusefs/dev_fuse_poll.cc
125
ASSERT_EQ(0, sem_init(&sem0, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/dev_fuse_poll.cc
126
ASSERT_EQ(0, sem_init(&sem1, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/dev_fuse_poll.cc
206
__DECONST(void*, "mountpoint/foo"))) << strerror(errno);
tests/sys/fs/fusefs/dev_fuse_poll.cc
207
EXPECT_EQ(0, sem_wait(&sem0)) << strerror(errno);
tests/sys/fs/fusefs/dev_fuse_poll.cc
209
__DECONST(void*, "mountpoint/bar"))) << strerror(errno);
tests/sys/fs/fusefs/dev_fuse_poll.cc
211
__DECONST(void*, "mountpoint/baz"))) << strerror(errno);
tests/sys/fs/fusefs/dev_fuse_poll.cc
214
EXPECT_EQ(0, sem_post(&sem1)) << strerror(errno);
tests/sys/fs/fusefs/dev_fuse_poll.cc
88
ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
199
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
244
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
295
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
298
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
303
ASSERT_EQ(0, nmount(iov, iovlen, newflags)) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
307
EXPECT_EQ(EROFS, errno);
tests/sys/fs/fusefs/fallocate.cc
354
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
358
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/fallocate.cc
381
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
382
ASSERT_EQ(0, fstat(fd, &sb0)) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
422
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
450
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
483
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
523
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
527
<< strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
539
<< strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
572
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
609
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
638
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
678
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
681
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
686
ASSERT_EQ(0, nmount(iov, iovlen, newflags)) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
716
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
717
ASSERT_EQ(0, fstat(fd, &sb0)) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
750
ASSERT_EQ(0, setrlimit(RLIMIT_FSIZE, &rl)) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
751
ASSERT_NE(SIG_ERR, signal(SIGXFSZ, sigxfsz_handler)) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
754
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fallocate.cc
775
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fifo.cc
100
<< strerror(errno);
tests/sys/fs/fusefs/fifo.cc
103
ASSERT_LE(0, r) << strerror(errno);
tests/sys/fs/fusefs/fifo.cc
121
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/fifo.cc
129
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/fifo.cc
137
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/fifo.cc
190
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fifo.cc
195
<< strerror(errno);
tests/sys/fs/fusefs/fifo.cc
198
<< strerror(errno);
tests/sys/fs/fusefs/fifo.cc
200
ASSERT_LE(0, connected) << strerror(errno);
tests/sys/fs/fusefs/fifo.cc
204
ASSERT_LE(0, r) << strerror(errno);
tests/sys/fs/fusefs/fifo.cc
75
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/fifo.cc
98
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
103
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
106
ASSERT_LE(0, fd2) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
108
EXPECT_EQ(0, close(fd2)) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
109
EXPECT_EQ(0, close(fd)) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
137
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
139
EXPECT_EQ(0, close(fd)) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
163
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
165
ASSERT_TRUE(0 == close(fd) || errno == EIO) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
194
ASSERT_LE(0, fd0) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
197
ASSERT_LE(0, fd1) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
199
EXPECT_EQ(0, close(fd0)) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
200
EXPECT_EQ(0, close(fd1)) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
217
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
219
ASSERT_TRUE(0 == close(fd)) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
258
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
265
ASSERT_NE(-1, fcntl(fd, F_SETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
268
ASSERT_LE(0, fd2) << strerror(errno);
tests/sys/fs/fusefs/flush.cc
269
ASSERT_EQ(0, close(fd2)) << strerror(errno);
tests/sys/fs/fusefs/forget.cc
138
ASSERT_EQ(0, access(FULLFPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/forget.cc
144
ASSERT_EQ(0, access(FULLFPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/forget.cc
170
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/forget.cc
176
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/forget.cc
67
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/forget.cc
85
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/forget.cc
86
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
110
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
111
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
116
ASSERT_EQ(0, aio_fsync(O_SYNC, &iocb)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
117
ASSERT_EQ(0, aio_waitcomplete(&piocb, NULL)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
159
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
160
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
179
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
180
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
182
ASSERT_EQ(EIO, errno);
tests/sys/fs/fusefs/fsync.cc
207
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
208
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
232
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
233
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
234
ASSERT_EQ(0, fdatasync(fd)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
254
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
255
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
256
ASSERT_EQ(0, fsync(fd)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
277
ASSERT_LE(0, fd1) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
279
ASSERT_LE(0, fd2) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
280
ASSERT_EQ(bufsize, write(fd1, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/fsync.cc
281
ASSERT_EQ(0, fsync(fd1)) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
101
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
106
ASSERT_EQ(0, aio_fsync(O_SYNC, &iocb)) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
107
ASSERT_EQ(0, aio_waitcomplete(&piocb, NULL)) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
124
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
126
ASSERT_EQ(EIO, errno);
tests/sys/fs/fusefs/fsyncdir.cc
148
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
149
EXPECT_EQ(0, fsync(fd)) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
152
EXPECT_EQ(0, fsync(fd)) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
169
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
170
ASSERT_EQ(0, fdatasync(fd)) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
191
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/fsyncdir.cc
192
ASSERT_EQ(0, fsync(fd)) << strerror(errno);
tests/sys/fs/fusefs/getattr.cc
165
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/getattr.cc
177
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/getattr.cc
192
EXPECT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/getattr.cc
232
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/getattr.cc
275
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/getattr.cc
304
EXPECT_EQ(errno, ENOENT);
tests/sys/fs/fusefs/getattr.cc
349
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
150
ASSERT_NE(SIG_ERR, signal(SIGUSR2, sigusr2_handler)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
153
<< strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
164
ASSERT_NE(MAP_FAILED, blocked_semaphore) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
165
ASSERT_EQ(0, sem_init(blocked_semaphore, 1, 0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
204
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/interrupt.cc
217
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/interrupt.cc
270
EXPECT_EQ(0, mkdir(FULLDIRPATH0, MODE)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
275
EXPECT_EQ(0, access(FULLDIRPATH0, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
293
ASSERT_EQ(0, sem_init(&sem0, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
294
ASSERT_EQ(0, sem_init(&sem1, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
345
ASSERT_EQ(0, mkdir(FULLDIRPATH1, MODE)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
348
<< strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
396
ASSERT_EQ(0, mkdir(FULLDIRPATH0, MODE)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
414
ASSERT_EQ(0, sem_init(&sem0, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
415
ASSERT_EQ(0, sem_init(&sem1, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
440
ASSERT_LE(0, fd1) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
444
<< strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
449
<< strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
456
ASSERT_EQ(0, sem_post(&sem0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
490
ASSERT_EQ(0, sem_init(&sem0, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
491
ASSERT_EQ(0, sem_init(&sem1, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
515
ASSERT_LE(0, fd1) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
519
<< strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
527
EXPECT_EQ(EINTR, errno);
tests/sys/fs/fusefs/interrupt.cc
530
ASSERT_EQ(0, sem_post(&sem0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
576
EXPECT_EQ(EINTR, errno);
tests/sys/fs/fusefs/interrupt.cc
611
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
615
EXPECT_EQ(EINTR, errno);
tests/sys/fs/fusefs/interrupt.cc
630
ASSERT_EQ(0, sem_init(&sem0, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
663
ASSERT_EQ(0, mkdir(FULLDIRPATH0, MODE)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
677
ASSERT_EQ(0, sem_init(&sem0, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
678
ASSERT_EQ(0, sem_init(&sem1, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
730
<< strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
736
ASSERT_EQ(0, mkdir(FULLDIRPATH1, MODE)) << strerror(errno);
tests/sys/fs/fusefs/interrupt.cc
792
EXPECT_EQ(EINTR, errno);
tests/sys/fs/fusefs/io.cc
148
<< strerror(errno);
tests/sys/fs/fusefs/io.cc
166
ASSERT_LE(0, osize) << strerror(errno);
tests/sys/fs/fusefs/io.cc
179
<< strerror(errno);
tests/sys/fs/fusefs/io.cc
227
EXPECT_LE(0, m_test_fd) << strerror(errno);
tests/sys/fs/fusefs/io.cc
244
ASSERT_EQ(0, close(m_test_fd)) << strerror(errno);
tests/sys/fs/fusefs/io.cc
246
ASSERT_LE(0, m_test_fd) << strerror(errno);
tests/sys/fs/fusefs/io.cc
248
ASSERT_EQ(0, close(m_control_fd)) << strerror(errno);
tests/sys/fs/fusefs/io.cc
250
ASSERT_LE(0, m_control_fd) << strerror(errno);
tests/sys/fs/fusefs/io.cc
266
ASSERT_GT(r, 0) << strerror(errno);
tests/sys/fs/fusefs/io.cc
272
ASSERT_GT(r, 0) << strerror(errno);
tests/sys/fs/fusefs/io.cc
280
ASSERT_EQ(0, ftruncate(m_test_fd, offs)) << strerror(errno);
tests/sys/fs/fusefs/io.cc
281
ASSERT_EQ(0, ftruncate(m_control_fd, offs)) << strerror(errno);
tests/sys/fs/fusefs/io.cc
298
ASSERT_NE(p, MAP_FAILED) << strerror(errno);
tests/sys/fs/fusefs/io.cc
303
<< strerror(errno);
tests/sys/fs/fusefs/io.cc
307
ASSERT_EQ(0, munmap(p, map_size)) << strerror(errno);
tests/sys/fs/fusefs/io.cc
319
errno = 0;
tests/sys/fs/fusefs/io.cc
321
ASSERT_NE(-1, r) << strerror(errno);
tests/sys/fs/fusefs/io.cc
324
ASSERT_NE(-1, r) << strerror(errno);
tests/sys/fs/fusefs/io.cc
359
ASSERT_NE(p, MAP_FAILED) << strerror(errno);
tests/sys/fs/fusefs/io.cc
363
<< strerror(errno);
tests/sys/fs/fusefs/io.cc
366
ASSERT_EQ(0, munmap(p, map_size)) << strerror(errno);
tests/sys/fs/fusefs/io.cc
379
<< strerror(errno);
tests/sys/fs/fusefs/io.cc
381
<< strerror(errno);
tests/sys/fs/fusefs/io.cc
92
FAIL() << strerror(errno);
tests/sys/fs/fusefs/io.cc
95
FAIL() << strerror(errno);
tests/sys/fs/fusefs/ioctl.cc
108
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/ioctl.cc
111
EXPECT_EQ(ENOTTY, errno);
tests/sys/fs/fusefs/ioctl.cc
130
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/ioctl.cc
132
EXPECT_EQ(0, ioctl(fd, req, buf)) << strerror(errno);
tests/sys/fs/fusefs/ioctl.cc
152
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/ioctl.cc
155
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/ioctl.cc
169
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/ioctl.cc
171
EXPECT_EQ(0, ioctl(fd, req, INPUT_DATA)) << strerror(errno);
tests/sys/fs/fusefs/ioctl.cc
186
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/ioctl.cc
189
EXPECT_EQ(0, ioctl(fd, req, buf)) << strerror(errno);
tests/sys/fs/fusefs/ioctl.cc
205
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/ioctl.cc
209
EXPECT_LE(0, r) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
117
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/last_local_modify.cc
124
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/last_local_modify.cc
139
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/last_local_modify.cc
146
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/last_local_modify.cc
159
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/last_local_modify.cc
166
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/last_local_modify.cc
187
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/last_local_modify.cc
194
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/last_local_modify.cc
235
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
323
NULL)) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
327
NULL)) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
331
<< strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
335
<< strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
344
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
392
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
481
ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
487
(void*)&sem)) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
491
(void*)&sem)) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
495
(void*)&sem)) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
499
<< strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
504
ASSERT_EQ(0, fhstat(&fhp, &sb)) << strerror(errno);
tests/sys/fs/fusefs/link.cc
145
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/link.cc
146
EXPECT_EQ(0, link(FULLDST, FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/link.cc
147
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/link.cc
174
EXPECT_EQ(EMLINK, errno);
tests/sys/fs/fusefs/link.cc
221
ASSERT_EQ(EIO, errno);
tests/sys/fs/fusefs/link.cc
247
ASSERT_EQ(0, link(FULLDST, FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/link.cc
249
ASSERT_EQ(0, stat(FULLDST, &sb)) << strerror(errno);
tests/sys/fs/fusefs/link.cc
276
ASSERT_EQ(0, link(FULLDST, FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/link.cc
278
ASSERT_EQ(0, stat(FULLDST, &sb)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
145
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
146
ASSERT_EQ(0, flock(fd, LOCK_EX)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
166
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
167
ASSERT_EQ(0, flock(fd, LOCK_EX)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
185
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
186
ASSERT_EQ(0, flock(fd, LOCK_EX)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
204
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
206
ASSERT_EQ(EAGAIN, errno);
tests/sys/fs/fusefs/locks.cc
226
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
233
ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
276
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
283
ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
339
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
346
ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
396
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
405
ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
461
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
470
ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
502
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
509
ASSERT_NE(-1, fcntl(fd, F_SETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
528
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
535
ASSERT_NE(-1, fcntl(fd, F_SETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
554
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
561
ASSERT_NE(-1, fcntl(fd, F_SETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
580
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
587
ASSERT_NE(-1, fcntl(fd, F_SETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
606
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
615
ASSERT_NE(-1, fcntl(fd, F_SETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
635
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
643
ASSERT_NE(-1, fcntl(fd, F_SETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
663
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
671
ASSERT_EQ(EAGAIN, errno);
tests/sys/fs/fusefs/locks.cc
691
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
698
ASSERT_NE(-1, fcntl(fd, F_SETLKW, &fl)) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
721
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/locks.cc
728
ASSERT_NE(-1, fcntl(fd, F_SETLKW, &fl)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
148
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
152
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
174
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
195
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
227
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
228
EXPECT_EQ(0, faccessat(fd, "../..", F_OK, 0)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
270
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
274
EXPECT_EQ(EBUSY, errno);
tests/sys/fs/fusefs/lookup.cc
277
EXPECT_EQ(ESTALE, errno);
tests/sys/fs/fusefs/lookup.cc
298
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/lookup.cc
309
EXPECT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/lookup.cc
326
ASSERT_EQ(ENOTDIR, errno);
tests/sys/fs/fusefs/lookup.cc
345
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
347
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
363
EXPECT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/lookup.cc
365
EXPECT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/lookup.cc
380
EXPECT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/lookup.cc
386
EXPECT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/lookup.cc
408
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
410
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
413
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
431
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
462
ASSERT_EQ(EIO, errno);
tests/sys/fs/fusefs/lookup.cc
490
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
527
ASSERT_EQ(0, access(FIRSTFULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
528
EXPECT_EQ(0, access(SECONDFULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
546
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
588
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
593
EXPECT_EQ(0, faccessat(fd, "../..", F_OK, 0)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
655
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
659
EXPECT_EQ(EBUSY, errno);
tests/sys/fs/fusefs/lookup.cc
661
EXPECT_EQ(0, faccessat(fd, "../..", F_OK, 0)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
96
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/lseek.cc
147
EXPECT_EQ(EACCES, errno);
tests/sys/fs/fusefs/lseek.cc
150
EXPECT_EQ(EACCES, errno);
tests/sys/fs/fusefs/lseek.cc
179
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/lseek.cc
182
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/lseek.cc
212
EXPECT_EQ(EINVAL, errno);
tests/sys/fs/fusefs/lseek.cc
242
EXPECT_EQ(1, pathconf(FULLPATH, _PC_MIN_HOLE_SIZE)) << strerror(errno);
tests/sys/fs/fusefs/lseek.cc
338
EXPECT_EQ(EINVAL, errno);
tests/sys/fs/fusefs/lseek.cc
409
EXPECT_EQ(ENXIO, errno);
tests/sys/fs/fusefs/lseek.cc
411
EXPECT_EQ(ENXIO, errno);
tests/sys/fs/fusefs/lseek.cc
483
EXPECT_EQ(ENXIO, errno);
tests/sys/fs/fusefs/lseek.cc
485
EXPECT_EQ(ENXIO, errno);
tests/sys/fs/fusefs/lseek.cc
515
EXPECT_EQ(ENXIO, errno);
tests/sys/fs/fusefs/lseek.cc
78
EXPECT_EQ(EINVAL, errno);
tests/sys/fs/fusefs/mkdir.cc
114
ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerror(errno);
tests/sys/fs/fusefs/mkdir.cc
151
ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerror(errno);
tests/sys/fs/fusefs/mkdir.cc
156
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/mkdir.cc
191
ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerror(errno);
tests/sys/fs/fusefs/mkdir.cc
243
ASSERT_EQ(EIO, errno);
tests/sys/fs/fusefs/mkdir.cc
273
ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerror(errno);
tests/sys/fs/fusefs/mkdir.cc
74
ASSERT_EQ(EMLINK, errno);
tests/sys/fs/fusefs/mknod.cc
157
EXPECT_EQ(0, mknod(FULLPATH, mode, rdev)) << strerror(errno);
tests/sys/fs/fusefs/mknod.cc
172
EXPECT_EQ(0, mknod(FULLPATH, mode, rdev)) << strerror(errno);
tests/sys/fs/fusefs/mknod.cc
199
EXPECT_EQ(EPERM, errno);
tests/sys/fs/fusefs/mknod.cc
214
EXPECT_EQ(0, mkfifo(FULLPATH, mode)) << strerror(errno);
tests/sys/fs/fusefs/mknod.cc
237
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/mknod.cc
242
<< strerror(errno);
tests/sys/fs/fusefs/mknod.cc
264
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/mknod.cc
273
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/mknod.cc
278
ASSERT_EQ(EIO, errno);
tests/sys/fs/fusefs/mknod.cc
301
EXPECT_EQ(0, mknod(FULLPATH, mode, 0)) << strerror(errno);
tests/sys/fs/fusefs/mknod.cc
317
EXPECT_EQ(0, mkfifo(FULLPATH, mode)) << strerror(errno);
tests/sys/fs/fusefs/mockfs.cc
1004
if (res < 0 && errno == ENODEV && m_expect_unmount) {
tests/sys/fs/fusefs/mockfs.cc
1008
if (res < 0 && errno != EBADF && !m_quit) {
tests/sys/fs/fusefs/mockfs.cc
1010
FAIL() << "read: " << strerror(errno);
tests/sys/fs/fusefs/mockfs.cc
1037
ASSERT_LE(0, nready) << strerror(errno);
tests/sys/fs/fusefs/mockfs.cc
1049
ASSERT_LE(0, nready) << strerror(errno);
tests/sys/fs/fusefs/mockfs.cc
1058
ASSERT_LE(0, nready) << strerror(errno);
tests/sys/fs/fusefs/mockfs.cc
1068
ASSERT_EQ(out.expected_errno, errno) << strerror(errno);
tests/sys/fs/fusefs/mockfs.cc
1070
if (r <= 0 && errno == EINVAL) {
tests/sys/fs/fusefs/mockfs.cc
1074
ASSERT_TRUE(r > 0 || errno == EAGAIN) << strerror(errno);
tests/sys/fs/fusefs/mockfs.cc
460
if (mkdir("mountpoint" , 0755) && errno != EEXIST)
tests/sys/fs/fusefs/mockfs.cc
461
throw(std::system_error(errno, std::system_category(),
tests/sys/fs/fusefs/mockfs.cc
473
throw(std::system_error(errno, std::system_category(),
tests/sys/fs/fusefs/mockfs.cc
536
throw(std::system_error(errno, std::system_category(),
tests/sys/fs/fusefs/mockfs.cc
551
throw(std::system_error(errno, std::system_category(),
tests/sys/fs/fusefs/mockfs.cc
554
throw(std::system_error(errno, std::system_category(),
tests/sys/fs/fusefs/mockfs.cc
961
ASSERT_LE(0, nready) << strerror(errno);
tests/sys/fs/fusefs/mockfs.cc
978
ASSERT_LE(0, nready) << strerror(errno);
tests/sys/fs/fusefs/mockfs.cc
996
ASSERT_LE(0, nready) << strerror(errno);
tests/sys/fs/fusefs/mount.cc
109
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/mount.cc
141
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/mount.cc
147
ASSERT_EQ(0, nmount(iov, iovlen, newflags)) << strerror(errno);
tests/sys/fs/fusefs/mount.cc
149
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/mount.cc
176
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/mount.cc
189
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/mount.cc
99
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
105
ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
107
EXPECT_EQ(ESTALE, errno);
tests/sys/fs/fusefs/nfs.cc
145
ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
146
ASSERT_EQ(0, fhstat(&fhp, &sb)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
177
ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
179
EXPECT_EQ(EDOOFUS, errno);
tests/sys/fs/fusefs/nfs.cc
204
ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
205
ASSERT_EQ(0, fhstat(&fhp, &sb)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
243
ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
244
ASSERT_EQ(0, fhstat(&fhp, &sb)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
250
ASSERT_EQ(0, fhstat(&fhp, &sb)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
293
ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
294
EXPECT_NE(0, fhstat(&fhp, &sb)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
295
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/nfs.cc
338
ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
343
ASSERT_EQ(0, fhstat(&fhp, &sb)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
371
ASSERT_EQ(EOPNOTSUPP, errno);
tests/sys/fs/fusefs/nfs.cc
394
EXPECT_EQ(EOVERFLOW, errno);
tests/sys/fs/fusefs/nfs.cc
415
ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
473
ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
475
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
477
ASSERT_EQ(0, r) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
123
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/notify.cc
149
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/notify.cc
160
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/notify.cc
176
<< strerror(errno);
tests/sys/fs/fusefs/notify.cc
199
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
208
<< strerror(errno);
tests/sys/fs/fusefs/notify.cc
213
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
249
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
258
<< strerror(errno);
tests/sys/fs/fusefs/notify.cc
263
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
294
ASSERT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
295
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
303
<< strerror(errno);
tests/sys/fs/fusefs/notify.cc
308
ASSERT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
324
<< strerror(errno);
tests/sys/fs/fusefs/notify.cc
368
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
369
ASSERT_EQ(size0, read(fd, buf, size0)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
378
<< strerror(errno);
tests/sys/fs/fusefs/notify.cc
383
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
388
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
389
ASSERT_EQ(size1, read(fd, buf, size1)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
429
ASSERT_EQ(0, pthread_create(&th0, NULL, store, &sa)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
456
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
464
ASSERT_EQ(0, pthread_create(&th0, NULL, store, &sa)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
469
ASSERT_EQ(size1, read(fd, buf, size1)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
494
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
509
<< strerror(errno);
tests/sys/fs/fusefs/notify.cc
555
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
556
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
564
<< strerror(errno);
tests/sys/fs/fusefs/notify.cc
569
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
594
ASSERT_GE(fuse_fd, 0) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
607
EXPECT_EQ(ENODEV, errno);
tests/sys/fs/fusefs/open.cc
109
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/open.cc
124
EXPECT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/open.cc
149
EXPECT_EQ(EPERM, errno);
tests/sys/fs/fusefs/open.cc
201
ASSERT_LE(0, fd1) << strerror(errno);
tests/sys/fs/fusefs/open.cc
300
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/open.cc
304
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/open.cc
68
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/open.cc
94
EXPECT_EQ(EOPNOTSUPP, errno);
tests/sys/fs/fusefs/opendir.cc
116
EXPECT_EQ(EPERM, errno);
tests/sys/fs/fusefs/opendir.cc
133
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/opendir.cc
153
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/opendir.cc
170
errno = 0;
tests/sys/fs/fusefs/opendir.cc
171
EXPECT_NE(nullptr, opendir(FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/opendir.cc
190
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/opendir.cc
194
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/opendir.cc
87
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/opendir.cc
96
EXPECT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/pre-init.cc
128
ASSERT_EQ(0, sem_init(&sem0, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/pre-init.cc
163
FAIL() << strerror(errno);
tests/sys/fs/fusefs/pre-init.cc
74
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/pre-init.cc
86
ASSERT_EQ(0, sem_init(&sem0, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1031
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1034
ASSERT_NE(MAP_FAILED, p) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1038
ASSERT_EQ(0, munmap(p, len)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1072
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1074
ASSERT_EQ(bufsize, read(fd, rbuf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1108
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1113
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1144
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1146
ASSERT_EQ(bufsize, pread(fd, buf, bufsize, 0)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1151
ASSERT_EQ(bufsize, pread(fd, buf, bufsize, 0)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1189
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
119
<< strerror(errno);
tests/sys/fs/fusefs/read.cc
1192
ASSERT_NE(MAP_FAILED, p) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1200
ASSERT_EQ(0, sigaction(SIGBUS, &sa, NULL)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1208
ASSERT_EQ(0, munmap(p, len)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1248
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1251
ASSERT_NE(MAP_FAILED, p) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1255
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1258
ASSERT_EQ(0, munmap(p, len)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1317
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1320
ASSERT_NE(MAP_FAILED, p) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1327
ASSERT_EQ(0, sigaction(SIGBUS, &sa, NULL)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1335
ASSERT_EQ(0, munmap(p, len)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1358
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1361
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1366
ASSERT_EQ(0, fcntl(fd, F_SETFL, O_DIRECT)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1367
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1368
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1394
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1396
ASSERT_EQ(bufsize, pread(fd, buf, bufsize, offset)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1416
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1418
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1439
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1441
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1473
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1475
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1479
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1515
<< strerror(errno);
tests/sys/fs/fusefs/read.cc
1517
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1520
<< strerror(errno);
tests/sys/fs/fusefs/read.cc
1522
<< strerror(errno);
tests/sys/fs/fusefs/read.cc
1553
<< strerror(errno);
tests/sys/fs/fusefs/read.cc
1555
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1594
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1599
ASSERT_EQ(bufsize, read(fd, rbuf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1640
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1645
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1681
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1683
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1684
ASSERT_EQ(0, fchmod(fd, newmode)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
194
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
201
ASSERT_EQ(0, aio_read(&iocb)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
202
ASSERT_EQ(bufsize, aio_waitcomplete(&piocb, NULL)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
253
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
265
ASSERT_EQ(0, aio_read(&iocb0)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
272
ASSERT_EQ(0, aio_read(&iocb1)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
306
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
336
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
347
ASSERT_EQ(0, aio_read(&iocb0)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
354
ASSERT_EQ(0, aio_read(&iocb1)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
357
ASSERT_EQ(0, sem_wait(&sem)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
358
ASSERT_EQ(0, sem_wait(&sem)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
395
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
398
ASSERT_LE(0, r) << strerror(errno);
tests/sys/fs/fusefs/read.cc
399
EXPECT_EQ(partbufsize, r) << strerror(errno);
tests/sys/fs/fusefs/read.cc
442
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
444
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
533
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
535
ASSERT_EQ(static_cast<ssize_t>(size1), read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
540
ASSERT_EQ(static_cast<ssize_t>(size2), pread(fd, buf, bufsize, 0)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
563
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
569
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
597
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
599
ASSERT_EQ(bufsize, pread(fd, buf, bufsize, 0)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
605
ASSERT_EQ(bufsize, pread(fd, buf, bufsize, 0)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
653
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
658
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
695
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
700
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
740
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
745
ASSERT_EQ(bufsize, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
747
ASSERT_EQ(0, fchmod(fd, newmode)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
766
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
768
ASSERT_EQ(0, pread(fd, buf, 0, offset)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
792
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
794
ASSERT_EQ(bufsize, pread(fd, buf, bufsize, offset)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
800
ASSERT_EQ(bufsize, pread(fd, buf, bufsize, offset)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
826
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
829
<< strerror(errno);
tests/sys/fs/fusefs/read.cc
854
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
856
ASSERT_EQ(-1, read(fd, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
857
ASSERT_EQ(EIO, errno);
tests/sys/fs/fusefs/read.cc
886
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
889
ASSERT_LE(0, r) << strerror(errno);
tests/sys/fs/fusefs/read.cc
890
EXPECT_EQ(partbufsize, r) << strerror(errno);
tests/sys/fs/fusefs/read.cc
916
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/read.cc
920
<< strerror(errno);
tests/sys/fs/fusefs/read.cc
923
<< strerror(errno);
tests/sys/fs/fusefs/read.cc
948
ASSERT_LE(0, fd0) << strerror(errno);
tests/sys/fs/fusefs/read.cc
949
ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
952
ASSERT_LE(0, fd1) << strerror(errno);
tests/sys/fs/fusefs/read.cc
958
ASSERT_EQ(bufsize, read(fd1, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
983
ASSERT_LE(0, fd0) << strerror(errno);
tests/sys/fs/fusefs/read.cc
984
ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
987
ASSERT_LE(0, fd1) << strerror(errno);
tests/sys/fs/fusefs/read.cc
994
ASSERT_EQ(0, lseek(fd0, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
995
ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
104
errno = 0;
tests/sys/fs/fusefs/readdir.cc
106
ASSERT_NE(nullptr, de) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
113
ASSERT_EQ(0, errno);
tests/sys/fs/fusefs/readdir.cc
137
errno = 0;
tests/sys/fs/fusefs/readdir.cc
139
ASSERT_NE(nullptr, dir) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
141
errno = 0;
tests/sys/fs/fusefs/readdir.cc
144
ASSERT_EQ(EIO, errno);
tests/sys/fs/fusefs/readdir.cc
178
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
180
ASSERT_EQ(0, r) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
224
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
226
ASSERT_LT(0, r) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
236
ASSERT_LT(0, r) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
272
ASSERT_LE(0, fd0) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
275
ASSERT_LE(0, fd1) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
278
ASSERT_EQ(0, r) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
280
EXPECT_EQ(0, close(fd0)) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
283
ASSERT_EQ(0, r) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
314
errno = 0;
tests/sys/fs/fusefs/readdir.cc
316
ASSERT_NE(nullptr, dir) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
317
errno = 0;
tests/sys/fs/fusefs/readdir.cc
319
ASSERT_EQ(0, errno);
tests/sys/fs/fusefs/readdir.cc
349
errno = 0;
tests/sys/fs/fusefs/readdir.cc
351
ASSERT_NE(nullptr, dir) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
353
errno = 0;
tests/sys/fs/fusefs/readdir.cc
355
ASSERT_NE(nullptr, de) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
362
ASSERT_EQ(0, errno);
tests/sys/fs/fusefs/readdir.cc
417
errno = 0;
tests/sys/fs/fusefs/readdir.cc
419
ASSERT_NE(nullptr, dir) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
422
errno = 0;
tests/sys/fs/fusefs/readdir.cc
424
ASSERT_NE(nullptr, de) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
430
errno = 0;
tests/sys/fs/fusefs/readdir.cc
432
ASSERT_NE(nullptr, de) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
438
ASSERT_NE(nullptr, de) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
469
errno = 0;
tests/sys/fs/fusefs/readdir.cc
471
ASSERT_NE(nullptr, dir) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
473
errno = 0;
tests/sys/fs/fusefs/readdir.cc
475
ASSERT_NE(nullptr, de) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
482
ASSERT_EQ(0, errno);
tests/sys/fs/fusefs/readdir.cc
508
errno = 0;
tests/sys/fs/fusefs/readdir.cc
510
ASSERT_NE(nullptr, dir) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
511
errno = 0;
tests/sys/fs/fusefs/readdir.cc
513
ASSERT_EQ(0, errno);
tests/sys/fs/fusefs/readdir.cc
92
errno = 0;
tests/sys/fs/fusefs/readdir.cc
94
ASSERT_NE(nullptr, dir) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
96
errno = 0;
tests/sys/fs/fusefs/readdir.cc
98
ASSERT_NE(nullptr, de) << strerror(errno);
tests/sys/fs/fusefs/readlink.cc
116
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/readlink.cc
118
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/readlink.cc
155
ASSERT_NE(nullptr, getcwd(wd, sizeof(wd))) << strerror(errno);
tests/sys/fs/fusefs/readlink.cc
157
ASSERT_LE(0, len) << strerror(errno);
tests/sys/fs/fusefs/readlink.cc
79
EXPECT_EQ(ELOOP, errno);
tests/sys/fs/fusefs/release.cc
121
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/release.cc
123
ASSERT_TRUE(0 == close(fd) || errno == EIO) << strerror(errno);
tests/sys/fs/fusefs/release.cc
143
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/release.cc
145
ASSERT_EQ(0, close(fd)) << strerror(errno);
tests/sys/fs/fusefs/release.cc
166
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/release.cc
170
ASSERT_LE(0, fd2) << strerror(errno);
tests/sys/fs/fusefs/release.cc
172
ASSERT_EQ(0, close(fd2)) << strerror(errno);
tests/sys/fs/fusefs/release.cc
173
ASSERT_EQ(0, close(fd)) << strerror(errno);
tests/sys/fs/fusefs/release.cc
189
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/release.cc
191
ASSERT_EQ(0, close(fd)) << strerror(errno);
tests/sys/fs/fusefs/release.cc
220
ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, s)) << strerror(errno);
tests/sys/fs/fusefs/release.cc
223
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/release.cc
238
ASSERT_GE(sendmsg(s[0], &msg, 0), 0) << strerror(errno);
tests/sys/fs/fusefs/release.cc
279
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/release.cc
286
ASSERT_NE(-1, fcntl(fd, F_SETLK, &fl)) << strerror(errno);
tests/sys/fs/fusefs/release.cc
288
ASSERT_EQ(0, close(fd)) << strerror(errno);
tests/sys/fs/fusefs/release.cc
91
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/release.cc
94
ASSERT_LE(0, fd2) << strerror(errno);
tests/sys/fs/fusefs/release.cc
96
ASSERT_EQ(0, close(fd2)) << strerror(errno);
tests/sys/fs/fusefs/release.cc
97
ASSERT_EQ(0, close(fd)) << strerror(errno);
tests/sys/fs/fusefs/releasedir.cc
113
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/releasedir.cc
115
ASSERT_EQ(0, close(fd)) << strerror(errno);
tests/sys/fs/fusefs/releasedir.cc
74
ASSERT_NE(nullptr, dir) << strerror(errno);
tests/sys/fs/fusefs/releasedir.cc
77
ASSERT_NE(nullptr, dir2) << strerror(errno);
tests/sys/fs/fusefs/releasedir.cc
79
ASSERT_EQ(0, closedir(dir)) << strerror(errno);
tests/sys/fs/fusefs/releasedir.cc
80
ASSERT_EQ(0, closedir(dir2)) << strerror(errno);
tests/sys/fs/fusefs/releasedir.cc
95
ASSERT_NE(nullptr, dir) << strerror(errno);
tests/sys/fs/fusefs/releasedir.cc
97
ASSERT_EQ(0, closedir(dir)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
123
ASSERT_EQ(0, rename(FULLSRC, FULLDST)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
158
ASSERT_EQ(0, rename(FULLSRC, FULLDST)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
163
ASSERT_EQ(0, access(FULLDST, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
243
<< strerror(errno);
tests/sys/fs/fusefs/rename.cc
249
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/rename.cc
264
ASSERT_LE(0, tmpfd) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
269
ASSERT_EQ(EXDEV, errno);
tests/sys/fs/fusefs/rename.cc
272
ASSERT_EQ(EXDEV, errno);
tests/sys/fs/fusefs/rename.cc
301
ASSERT_EQ(0, rename(FULLSRC, FULLDST)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
380
ASSERT_EQ(0, rename(FULLSRC, FULLDST)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
382
ASSERT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
385
ASSERT_EQ(0, stat(FULLDSTPARENT, &sb)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
388
ASSERT_EQ(0, stat(FULLDSTDOTDOT, &sb)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
419
ASSERT_EQ(0, rename(FULLSRC, FULLDST)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
69
ASSERT_EQ(EINVAL, errno);
tests/sys/fs/fusefs/rename.cc
84
ASSERT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/rmdir.cc
109
ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/rmdir.cc
110
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/rmdir.cc
125
ASSERT_EQ(ENOTEMPTY, errno);
tests/sys/fs/fusefs/rmdir.cc
140
ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/rmdir.cc
141
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/rmdir.cc
153
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/rmdir.cc
159
ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/rmdir.cc
82
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
116
ASSERT_EQ(0, chmod(FULLPATH, newmode)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
153
EXPECT_EQ(0, chmod(FULLPATH, newmode)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
209
ASSERT_EQ(0, stat(FULLPATH1, &sb)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
212
ASSERT_EQ(0, chmod(FULLPATH0, newmode)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
213
ASSERT_EQ(0, stat(FULLPATH0, &sb)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
215
ASSERT_EQ(0, stat(FULLPATH1, &sb)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
257
EXPECT_EQ(0, chown(FULLPATH, newuser, newgroup)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
290
EXPECT_EQ(EPERM, errno);
tests/sys/fs/fusefs/setattr.cc
338
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
339
ASSERT_EQ(0, fchmod(fd, newmode)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
392
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
393
ASSERT_EQ(0, ftruncate(fd, newsize)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
428
EXPECT_EQ(0, truncate(FULLPATH, newsize)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
535
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
545
EXPECT_EQ(0, ftruncate(fd, trunc0_size)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
548
EXPECT_EQ(0, ftruncate(fd, trunc1_size)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
584
ASSERT_EQ(0, setrlimit(RLIMIT_FSIZE, &rl)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
585
ASSERT_NE(SIG_ERR, signal(SIGXFSZ, sigxfsz_handler)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
588
EXPECT_EQ(EFBIG, errno);
tests/sys/fs/fusefs/setattr.cc
644
<< strerror(errno);
tests/sys/fs/fusefs/setattr.cc
695
<< strerror(errno);
tests/sys/fs/fusefs/setattr.cc
756
<< strerror(errno);
tests/sys/fs/fusefs/setattr.cc
757
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
779
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
805
EXPECT_EQ(ENOENT, errno);
tests/sys/fs/fusefs/setattr.cc
828
ASSERT_EQ(EROFS, errno);
tests/sys/fs/fusefs/setattr.cc
861
EXPECT_EQ(0, chmod(FULLPATH, newmode)) << strerror(errno);
tests/sys/fs/fusefs/statfs.cc
103
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/statfs.cc
115
ASSERT_NE(nullptr, getcwd(mp, PATH_MAX)) << strerror(errno);
tests/sys/fs/fusefs/statfs.cc
118
<< strerror(errno);
tests/sys/fs/fusefs/statfs.cc
120
ASSERT_EQ(0, sem_wait(&sem)) << strerror(errno);
tests/sys/fs/fusefs/statfs.cc
153
ASSERT_NE(nullptr, getcwd(mp, PATH_MAX)) << strerror(errno);
tests/sys/fs/fusefs/statfs.cc
155
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/statfs.cc
56
ASSERT_EQ(EIO, errno);
tests/sys/fs/fusefs/statfs.cc
70
ASSERT_NE(nullptr, getcwd(mp, PATH_MAX)) << strerror(errno);
tests/sys/fs/fusefs/statfs.cc
72
ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno);
tests/sys/fs/fusefs/statfs.cc
88
return (void*)(intptr_t)errno;
tests/sys/fs/fusefs/symlink.cc
124
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/symlink.cc
125
EXPECT_EQ(0, symlink(dst, FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/symlink.cc
126
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/symlink.cc
150
EXPECT_EQ(ENOSPC, errno);
tests/sys/fs/fusefs/symlink.cc
164
EXPECT_EQ(0, symlink(dst, FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/symlink.cc
181
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/symlink.cc
190
EXPECT_EQ(EIO, errno);
tests/sys/fs/fusefs/symlink.cc
207
EXPECT_EQ(0, symlink(dst, FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
127
ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
128
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
141
ASSERT_EQ(EPERM, errno);
tests/sys/fs/fusefs/unlink.cc
156
ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
157
ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
183
ASSERT_EQ(0, unlink(FULLPATH0)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
190
ASSERT_EQ(0, access(FULLPATH1, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
200
ASSERT_EQ(0, sem_init(&sem, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
206
ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
227
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
228
ASSERT_EQ(0, unlink(FULLPATH0)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
235
ASSERT_EQ(0, access(FULLPATH1, F_OK)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
79
ASSERT_LE(0, fd1) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
81
ASSERT_EQ(0, fstat(fd1, &sb_old)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
82
ASSERT_EQ(0, unlink(FULLPATH0)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
83
ASSERT_EQ(0, fstat(fd1, &sb_new)) << strerror(errno);
tests/sys/fs/fusefs/utils.cc
138
NULL, 0)) << strerror(errno);
tests/sys/fs/fusefs/utils.cc
141
<< strerror(errno);
tests/sys/fs/fusefs/utils.cc
599
ASSERT_NE(MAP_FAILED, sem) << strerror(errno);
tests/sys/fs/fusefs/utils.cc
600
ASSERT_EQ(0, sem_init(sem, 1, 0)) << strerror(errno);
tests/sys/fs/fusefs/utils.cc
636
ASSERT_EQ(0, sem_post(sem)) << strerror(errno);
tests/sys/fs/fusefs/utils.cc
638
ASSERT_LE(0, wait(child_status)) << strerror(errno);
tests/sys/fs/fusefs/utils.cc
640
FAIL() << strerror(errno);
tests/sys/fs/fusefs/utils.cc
652
ASSERT_EQ(0, err) << strerror(errno);
tests/sys/fs/fusefs/utils.cc
72
if (errno == ENOENT) {
tests/sys/fs/fusefs/utils.cc
74
} else if (errno == EACCES) {
tests/sys/fs/fusefs/utils.cc
78
GTEST_SKIP() << strerror(errno);
tests/sys/fs/fusefs/write.cc
1033
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1037
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
1065
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1068
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
1090
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1092
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1097
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1098
ASSERT_EQ(bufsize, read(fd, readbuf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1124
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1126
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1128
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1129
ASSERT_EQ(0, fcntl(fd, F_SETFL, 0)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1130
ASSERT_EQ(bufsize, read(fd, readbuf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1151
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1153
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1155
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1156
ASSERT_EQ(0, fcntl(fd, F_SETFL, 0)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1157
ASSERT_EQ(bufsize, read(fd, readbuf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1191
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1194
ASSERT_NE(MAP_FAILED, p) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1198
ASSERT_EQ(0, munmap(p, len)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1227
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1229
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1261
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1266
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
1269
ASSERT_EQ(0, fcntl(fd, F_SETFL, O_DIRECT)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1271
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
1274
ASSERT_EQ(0, fcntl(fd, F_SETFL, 0)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1275
ASSERT_EQ(bufsize, pread(fd, readbuf, bufsize, 0)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1310
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1313
ASSERT_EQ(3 * bs, pwrite(fd, zeros, 3 * bs, 0)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1324
ASSERT_EQ(0, fcntl(fd, F_SETFL, O_DIRECT)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1325
ASSERT_EQ(2 * bs, pwrite(fd, ones, 2 * bs, bs / 2)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1334
ASSERT_EQ(0, fcntl(fd, F_SETFL, 0)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1335
ASSERT_EQ(bs / 2, pread(fd, readbuf, bs / 2, 0)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1338
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
1341
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
1344
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
1383
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1387
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
1391
ASSERT_LE(0, r) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1398
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1447
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1450
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1453
ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, s)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1467
ASSERT_GE(sendmsg(s[0], &msg, 0), 0) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1524
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1525
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1527
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1563
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1564
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1565
ASSERT_EQ(0, fchmod(fd, newmode)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1600
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1601
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1602
ASSERT_EQ(0, fchmod(fd, newmode)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1627
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1629
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1634
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1635
ASSERT_EQ(bufsize, read(fd, readbuf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1655
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1657
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1659
ASSERT_EQ(0, fstat(fd, &sb)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
253
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
260
ASSERT_EQ(0, aio_write(&iocb)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
261
ASSERT_EQ(bufsize, aio_waitcomplete(&piocb, NULL)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
295
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
297
ASSERT_EQ(BUFSIZE, write(fd, CONTENTS, BUFSIZE)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
326
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
330
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
333
ASSERT_EQ(BUFSIZE, write(fd, CONTENTS, BUFSIZE)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
354
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
356
ASSERT_EQ(BUFSIZE, write(fd, CONTENTS, BUFSIZE)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
378
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
381
ASSERT_EQ(bufsize, read(fd, readbuf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
384
ASSERT_EQ(0, fcntl(fd, F_SETFL, O_DIRECT)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
385
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
386
ASSERT_EQ(bufsize, write(fd, CONTENTS1, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
390
ASSERT_EQ(0, fcntl(fd, F_SETFL, 0)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
391
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
392
ASSERT_EQ(bufsize, read(fd, readbuf, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
422
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
424
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
447
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
449
ASSERT_EQ(-1, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
450
ASSERT_EQ(EINVAL, errno);
tests/sys/fs/fusefs/write.cc
482
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
484
ASSERT_EQ(-1, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
485
ASSERT_EQ(EINVAL, errno);
tests/sys/fs/fusefs/write.cc
508
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
510
ASSERT_EQ(halfbufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
538
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
544
ASSERT_EQ(size0, writev(fd, iov, 2)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
567
ASSERT_EQ(0, setrlimit(RLIMIT_FSIZE, &rl)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
568
ASSERT_NE(SIG_ERR, signal(SIGXFSZ, sigxfsz_handler)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
572
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
575
EXPECT_EQ(EFBIG, errno);
tests/sys/fs/fusefs/write.cc
605
ASSERT_EQ(0, setrlimit(RLIMIT_FSIZE, &rl)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
606
ASSERT_NE(SIG_ERR, signal(SIGXFSZ, sigxfsz_handler)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
610
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
613
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
644
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
647
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
719
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
721
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
765
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
768
ASSERT_NE(MAP_FAILED, p) << strerror(errno);
tests/sys/fs/fusefs/write.cc
772
ASSERT_EQ(0, munmap(p, len)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
796
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
799
<< strerror(errno);
tests/sys/fs/fusefs/write.cc
819
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
820
ASSERT_EQ(0, fstat(fd, &sb0)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
821
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
825
ASSERT_EQ(0, fstat(fd, &sb1)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
848
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
850
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
881
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
883
ASSERT_EQ(bufsize, write(fd, contents, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
902
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
904
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
922
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
924
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
954
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
956
ASSERT_EQ(bufsize, write(fd, CONTENTS, bufsize)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
989
ASSERT_LE(0, fd) << strerror(errno);
tests/sys/fs/fusefs/write.cc
993
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
176
ASSERT_EQ(0, sem_init(&killer_semaphore, 0, 0)) << strerror(errno);
tests/sys/fs/fusefs/xattr.cc
225
ASSERT_EQ(ENOATTR, errno);
tests/sys/fs/fusefs/xattr.cc
245
EXPECT_EQ(EOPNOTSUPP, errno);
tests/sys/fs/fusefs/xattr.cc
250
EXPECT_EQ(EOPNOTSUPP, errno);
tests/sys/fs/fusefs/xattr.cc
278
ASSERT_EQ(ERANGE, errno);
tests/sys/fs/fusefs/xattr.cc
299
<< strerror(errno);;
tests/sys/fs/fusefs/xattr.cc
323
ASSERT_EQ(value_len, r) << strerror(errno);
tests/sys/fs/fusefs/xattr.cc
348
ASSERT_EQ(value_len, r) << strerror(errno);
tests/sys/fs/fusefs/xattr.cc
366
EXPECT_EQ(EOPNOTSUPP, errno);
tests/sys/fs/fusefs/xattr.cc
370
EXPECT_EQ(EOPNOTSUPP, errno);
tests/sys/fs/fusefs/xattr.cc
386
ASSERT_EQ(ENOTSUP, errno);
tests/sys/fs/fusefs/xattr.cc
481
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
510
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
541
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
594
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
623
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
648
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
679
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
711
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
725
ASSERT_EQ(ENOATTR, errno);
tests/sys/fs/fusefs/xattr.cc
742
EXPECT_EQ(EOPNOTSUPP, errno);
tests/sys/fs/fusefs/xattr.cc
746
EXPECT_EQ(EOPNOTSUPP, errno);
tests/sys/fs/fusefs/xattr.cc
759
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
772
<< strerror(errno);
tests/sys/fs/fusefs/xattr.cc
795
EXPECT_EQ(EOPNOTSUPP, errno);
tests/sys/fs/fusefs/xattr.cc
801
EXPECT_EQ(EOPNOTSUPP, errno);
tests/sys/fs/fusefs/xattr.cc
822
EXPECT_EQ(ENOTSUP, errno);
tests/sys/fs/fusefs/xattr.cc
841
ASSERT_EQ(value_len, r) << strerror(errno);
tests/sys/fs/fusefs/xattr.cc
860
ASSERT_EQ(value_len, r) << strerror(errno);
tests/sys/fs/fusefs/xattr.cc
881
ASSERT_EQ(value_len, r) << strerror(errno);
tests/sys/fs/fusefs/xattr.cc
900
ASSERT_EQ(value_len, r) << strerror(errno);
tests/sys/fs/fusefs/xattr.cc
911
ASSERT_EQ(EROFS, errno);
tests/sys/fs/fusefs/xattr.cc
927
EXPECT_EQ(EROFS, errno);
tests/sys/kern/acct/acct_test.c
209
ATF_REQUIRE_MSG(unsetenv("TZ") == 0, "unsetting TZ failed; errno=%d", errno);
tests/sys/kern/basic_signal.c
75
ATF_REQUIRE(errno == EINTR);
tests/sys/kern/getdirentries_test.c
106
ATF_CHECK_EQ(EINVAL, errno);
tests/sys/kern/getdirentries_test.c
109
ATF_CHECK_EQ(EINVAL, errno);
tests/sys/kern/getdirentries_test.c
122
ATF_CHECK_EQ(EINVAL, errno);
tests/sys/kern/getdirentries_test.c
142
ATF_CHECK_EQ(ENOENT, errno);
tests/sys/kern/getdirentries_test.c
159
ATF_CHECK_EQ(ENOTDIR, errno);
tests/sys/kern/getdirentries_test.c
58
ATF_CHECK_EQ(EBADF, errno);
tests/sys/kern/getdirentries_test.c
61
ATF_CHECK_EQ(EBADF, errno);
tests/sys/kern/getdirentries_test.c
79
ATF_CHECK_EQ(EFAULT, errno);
tests/sys/kern/getdirentries_test.c
83
ATF_CHECK_EQ(EFAULT, errno);
tests/sys/kern/inotify_test.c
157
errmsg[0] == '\0' ? strerror(errno) : errmsg);
tests/sys/kern/inotify_test.c
181
errmsg[0] == '\0' ? strerror(errno) : errmsg);
tests/sys/kern/inotify_test.c
862
"unmounting ./root failed: %s", strerror(errno));
tests/sys/kern/jail_lookup_root.c
28
ATF_REQUIRE_MSG(error == 0 || errno == EEXIST,
tests/sys/kern/jail_lookup_root.c
29
"mkdir %s: %s", dir, strerror(errno));
tests/sys/kern/jail_lookup_root.c
54
errmsg[0] != '\0' ? errmsg : strerror(errno));
tests/sys/kern/kern_copyin.c
54
return (ret == -1 ? errno : 0);
tests/sys/kern/kern_copyin.c
68
return (ret == -1 ? errno : 0);
tests/sys/kern/kern_descrip_test.c
101
fprintf(stderr, "open: %s\n", strerror(errno));
tests/sys/kern/kern_descrip_test.c
136
ATF_CHECK_MSG(wait(NULL) > 0, "wait: %s", strerror(errno));
tests/sys/kern/kern_descrip_test.c
158
strerror(errno));
tests/sys/kern/kern_descrip_test.c
161
strerror(errno));
tests/sys/kern/kern_descrip_test.c
169
strerror(errno));
tests/sys/kern/kern_descrip_test.c
174
strerror(errno));
tests/sys/kern/kern_descrip_test.c
178
"setrlimit(RLIMIT_NOFILE, %d): %s", maxfiles, strerror(errno));
tests/sys/kern/kern_descrip_test.c
82
ATF_CHECK_EQ(EBADF, errno);
tests/sys/kern/kern_descrip_test.c
97
errno = 0;
tests/sys/kern/ktls_test.c
1265
if (rv == -1 && errno == EAGAIN)
tests/sys/kern/ktls_test.c
1268
"failed to read from socket: %s", strerror(errno));
tests/sys/kern/ktls_test.c
1554
"failed to write to socket: %s", strerror(errno));
tests/sys/kern/ktls_test.c
189
if (errno != EINPROGRESS) {
tests/sys/kern/ktls_test.c
1911
ATF_REQUIRE_MSG(errno == ENOTCONN || errno == ECONNRESET,
tests/sys/kern/ktls_test.c
1912
"shutdown() failed: %s", strerror(errno));
tests/sys/kern/ktls_test.c
243
error = errno;
tests/sys/kern/ktls_test.c
249
error = errno;
tests/sys/kern/ktls_test.c
60
if (errno == ENOENT)
tests/sys/kern/ktls_test.c
62
atf_libc_error(errno, "Failed to read kern.ipc.tls.enable");
tests/sys/kern/ktls_test.c
80
atf_libc_error(errno, "Failed to fetch TLS mode");
tests/sys/kern/ktls_test.c
92
atf_libc_error(errno, "Failed to fetch TLS mode");
tests/sys/kern/ktrace_test.c
127
"ktrace failed: %s", strerror(errno));
tests/sys/kern/ktrace_test.c
192
CHILD_REQUIRE_EQ(errno, ENOTCAPABLE);
tests/sys/kern/ktrace_test.c
230
CHILD_REQUIRE_EQ(errno, ENOTCAPABLE);
tests/sys/kern/listener_wakeup.c
146
return (rv == -1 ? errno : 0);
tests/sys/kern/listener_wakeup.c
159
return (rv == -1 ? errno : 0);
tests/sys/kern/listener_wakeup.c
175
return (rv == -1 ? errno : 0);
tests/sys/kern/listener_wakeup.c
187
error = errno;
tests/sys/kern/listener_wakeup.c
250
ATF_REQUIRE(errno == ENOTCONN);
tests/sys/kern/module_test.c
103
ATF_REQUIRE(errno == ENOENT);
tests/sys/kern/module_test.c
109
ATF_REQUIRE(errno == EFAULT);
tests/sys/kern/module_test.c
113
ATF_REQUIRE(errno == EINVAL);
tests/sys/kern/module_test.c
135
ATF_REQUIRE(errno == ENOENT);
tests/sys/kern/module_test.c
141
ATF_REQUIRE(errno == EFAULT);
tests/sys/kern/module_test.c
145
ATF_REQUIRE(errno == EINVAL);
tests/sys/kern/module_test.c
168
ATF_REQUIRE(errno == ENOENT);
tests/sys/kern/module_test.c
174
ATF_REQUIRE(errno == EFAULT);
tests/sys/kern/module_test.c
178
ATF_REQUIRE(errno == EINVAL);
tests/sys/kern/module_test.c
46
ATF_REQUIRE(errno == ENOENT);
tests/sys/kern/module_test.c
57
ATF_REQUIRE(errno == ENOENT);
tests/sys/kern/module_test.c
78
ATF_REQUIRE(errno == ENOENT);
tests/sys/kern/module_test.c
82
ATF_REQUIRE(errno == ENOENT);
tests/sys/kern/pdeathsig.c
56
ATF_CHECK_EQ(EINVAL, errno);
tests/sys/kern/pdeathsig.c
62
ATF_CHECK_EQ(EINVAL, errno);
tests/sys/kern/pdeathsig.c
69
ATF_CHECK_EQ(EINVAL, errno);
tests/sys/kern/pdeathsig.c
75
ATF_CHECK_EQ(EFAULT, errno);
tests/sys/kern/pdrfork.c
47
ATF_CHECK_EQ_MSG(r, 0, "pdgetpid failed: %s", strerror(errno));
tests/sys/kern/pdrfork.c
58
ATF_CHECK_EQ(ECHILD, errno);
tests/sys/kern/pdrfork.c
68
ATF_REQUIRE_MSG(pid >= 0, "rfork failed with %s", strerror(errno));
tests/sys/kern/pdrfork.c
85
ATF_REQUIRE_MSG(pid >= 0, "rfork failed with %s", strerror(errno));
tests/sys/kern/pdrfork.c
95
ATF_CHECK_EQ_MSG(r, 0, "pdgetpid failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
119
ATF_REQUIRE_MSG(pid >= 0, "pdfork failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
138
ATF_REQUIRE_MSG(pid >= 0, "pdfork failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
158
ATF_REQUIRE_MSG(pid >= 0, "pdfork failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
178
ATF_REQUIRE_MSG(pid >= 0, "pdfork failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
205
ATF_REQUIRE_MSG(pid >= 0, "pdfork failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
208
ATF_CHECK_EQ_MSG(0, cap_enter(), "cap_enter: %s", strerror(errno));
tests/sys/kern/pdwait.c
210
"cap_rights_limit %s", strerror(errno));
tests/sys/kern/pdwait.c
232
ATF_REQUIRE_MSG(pid >= 0, "pdfork failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
258
ATF_REQUIRE_MSG(pid >= 0, "pdfork failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
282
ATF_REQUIRE_MSG(pid >= 0, "pdfork failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
66
ATF_REQUIRE_MSG(pid >= 0, "pdfork failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
91
ATF_REQUIRE_MSG(pid >= 0, "pdfork failed: %s", strerror(errno));
tests/sys/kern/pdwait.c
94
ATF_CHECK_EQ_MSG(0, cap_enter(), "cap_enter: %s", strerror(errno));
tests/sys/kern/pipe/big_pipe_test.c
35
if (errno != EAGAIN)
tests/sys/kern/pipe/big_pipe_test.c
56
printf("fcntl failed: %s\n", strerror(errno));
tests/sys/kern/pipe/big_pipe_test.c
62
err(1, "fork failed: %s\n", strerror(errno));
tests/sys/kern/pipe/pipe_fstat_bug_test.c
73
int _error = errno; \
tests/sys/kern/pipe/pipe_fstat_bug_test.c
77
errno = _error; \
tests/sys/kern/pipe/pipe_fstat_bug_test.c
81
int _error = errno; \
tests/sys/kern/pipe/pipe_fstat_bug_test.c
85
errno = _error; \
tests/sys/kern/pipe/pipe_kqueue_test.c
257
ATF_REQUIRE(errno == EAGAIN || errno == EWOULDBLOCK);
tests/sys/kern/pipe/pipe_kqueue_test.c
329
ATF_REQUIRE(errno == EAGAIN || errno == EWOULDBLOCK);
tests/sys/kern/pipe/pipe_kqueue_test.c
78
ATF_REQUIRE(errno == EAGAIN || errno == EWOULDBLOCK);
tests/sys/kern/pipe/pipe_overcommit2_test.c
57
if (returnval == -1 && (errno == ENFILE || errno == EMFILE))
tests/sys/kern/pipe/pipe_reverse_test.c
77
int _error = errno; \
tests/sys/kern/pipe/pipe_reverse_test.c
81
errno = _error; \
tests/sys/kern/pipe/pipe_reverse_test.c
85
int _error = errno; \
tests/sys/kern/pipe/pipe_reverse_test.c
89
errno = _error; \
tests/sys/kern/pipe/pipe_wraparound_test.c
75
int _error = errno; \
tests/sys/kern/pipe/pipe_wraparound_test.c
79
errno = _error; \
tests/sys/kern/pipe/pipe_wraparound_test.c
83
int _error = errno; \
tests/sys/kern/pipe/pipe_wraparound_test.c
87
errno = _error; \
tests/sys/kern/prace.c
109
if (errno != ENOENT)
tests/sys/kern/prace.c
65
if (ret != 0 && errno != EINTR)
tests/sys/kern/procdesc.c
59
"sysctlbyname: %s", strerror(errno));
tests/sys/kern/procdesc.c
63
ATF_REQUIRE_MSG(dangle_pid >= 0, "pdfork: %s", strerror(errno));
tests/sys/kern/procdesc.c
83
ATF_REQUIRE_MSG(pid >= 0, "vfork: %s", strerror(errno));
tests/sys/kern/ptrace_test.c
1006
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1157
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1220
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1315
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1384
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1488
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1549
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1586
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1632
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1682
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
169
REQUIRE_EQ(errno, ESRCH);
tests/sys/kern/ptrace_test.c
1733
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1806
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1853
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1904
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
1962
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2082
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
216
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2248
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2305
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2371
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2460
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2521
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2570
CHILD_REQUIRE(err == 0 || errno == EINTR);
tests/sys/kern/ptrace_test.c
2571
} while (err != 0 && errno == EINTR);
tests/sys/kern/ptrace_test.c
2621
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
263
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2677
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2744
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2836
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2861
if (nevents == -1 && errno == EINTR)
tests/sys/kern/ptrace_test.c
2891
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
2905
CHILD_REQUIRE(err == 0 || errno == EINTR);
tests/sys/kern/ptrace_test.c
2906
} while (err != 0 && errno == EINTR);
tests/sys/kern/ptrace_test.c
2958
CHILD_REQUIRE(err == 0 || errno == EINTR);
tests/sys/kern/ptrace_test.c
2959
} while (err != 0 && errno == EINTR);
tests/sys/kern/ptrace_test.c
2997
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
3030
CHILD_REQUIRE(err == 0 || errno == EINTR);
tests/sys/kern/ptrace_test.c
3031
} while (err != 0 && errno == EINTR);
tests/sys/kern/ptrace_test.c
3067
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
3123
CHILD_REQUIRE(err == 0 || errno == EINTR);
tests/sys/kern/ptrace_test.c
3124
} while (err != 0 && errno == EINTR);
tests/sys/kern/ptrace_test.c
3186
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
3257
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
3475
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
3654
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
3707
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
3758
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
3930
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
4003
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
4160
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
4248
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
4261
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
4303
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
4360
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
4500
errno = 0;
tests/sys/kern/ptrace_test.c
4502
shm->nanosleep_errno = errno;
tests/sys/kern/ptrace_test.c
4548
if (readsz > 0 || errno == EINTR)
tests/sys/kern/ptrace_test.c
498
} while (n == -1 && errno == EINTR);
tests/sys/kern/ptrace_test.c
680
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
731
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
791
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
880
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/ptrace_test.c
943
REQUIRE_EQ(errno, ECHILD);
tests/sys/kern/reaper.c
103
ATF_REQUIRE(pid == -1 && errno == ECHILD);
tests/sys/kern/reaper.c
152
ATF_REQUIRE(pid == -1 && errno == ECHILD);
tests/sys/kern/reaper.c
238
ATF_REQUIRE(pid == -1 && errno == ECHILD);
tests/sys/kern/reaper.c
51
ATF_REQUIRE(pid == -1 && errno == ECHILD);
tests/sys/kern/reaper.c
543
ATF_CHECK(r == -1 && errno == EINVAL);
tests/sys/kern/reaper.c
560
ATF_CHECK(r == -1 && errno == EINVAL);
tests/sys/kern/reaper.c
578
ATF_CHECK(r == -1 && errno == ESRCH);
tests/sys/kern/sched_affinity.c
127
ATF_REQUIRE_EQ(errno, EINVAL);
tests/sys/kern/sched_affinity.c
143
ATF_REQUIRE_EQ(errno, EDEADLK);
tests/sys/kern/sched_affinity.c
172
ATF_REQUIRE_EQ(errno, EINVAL);
tests/sys/kern/sched_affinity.c
191
ATF_REQUIRE_EQ(errno, EDEADLK);
tests/sys/kern/sched_affinity.c
204
ATF_REQUIRE_EQ(errno, ERANGE);
tests/sys/kern/sched_affinity.c
244
ATF_REQUIRE_EQ(errno, EINVAL);
tests/sys/kern/sched_affinity.c
91
ATF_REQUIRE_EQ(errno, EINVAL);
tests/sys/kern/sendfile_helper.c
88
errno != EINPROGRESS)
tests/sys/kern/shutdown_dgram.c
63
error = (rv == -1) ? errno : 0;
tests/sys/kern/shutdown_dgram.c
77
ATF_REQUIRE(errno == ENOTCONN);
tests/sys/kern/sigwait.c
135
"sigtimedwait () should fail: rv %d, errno %d", rv, errno);
tests/sys/kern/sigwait.c
136
ATF_REQUIRE_EQ_MSG(EAGAIN, errno,
tests/sys/kern/sigwait.c
138
rv, errno);
tests/sys/kern/sigwait.c
220
"sigtimedwait () should fail: rv %d, errno %d", rv, errno);
tests/sys/kern/sigwait.c
221
ATF_REQUIRE_EQ_MSG(EINTR, errno,
tests/sys/kern/sigwait.c
223
rv, errno);
tests/sys/kern/sigwait.c
246
"sigtimedwait () should fail: rv %d, errno %d", rv, errno);
tests/sys/kern/sigwait.c
247
ATF_REQUIRE_EQ_MSG(EINTR, errno,
tests/sys/kern/sigwait.c
249
rv, errno);
tests/sys/kern/sigwait.c
274
"sigtimedwait () should fail: rv %d, errno %d", rv, errno);
tests/sys/kern/sigwait.c
275
ATF_REQUIRE_EQ_MSG(EINVAL, errno,
tests/sys/kern/sigwait.c
277
rv, errno);
tests/sys/kern/sigwait.c
303
"sigwait() should not fail: rv %d, errno %d", rv, errno);
tests/sys/kern/sigwait.c
330
ATF_REQUIRE_EQ_MSG(EINTR, errno,
tests/sys/kern/sigwait.c
331
"sigwaitinfo() should fail errno %d != EINTR", errno);
tests/sys/kern/sigwait.c
365
ATF_REQUIRE_EQ_MSG(EAGAIN, errno,
tests/sys/kern/sigwait.c
367
errno);
tests/sys/kern/sigwait.c
371
rv, errno);
tests/sys/kern/sigwait.c
404
ATF_REQUIRE_EQ_MSG(EINTR, errno,
tests/sys/kern/sigwait.c
405
"sigwaitinfo() should fail errno %d != EINTR", errno);
tests/sys/kern/socket_accept.c
87
ATF_REQUIRE(errno == EFAULT);
tests/sys/kern/socket_accf.c
109
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/socket_accf.c
133
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/socket_accf.c
150
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/socket_accf.c
176
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/socket_accf.c
180
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/socket_accf.c
207
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/socket_accf.c
240
sizeof(hfa)) != 0 && errno == EBUSY);
tests/sys/kern/socket_accf.c
250
sizeof(dfa)) != 0 && errno == EINVAL);
tests/sys/kern/socket_accf.c
73
atf_tc_fail("setsockopt(SO_ACCEPTFILTER): %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
122
ATF_REQUIRE_MSG(rc == 0, "bind failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
147
ATF_REQUIRE_MSG(rc == 0, "bind failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
177
ATF_REQUIRE_MSG(nbytes >= 0, "send failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
181
ATF_REQUIRE_MSG(fd >= 0, "open failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
184
"ktrace(SET) failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
192
ATF_REQUIRE_MSG(nbytes >= 0, "recvmsg failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
198
"ktrace(CLEARFILE) failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
201
ATF_REQUIRE_MSG(nbytes >= 0, "read failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
58
ATF_REQUIRE_MSG(rc != -1, "sendto failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
62
ATF_REQUIRE_MSG(rc >= 0, "recv failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
66
ATF_REQUIRE_MSG(rc >= 0, "recv failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
70
ATF_REQUIRE_MSG(rc >= 0, "recv failed: %s", strerror(errno));
tests/sys/kern/socket_msg_trunc.c
95
ATF_REQUIRE_MSG(rc == 0, "bind failed: %s", strerror(errno));
tests/sys/kern/socket_msg_waitall.c
103
"send: %s", strerror(errno));
tests/sys/kern/socket_msg_waitall.c
152
"unlink: %s", strerror(errno));
tests/sys/kern/socket_msg_waitall.c
172
"unlink: %s", strerror(errno));
tests/sys/kern/socket_msg_waitall.c
46
ATF_REQUIRE_MSG(s >= 0, "socket: %s", strerror(errno));
tests/sys/kern/socket_msg_waitall.c
49
ATF_REQUIRE_MSG(error == 0, "connect: %s", strerror(errno));
tests/sys/kern/socket_msg_waitall.c
72
ATF_REQUIRE_MSG(s >= 0, "socket %s", strerror(errno));
tests/sys/kern/socket_msg_waitall.c
75
"bind: %s", strerror(errno));
tests/sys/kern/socket_msg_waitall.c
77
"listen: %s", strerror(errno));
tests/sys/kern/socket_msg_waitall.c
79
"getsockname: %s", strerror(errno));
tests/sys/kern/socket_msg_waitall.c
99
ATF_REQUIRE_MSG(cs >= 0, "accept: %s", strerror(errno));
tests/sys/kern/socket_splice.c
101
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
103
ATF_REQUIRE_MSG(error == 0, "listen failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
106
ATF_REQUIRE_MSG(error == 0, "getsockname failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
109
ATF_REQUIRE_MSG(error == 0, "connect failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
111
ATF_REQUIRE_MSG(out[0] >= 0, "accept failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
137
ATF_REQUIRE_MSG(error == 0, "getsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
173
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
191
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
195
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
277
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
279
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
287
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
289
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
311
strerror(errno));
tests/sys/kern/socket_splice.c
315
strerror(errno));
tests/sys/kern/socket_splice.c
33
ATF_REQUIRE_MSG(error == 0, "close failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
343
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
346
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
363
ATF_REQUIRE_MSG(error == 0, "getsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
374
strerror(errno));
tests/sys/kern/socket_splice.c
411
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
420
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
43
ATF_REQUIRE_MSG(error == 0, "ioctl failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
433
ATF_REQUIRE_MSG(fd >= 0, "mkstemp failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
446
ATF_REQUIRE_MSG(error == 0, "socketpair failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
457
ATF_REQUIRE_MSG(sd >= 0, "socket failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
484
ATF_REQUIRE_MSG(kq >= 0, "kqueue failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
488
ATF_REQUIRE_MSG(error == 0, "kevent failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
492
ATF_REQUIRE_MSG(nev >= 0, "kevent failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
497
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
499
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
503
ATF_REQUIRE_MSG(nev >= 0, "kevent failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
508
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
510
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
532
ATF_REQUIRE_MSG(n > 0, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
536
ATF_REQUIRE_MSG(n > 0, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
54
ATF_REQUIRE_MSG(flags != -1, "fcntl failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
545
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
547
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
556
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
558
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
57
ATF_REQUIRE_MSG(error == 0, "fcntl failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
584
ATF_REQUIRE_MSG(n > 0, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
588
ATF_REQUIRE_MSG(n > 0, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
596
ATF_REQUIRE_MSG(error == 0, "usleep failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
604
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
606
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
636
ATF_REQUIRE_MSG(sd[2] >= 0, "socket failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
638
ATF_REQUIRE_MSG(error == 0, "listen failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
688
ATF_REQUIRE_MSG(child >= 0, "fork failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
712
"waitpid failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
72
ATF_REQUIRE_MSG(sd[0] >= 0, "socket failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
74
ATF_REQUIRE_MSG(sd[1] >= 0, "socket failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
769
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
771
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
779
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
78
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
781
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
800
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
802
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
81
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
810
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
812
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
839
ATF_REQUIRE_MSG(error == 0, "fcntl failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
904
"pthread_create failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
907
"pthread_create failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
911
"pthread_join failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
914
"pthread_join failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
938
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
942
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
946
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
948
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
953
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
955
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/ssl_sendfile.c
87
if (errno == ENOENT)
tests/sys/kern/ssl_sendfile.c
89
atf_libc_error(errno, "Failed to read kern.ipc.tls.enable");
tests/sys/kern/sys_getrandom.c
58
errno == EAGAIN)
tests/sys/kern/sys_getrandom.c
61
ATF_REQUIRE_MSG(ret >= 0, "other error: %d", errno);
tests/sys/kern/sys_getrandom.c
89
ATF_REQUIRE_EQ(errno, EFAULT);
tests/sys/kern/timerfd.c
1030
ATF_REQUIRE_MSG(r == 0, "r: %d, errno: %d", (int)r, errno);
tests/sys/kern/timerfd.c
1153
ATF_REQUIRE_MSG(r == (ssize_t)sizeof(exp), "%d %d", (int)r, errno);
tests/sys/kern/timerfd.c
59
if (timer_fds[i] < 0 && errno == EMFILE) {
tests/sys/kern/timerfd.c
62
ATF_REQUIRE_MSG(timer_fds[i] >= 0, "errno: %d", errno);
tests/sys/kern/timerfd.c
76
ATF_REQUIRE_MSG(r == (ssize_t)sizeof(timeouts), "%d %d", (int)r, errno);
tests/sys/kern/timerfd.c
881
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
885
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
893
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
895
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
903
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
911
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
914
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
920
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
924
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
932
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
940
ATF_REQUIRE(errno == 0);
tests/sys/kern/timerfd.c
949
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/timerfd.c
996
if (r < 0 && errno == EPERM) {
tests/sys/kern/tty/readsz.c
97
if (ret == -1 && errno == EINTR)
tests/sys/kern/tty/test_sti.c
116
ATF_REQUIRE_EQ_MSG(EINTR, errno,
tests/sys/kern/tty/test_sti.c
117
"waitpid: %s", strerror(errno));
tests/sys/kern/tty/test_sti.c
262
serrno = errno;
tests/sys/kern/tty/test_sti.c
312
if (errno != EPERM)
tests/sys/kern/unix_dgram.c
118
ATF_REQUIRE(errno == EMSGSIZE);
tests/sys/kern/unix_dgram.c
145
ATF_REQUIRE(errno == EINTR);
tests/sys/kern/unix_dgram.c
150
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/unix_dgram.c
155
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/unix_dgram.c
160
ATF_REQUIRE(errno == ENOBUFS);
tests/sys/kern/unix_dgram.c
168
ATF_REQUIRE(errno == ENOBUFS);
tests/sys/kern/unix_dgram.c
173
ATF_REQUIRE(errno == ECONNRESET);
tests/sys/kern/unix_dgram.c
196
ATF_REQUIRE(errno == EINVAL);
tests/sys/kern/unix_dgram.c
240
ATF_REQUIRE(errno == ENOBUFS);
tests/sys/kern/unix_dgram.c
265
ATF_REQUIRE(errno == EAGAIN); /* data from many[0] discarded */
tests/sys/kern/unix_passfd_test.c
1001
ATF_REQUIRE_MSG(error == 0, "close failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
1020
ATF_REQUIRE_MSG(len == 0, "sendmsg failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
1024
ATF_REQUIRE_MSG(len == 0, "recvmsg failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
1027
ATF_REQUIRE_MSG(error == 0, "close failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
109
"fstat failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
1145
if (errno != ENOTCAPABLE)
tests/sys/kern/unix_passfd_test.c
1152
if (errno != ENOTCAPABLE)
tests/sys/kern/unix_passfd_test.c
1206
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
1210
ATF_REQUIRE_MSG(error == 0, "socketpair failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
195
strerror(errno));
tests/sys/kern/unix_passfd_test.c
207
strerror(errno));
tests/sys/kern/unix_passfd_test.c
236
ATF_REQUIRE_MSG(len != -1, "recvmsg failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
290
"sysctl %s failed: %s", LOCAL_SENDSPACE_SYSCTL, strerror(errno));
tests/sys/kern/unix_passfd_test.c
302
"sysctl %s failed: %s", LOCAL_RECVSPACE_SYSCTL, strerror(errno));
tests/sys/kern/unix_passfd_test.c
320
"fcntl(O_NONBLOCK) failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
498
ATF_REQUIRE(errno == EMSGSIZE);
tests/sys/kern/unix_passfd_test.c
519
ATF_REQUIRE(errno == EMFILE);
tests/sys/kern/unix_passfd_test.c
538
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/unix_passfd_test.c
564
ATF_REQUIRE_MSG(len == -1 && errno == EAGAIN,
tests/sys/kern/unix_passfd_test.c
565
"sendmsg: %zd bytes sent, errno %d", len, errno);
tests/sys/kern/unix_passfd_test.c
567
ATF_REQUIRE_MSG(len == -1 && errno == ENOBUFS,
tests/sys/kern/unix_passfd_test.c
568
"sendmsg: %zd bytes sent, errno %d", len, errno);
tests/sys/kern/unix_passfd_test.c
69
"socketpair(PF_UNIX, %u) failed: %s", TEST_PROTO, strerror(errno));
tests/sys/kern/unix_passfd_test.c
724
strerror(errno));
tests/sys/kern/unix_passfd_test.c
727
strerror(errno));
tests/sys/kern/unix_passfd_test.c
730
ATF_REQUIRE_MSG(len != -1 , "sendmsg failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
778
"sendmsg failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
803
"recvmsg failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
848
ATF_REQUIRE_MSG(rc == 0, "close failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
86
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
878
ATF_REQUIRE_MSG(rc == 0, "close failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
918
ATF_REQUIRE_MSG(len != -1, "sendmsg failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
930
error = errno;
tests/sys/kern/unix_passfd_test.c
932
ATF_REQUIRE_MSG(errno == EFAULT, "expected EFAULT, got %d (%s)",
tests/sys/kern/unix_passfd_test.c
933
error, strerror(errno));
tests/sys/kern/unix_passfd_test.c
979
ATF_REQUIRE(len == -1 && errno == EINVAL);
tests/sys/kern/unix_passfd_test.c
994
ATF_REQUIRE_MSG(len == 0, "sendmsg failed: %s", strerror(errno));
tests/sys/kern/unix_passfd_test.c
998
ATF_REQUIRE_MSG(len == 0, "recvmsg failed: %s", strerror(errno));
tests/sys/kern/unix_seqpacket_test.c
1049
ATF_CHECK_EQ(EAGAIN, errno);
tests/sys/kern/unix_seqpacket_test.c
1350
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/unix_seqpacket_test.c
174
if (errno == EAGAIN) {
tests/sys/kern/unix_seqpacket_test.c
263
if (errno == EAGAIN)
tests/sys/kern/unix_seqpacket_test.c
279
if (errno == EAGAIN) {
tests/sys/kern/unix_seqpacket_test.c
558
ATF_REQUIRE(errno == EPIPE);
tests/sys/kern/unix_seqpacket_test.c
567
ATF_REQUIRE(errno == EPIPE);
tests/sys/kern/unix_seqpacket_test.c
587
ATF_REQUIRE(errno == ENOTCONN);
tests/sys/kern/unix_seqpacket_test.c
862
ATF_CHECK_EQ(EPIPE, errno);
tests/sys/kern/unix_seqpacket_test.c
945
ATF_CHECK_EQ(EAGAIN, errno);
tests/sys/kern/unix_stream.c
139
"select() returns %d errno %d", nfds, errno);
tests/sys/kern/unix_stream.c
154
"poll() returns %d errno %d", nfds, errno);
tests/sys/kern/unix_stream.c
168
"kevent() returns %d errno %d", nfds, errno);
tests/sys/kern/unix_stream.c
172
"kevent() returns %d errno %d", nfds, errno);
tests/sys/kern/unix_stream.c
190
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/unix_stream.c
508
ATF_REQUIRE(errno == EAGAIN);
tests/sys/kern/unix_stream.c
65
"sysctl net.local.stream.sendspace failed: %s", strerror(errno));
tests/sys/kqueue/libkqueue/main.c
235
err(1, "kevent(): %s", strerror(errno));
tests/sys/mac/bsdextended/ugidfw_test.c
156
"failed: %s\n", test_num, test_users[i], strerror(errno));
tests/sys/mac/bsdextended/ugidfw_test.c
164
"failed: %s\n", test_num, test_groups[i], strerror(errno));
tests/sys/mac/bsdextended/ugidfw_test.c
213
strerror(errno));
tests/sys/mqueue/mqtest1.c
43
else if (errno != EBUSY)
tests/sys/net/if_ovpn/if_ovpn_c.c
118
ATF_CHECK_EQ(errno, EPROTOTYPE);
tests/sys/net/randsleep.c
49
errno = 0;
tests/sys/net/randsleep.c
51
if (errno != 0) {
tests/sys/net/routing/rtsock_common.h
379
RLOG_ERRNO("jail %s attach failed: ret=%d", vnet_name, errno);
tests/sys/net/routing/rtsock_common.h
643
ATF_REQUIRE_MSG(fd != -1, "rtsock open failed: %s", strerror(errno));
tests/sys/net/routing/rtsock_common.h
662
my_errno = errno;
tests/sys/net/routing/rtsock_common.h
687
int my_errno = errno;
tests/sys/net/routing/rtsock_common.h
837
ATF_REQUIRE_MSG(len > 0, "read() return %zd, error: %s", len, strerror(errno));
tests/sys/net/routing/rtsock_config.h
134
errno = 0;
tests/sys/net/routing/rtsock_print.h
35
printf(": %s\n", strerror(errno)); \
tests/sys/netgraph/basic.c
167
if (errno != 0)
tests/sys/netgraph/basic.c
79
if (errno == EADDRINUSE)
tests/sys/netgraph/bridge.c
239
ATF_CHECK_ERRNO(ELOOP, errno != 0); /* loop might be detected */
tests/sys/netgraph/bridge.c
298
if (errno != 0)
tests/sys/netgraph/bridge.c
369
if (errno != 0)
tests/sys/netgraph/bridge.c
398
if (errno > 0)
tests/sys/netgraph/bridge.c
512
if (errno > 0)
tests/sys/netgraph/hub.c
210
if (errno != 0)
tests/sys/netgraph/util.c
53
#x " not met", strerror(errno));\
tests/sys/netinet/broadcast.c
65
errno);
tests/sys/netinet/fibs_multibind_test.c
104
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
125
ATF_REQUIRE_MSG(error == 0, "sysctlbyname failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
150
ATF_REQUIRE_MSG(error == 0, "sysctlbyname failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
185
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
188
ATF_REQUIRE_MSG(error == 0, "getsockname failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
197
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
198
ATF_REQUIRE_MSG(close(s[1]) == 0, "close failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
204
ATF_REQUIRE_MSG(error == 0, "seteuid failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
210
ATF_REQUIRE_MSG(close(s[1]) == 0, "close failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
242
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
245
ATF_REQUIRE_MSG(error == 0, "getsockname failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
248
ATF_REQUIRE_MSG(error == 0, "listen failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
257
ATF_REQUIRE_MSG(error == 0, "connect failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
259
ATF_REQUIRE_MSG(ns != -1, "accept failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
269
ATF_REQUIRE_MSG(errno == ECONNREFUSED, "unexpected error %d", errno);
tests/sys/netinet/fibs_multibind_test.c
278
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
280
ATF_REQUIRE_MSG(error == 0, "listen failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
285
strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
287
ATF_REQUIRE_MSG(ns != -1, "accept failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
296
strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
298
ATF_REQUIRE_MSG(ns != -1, "accept failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
312
ATF_REQUIRE_MSG(errno == ECONNREFUSED, "unexpected error %d", errno);
tests/sys/netinet/fibs_multibind_test.c
316
ATF_REQUIRE_MSG(error == 0, "connect failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
318
ATF_REQUIRE_MSG(ns != -1, "accept failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
358
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
361
ATF_REQUIRE_MSG(error == 0, "getsockname failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
371
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
379
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
385
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
390
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
397
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
424
strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
445
strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
481
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
491
ATF_REQUIRE_MSG(n > 0, "recv failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
499
"recv failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
551
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
553
ATF_REQUIRE_MSG(error == 0, "listen failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
555
ATF_REQUIRE_MSG(error == 0, "getsockname failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
558
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
560
ATF_REQUIRE_MSG(error == 0, "listen failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
563
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
565
ATF_REQUIRE_MSG(error == 0, "listen failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
574
strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
579
ATF_REQUIRE_MSG(errno == EWOULDBLOCK,
tests/sys/netinet/fibs_multibind_test.c
580
"accept failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
583
ATF_REQUIRE_MSG(errno == EWOULDBLOCK,
tests/sys/netinet/fibs_multibind_test.c
585
strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
600
strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
603
ATF_REQUIRE_MSG(as != -1, "accept failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
644
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
646
ATF_REQUIRE_MSG(error == 0, "getsockname failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
649
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
651
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
667
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
672
strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
676
strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
695
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
731
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
738
ATF_REQUIRE_MSG(error == 0, "setsockopt failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
93
ATF_REQUIRE_MSG(error == 0, "close failed: %s", strerror(errno));
tests/sys/netinet/ip6_mrouted.c
108
if (errno == EINTR)
tests/sys/netinet/ip6_v4mapped_test.c
234
strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
239
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
241
ATF_REQUIRE_MSG(error == 0, "listen() failed: %s", strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
248
strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
273
i, strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
277
"setsockopt(IPV6_ONLY = 0) failed: %s", strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
285
if (errno == EADDRNOTAVAIL) { /* Success, expected */
tests/sys/netinet/ip6_v4mapped_test.c
290
"client bind %d failed: %s", i, strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
294
if (error != 0 && errno == EADDRINUSE) {
tests/sys/netinet/ip6_v4mapped_test.c
298
i, strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
302
i, strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
349
ATF_REQUIRE_MSG(error == 0, "bind: %s", strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
353
"getsockname() for listen socket failed: %s", strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
377
"setsockopt(IPV6_V6ONLY) failed: %s", strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
381
ATF_REQUIRE_MSG(n == 1, "sendto() failed: %s", strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
385
ATF_REQUIRE_MSG(n == 1, "recv() failed: %s", strerror(errno));
tests/sys/netinet/ip_reass_test.c
125
ATF_REQUIRE_MSG(n >= 0, "packet write failed: %s", strerror(errno));
tests/sys/netinet/ip_reass_test.c
146
if (fd < 0 && errno == ENOENT)
tests/sys/netinet/ip_reass_test.c
148
ATF_REQUIRE_MSG(fd >= 0, "open(/dev/bpf0): %s", strerror(errno));
tests/sys/netinet/ip_reass_test.c
162
ATF_REQUIRE_MSG(error == 0, "ioctl(BIOCSETIF): %s", strerror(errno));
tests/sys/netinet/ip_reass_test.c
181
strerror(errno));
tests/sys/netinet/multicast-receive.c
48
errno = 0;
tests/sys/netinet/multicast-receive.c
49
if ((ul = strtol(c, NULL, 10)) < 1 || ul > IPPORT_MAX || errno != 0)
tests/sys/netinet/multicast-send.c
45
errno = 0;
tests/sys/netinet/multicast-send.c
46
if ((ul = strtol(c, NULL, 10)) < 1 || ul > IPPORT_MAX || errno != 0)
tests/sys/netinet/raw.c
211
ss == -1 && errno == EAGAIN),
tests/sys/netinet/raw.c
218
tests[i].proto, ss, errno, j,
tests/sys/netinet/raw.c
300
errno == EAGAIN),
tests/sys/netinet/raw.c
307
ss, errno);
tests/sys/netinet/so_reuseport_lb_test.c
100
"close() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
109
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
123
ATF_REQUIRE_MSG(sd >= 0, "socket() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
128
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
151
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
153
ATF_REQUIRE_MSG(error == 0, "listen() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
158
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
173
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
176
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
184
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
207
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
209
ATF_REQUIRE_MSG(error == 0, "listen() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
214
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
229
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
232
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
240
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
261
"kevent() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
266
"accept() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
270
ATF_REQUIRE_MSG(n >= 0, "write() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
274
ATF_REQUIRE_MSG(error == 0 || errno == ECONNRESET,
tests/sys/netinet/so_reuseport_lb_test.c
275
"close() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
288
ATF_REQUIRE_MSG(s >= 0, "socket() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
295
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
299
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
304
"close() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
322
ATF_REQUIRE_MSG(sc.kq >= 0, "kqueue() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
340
ATF_REQUIRE_MSG(s >= 0, "socket() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
345
"setsockopt(SO_REUSEPORT_LB) failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
349
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
353
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
358
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
366
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
404
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
407
ATF_REQUIRE_MSG(error == 0, "listen() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
409
ATF_REQUIRE_MSG(error == 0, "listen() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
412
ATF_REQUIRE_MSG(error == 0, "close() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
432
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
435
ATF_REQUIRE_MSG(error == 0, "listen() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
437
ATF_REQUIRE_MSG(error == 0, "listen() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
440
ATF_REQUIRE_MSG(error == 0, "close() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
463
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
468
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
473
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
477
ATF_REQUIRE_MSG(error == 0, "listen() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
481
ATF_REQUIRE_MSG(error == 0, "close() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
485
ATF_REQUIRE_MSG(error == 0, "close() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
512
ATF_REQUIRE_MSG(rv == -1 && errno == EOPNOTSUPP,
tests/sys/netinet/so_reuseport_lb_test.c
514
rv, errno);
tests/sys/netinet/so_reuseport_lb_test.c
517
ATF_REQUIRE_MSG(rv == -1 && errno == EOPNOTSUPP,
tests/sys/netinet/so_reuseport_lb_test.c
519
rv, errno);
tests/sys/netinet/so_reuseport_lb_test.c
548
ATF_REQUIRE_MSG(rv == -1 && errno == EOPNOTSUPP,
tests/sys/netinet/so_reuseport_lb_test.c
550
rv, errno);
tests/sys/netinet/so_reuseport_lb_test.c
553
ATF_REQUIRE_MSG(rv == -1 && errno == EOPNOTSUPP,
tests/sys/netinet/so_reuseport_lb_test.c
555
rv, errno);
tests/sys/netinet/so_reuseport_lb_test.c
588
"setsockopt(SO_REUSEPORT_LB) failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
590
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
593
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
596
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
603
ATF_REQUIRE_MSG(error == 0, "connect() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
660
"setsockopt(SO_REUSEPORT_LB) failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
662
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
665
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
668
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
675
ATF_REQUIRE_MSG(error == 0, "connect() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
69
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
74
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
78
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
82
strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
91
ATF_REQUIRE_MSG(errno == EWOULDBLOCK ||
tests/sys/netinet/so_reuseport_lb_test.c
92
errno == EAGAIN,
tests/sys/netinet/so_reuseport_lb_test.c
94
strerror(errno));
tests/sys/netinet/socket_afinet.c
283
ATF_CHECK_EQ(errno, EISCONN);
tests/sys/netinet/socket_afinet.c
372
if (errno != EADDRINUSE)
tests/sys/netinet/socket_afinet.c
381
if (errno != EADDRINUSE)
tests/sys/netinet/socket_afinet.c
526
ATF_REQUIRE_MSG(sd[0] >= 0, "socket failed: %s", strerror(errno));
tests/sys/netinet/socket_afinet.c
528
ATF_REQUIRE_MSG(sd[1] >= 0, "socket failed: %s", strerror(errno));
tests/sys/netinet/socket_afinet.c
547
ATF_REQUIRE_MSG(error == 0, "bind failed: %s", strerror(errno));
tests/sys/netinet/socket_afinet.c
549
ATF_REQUIRE_MSG(error == 0, "listen failed: %s", strerror(errno));
tests/sys/netinet/socket_afinet.c
552
ATF_REQUIRE_MSG(error == 0, "getsockname failed: %s", strerror(errno));
tests/sys/netinet/socket_afinet.c
558
ATF_REQUIRE_MSG(error == 0, "connect failed: %s", strerror(errno));
tests/sys/netinet/socket_afinet.c
560
ATF_REQUIRE_MSG(tmp >= 0, "accept failed: %s", strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
182
strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
184
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
186
ATF_REQUIRE_MSG(error == 0, "listen() failed: %s", strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
196
strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
209
i, strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
214
i, strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
220
i, strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
227
i, strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
252
i, strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
257
i, strerror(errno));
tests/sys/netinet/tcp_connect_port_test.c
262
i, strerror(errno));
tests/sys/netinet/udp_bindings.c
129
ATF_REQUIRE_MSG(sendmsg(s, &msg, 0) == -1 && errno == EINVAL,
tests/sys/netinet/udp_bindings.c
130
"sendmsg(.cmsg_type = IP_SENDSRCADDR), errno %d", errno);
tests/sys/netinet/udp_dontroute.c
125
else if (len < 0 && errno == EAGAIN)
tests/sys/netinet/udp_io.c
91
ATF_REQUIRE(errno == EAGAIN);
tests/sys/netlink/netlink_socket.c
108
ATF_REQUIRE(errno == EAGAIN);
tests/sys/netlink/netlink_socket.c
136
ATF_REQUIRE(errno == EINTR);
tests/sys/netmap/ctrl-api-test.c
1020
return (errno == EMSGSIZE ? 0 : -1);
tests/sys/netmap/ctrl-api-test.c
1037
return (errno == EINVAL ? 0 : -1);
tests/sys/netmap/ctrl-api-test.c
131
fprintf(stderr, "waitpid() failed: %s\n", strerror(errno));
tests/sys/netmap/ctrl-api-test.c
1655
printf("sem_timedwait() failed: %s\n", strerror(errno));
tests/sys/netmap/ctrl-api-test.c
1858
if (errno != t->exp_error) {
tests/sys/netmap/ctrl-api-test.c
1860
errno, t->exp_error);
tests/sys/netmap/ctrl-api-test.c
1873
printf ("!!! nmreq_header_decode was expected to succeed, but it failed with error %d\n", errno);
tests/sys/netmap/ctrl-api-test.c
1908
if (errno != -t->exp_error) {
tests/sys/netmap/ctrl-api-test.c
1910
errno, -t->exp_error);
tests/sys/netmap/ctrl-api-test.c
1975
printf("Failed to acquire nmctx: %s", strerror(errno));
tests/sys/netmap/ctrl-api-test.c
65
errno = ENODEV;
tests/sys/opencrypto/blake2_test.c
109
"alg %d keylen %zu, errno=%d (%s)", alg, klen, errno,
tests/sys/opencrypto/blake2_test.c
110
strerror(errno));
tests/sys/opencrypto/poly1305_test.c
323
"alg %d keylen %zu, errno=%d (%s)", alg, klen, errno,
tests/sys/opencrypto/poly1305_test.c
324
strerror(errno));
tests/sys/opencrypto/poly1305_test.c
335
"destroy session failed, errno=%d (%s)", errno, strerror(errno));
tests/sys/posixshm/memfd_test.c
116
ATF_REQUIRE(errno == EPERM);
tests/sys/posixshm/memfd_test.c
120
ATF_REQUIRE(errno == EACCES);
tests/sys/posixshm/memfd_test.c
144
ATF_REQUIRE(errno == EBUSY);
tests/sys/posixshm/memfd_test.c
153
ATF_REQUIRE(errno == EBUSY);
tests/sys/posixshm/memfd_test.c
162
ATF_REQUIRE(errno == EACCES);
tests/sys/posixshm/memfd_test.c
187
err = errno;
tests/sys/posixshm/memfd_test.c
245
ATF_REQUIRE(errno == EPERM);
tests/sys/posixshm/memfd_test.c
249
ATF_REQUIRE(errno == EACCES);
tests/sys/posixshm/memfd_test.c
264
ATF_REQUIRE_MSG(errno == EPERM,
tests/sys/posixshm/memfd_test.c
277
ATF_REQUIRE_MSG(errno == EPERM,
tests/sys/posixshm/memfd_test.c
306
ATF_REQUIRE(errno == ENOSYS);
tests/sys/posixshm/memfd_test.c
89
ATF_REQUIRE(errno == EPERM);
tests/sys/posixshm/posixshm.h
38
ATF_REQUIRE_MSG(pscnt != -1, "getpagesizes failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1004
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1010
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1027
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1034
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1041
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1062
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
109
ATF_CHECK_MSG(error == errno,
tests/sys/posixshm/posixshm_test.c
1100
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno:%d", errno);
tests/sys/posixshm/posixshm_test.c
111
"errno=%d", errno, error);
tests/sys/posixshm/posixshm_test.c
1110
"Aligned fspacectl failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1120
"Unaligned fspacectl failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1129
"Aligned fspacectl to OFF_MAX failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1138
"Unaligned fspacectl to OFF_MAX failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1147
"Aligned fspacectl past shm_sz failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1156
"Unaligned fspacectl past shm_sz failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1176
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno:%d", errno);
tests/sys/posixshm/posixshm_test.c
1188
"SPACECTL_DEALLOC failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1217
"shm_unlink failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1219
"close failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1228
if (fd < 0 && errno == ENOTTY)
tests/sys/posixshm/posixshm_test.c
1230
ATF_REQUIRE_MSG(fd >= 0, "shm_create_largepage failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1233
if (error != 0 && errno == ENOMEM)
tests/sys/posixshm/posixshm_test.c
1239
ATF_REQUIRE_MSG(error == 0, "ftruncate failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1261
"mmap(%zu bytes) failed; errno=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
127
if (fd < 0 && errno == EEXIST) {
tests/sys/posixshm/posixshm_test.c
1272
ATF_REQUIRE_MSG(error == 0, "mincore failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1311
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1321
ATF_REQUIRE_MSG(errno == ENOTTY, "ioctl(FIOSSHMLPGCNF) returned %d",
tests/sys/posixshm/posixshm_test.c
1322
errno);
tests/sys/posixshm/posixshm_test.c
133
atf_tc_fail("shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1331
if (fd < 0 && errno == ENOTTY)
tests/sys/posixshm/posixshm_test.c
1333
ATF_REQUIRE_MSG(fd >= 0, "shm_open2 failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1337
ATF_REQUIRE_MSG(errno == EINVAL, "ftruncate returned %d", errno);
tests/sys/posixshm/posixshm_test.c
1341
ATF_REQUIRE_MSG(errno == EINVAL, "mmap returned %d", errno);
tests/sys/posixshm/posixshm_test.c
1344
ATF_REQUIRE_MSG(errno == EINVAL, "mmap returned %d", errno);
tests/sys/posixshm/posixshm_test.c
1349
ATF_REQUIRE_MSG(errno == EINVAL, "write returned %d", errno);
tests/sys/posixshm/posixshm_test.c
135
atf_tc_fail("ftruncate failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1354
ATF_REQUIRE_MSG(errno == EINVAL, "write returned %d", errno);
tests/sys/posixshm/posixshm_test.c
1385
ATF_REQUIRE_MSG(errno == EINVAL,
tests/sys/posixshm/posixshm_test.c
1386
"mmap(%zu bytes) failed; error=%d", ps[i - 1], errno);
tests/sys/posixshm/posixshm_test.c
139
atf_tc_fail("mmap failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1394
"mmap(%zu bytes) failed; errno=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1404
ATF_REQUIRE_MSG(errno == EINVAL, "mmap returned %d", errno);
tests/sys/posixshm/posixshm_test.c
1412
ATF_REQUIRE_MSG(errno == ENOSPC, "mmap returned %d", errno);
tests/sys/posixshm/posixshm_test.c
1418
"mmap(%zu bytes) failed; errno=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1429
"mmap failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
143
errno);
tests/sys/posixshm/posixshm_test.c
1434
"mmap failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1474
"mmap(%zu bytes) failed; errno=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1478
ATF_REQUIRE_MSG(errno == EINVAL,
tests/sys/posixshm/posixshm_test.c
1479
"unexpected error %d from munmap", errno);
tests/sys/posixshm/posixshm_test.c
1481
ATF_REQUIRE_MSG(errno == EINVAL,
tests/sys/posixshm/posixshm_test.c
1482
"unexpected error %d from munmap", errno);
tests/sys/posixshm/posixshm_test.c
1484
ATF_REQUIRE_MSG(errno == EINVAL,
tests/sys/posixshm/posixshm_test.c
1485
"unexpected error %d from munmap", errno);
tests/sys/posixshm/posixshm_test.c
1487
ATF_REQUIRE_MSG(errno == EINVAL,
tests/sys/posixshm/posixshm_test.c
1488
"unexpected error %d from munmap", errno);
tests/sys/posixshm/posixshm_test.c
1500
"madvise(%zu, %d) failed; error=%d", sz, advice, errno);
tests/sys/posixshm/posixshm_test.c
1504
ATF_REQUIRE_MSG(errno == error,
tests/sys/posixshm/posixshm_test.c
1506
errno, sz, advice);
tests/sys/posixshm/posixshm_test.c
1523
"mmap(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1572
"setrlimit failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1577
"sysctlbyname(vm.max_user_wired) failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1584
errno);
tests/sys/posixshm/posixshm_test.c
1597
"mmap(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1600
ATF_REQUIRE_MSG(errno == EINVAL,
tests/sys/posixshm/posixshm_test.c
1601
"unexpected error %d from mlock(%zu bytes)", errno, ps[i]);
tests/sys/posixshm/posixshm_test.c
1603
ATF_REQUIRE_MSG(errno == EINVAL,
tests/sys/posixshm/posixshm_test.c
1604
"unexpected error %d from mlock(%zu bytes)", errno, ps[i]);
tests/sys/posixshm/posixshm_test.c
1607
"mlock failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1615
"mmap(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1635
"mmap(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
164
errno, path);
tests/sys/posixshm/posixshm_test.c
1644
"msync(MS_ASYNC) failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1646
"msync(MS_ASYNC) failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1648
"msync(MS_SYNC) failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1650
"msync(MS_SYNC) failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1655
ATF_REQUIRE_MSG(errno == EBUSY,
tests/sys/posixshm/posixshm_test.c
1656
"unexpected error %d from msync(MS_INVALIDATE)", errno);
tests/sys/posixshm/posixshm_test.c
1658
"msync(MS_INVALIDATE) failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1671
"mprotect(%zu, %x) failed; error=%d", sz, prot, errno);
tests/sys/posixshm/posixshm_test.c
1675
ATF_REQUIRE_MSG(errno == error,
tests/sys/posixshm/posixshm_test.c
1677
errno, sz, prot);
tests/sys/posixshm/posixshm_test.c
1697
"mmap(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1704
"mmap(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1736
"mmap(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
176
errno);
tests/sys/posixshm/posixshm_test.c
1764
"mmap(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1769
"minherit(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1771
ATF_REQUIRE_MSG(child != -1, "fork failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1783
"waitpid failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1790
"minherit(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1792
ATF_REQUIRE_MSG(child != -1, "fork failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1801
"waitpid failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1812
"minherit(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1814
ATF_REQUIRE_MSG(child != -1, "fork failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1826
"waitpid failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1853
"mmap(%zu bytes) failed; error=%d", ps[i], errno);
tests/sys/posixshm/posixshm_test.c
1860
ATF_REQUIRE_MSG(child != -1, "fork() failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1875
ATF_REQUIRE_MSG(len >= 0, "write() failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1881
"waitpid() failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1905
if (fd < 0 && errno == ENOTTY)
tests/sys/posixshm/posixshm_test.c
1907
ATF_REQUIRE_MSG(fd >= 0, "shm_create_largepage failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1910
"ftruncate failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1912
ATF_REQUIRE_MSG(close(fd) == 0, "close failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1915
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1918
ATF_REQUIRE_MSG(addr != MAP_FAILED, "mmap failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1926
"mincore failed; error=%d", errno);
tests/sys/posixshm/posixshm_test.c
1931
"shm_unlink failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
1933
"close failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
316
atf_tc_fail("mmap(2) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
323
errno);
tests/sys/posixshm/posixshm_test.c
326
"shm_unlink failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
369
if (errno != ENOENT)
tests/sys/posixshm/posixshm_test.c
371
errno);
tests/sys/posixshm/posixshm_test.c
405
"shm_rename failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
433
ATF_REQUIRE_MSG((rc == -1) && (errno == EEXIST),
tests/sys/posixshm/posixshm_test.c
434
"shm_rename didn't fail as expected; errno: %d; return: %d", errno,
tests/sys/posixshm/posixshm_test.c
463
"shm_rename failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
486
"shm_rename failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
505
"shm_rename failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
529
ATF_REQUIRE_MSG((rc == -1) && (errno == EINVAL),
tests/sys/posixshm/posixshm_test.c
531
"errno=%d", rc, errno);
tests/sys/posixshm/posixshm_test.c
548
atf_tc_fail("shm_open(2) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
552
atf_tc_fail("mmap(2) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
558
errno);
tests/sys/posixshm/posixshm_test.c
561
"shm_unlink failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
575
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
582
if (errno != EACCES)
tests/sys/posixshm/posixshm_test.c
584
"errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
588
"shm_unlink failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
599
ATF_REQUIRE_MSG(fd >= 0, "shm_open(1) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
603
errno);
tests/sys/posixshm/posixshm_test.c
639
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
684
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
69
"mkstemp failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
691
"shm_unlink failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
704
ATF_REQUIRE_MSG(fd >= 0, "shm_open(1) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
706
"ftruncate failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
708
"fstat(1) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
71
"unlink failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
714
ATF_REQUIRE_MSG(fd >= 0, "shm_open(2) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
716
"fstat(2) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
721
"shm_unlink failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
756
atf_tc_fail("shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
759
atf_tc_fail("ftruncate(1) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
762
atf_tc_fail("fstat(1) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
776
errno);
tests/sys/posixshm/posixshm_test.c
780
atf_tc_fail("ftruncate(2) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
783
atf_tc_fail("fstat(2) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
792
atf_tc_fail("mmap(2) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
802
atf_tc_fail("ftruncate(3) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
805
atf_tc_fail("fstat(3) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
817
atf_tc_fail("fork failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
839
atf_tc_fail("wait failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
846
atf_tc_fail("ftruncate(2) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
849
atf_tc_fail("fstat(2) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
897
errno = 0;
tests/sys/posixshm/posixshm_test.c
899
if (scval == -1 && errno != 0) {
tests/sys/posixshm/posixshm_test.c
901
"errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
909
errno = 0;
tests/sys/posixshm/posixshm_test.c
911
if (scval == -1 && errno != 0) {
tests/sys/posixshm/posixshm_test.c
912
atf_tc_fail("sysconf(_SC_PAGESIZE) failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
925
ATF_REQUIRE_MSG(desc >= 0, "shm_open failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
927
"shm_unlink failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
929
"ftruncate failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
932
ATF_REQUIRE_MSG(region != MAP_FAILED, "mmap failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
939
"sigaction failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
944
"sigprocmask failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
947
ATF_REQUIRE_MSG(rv != -1, "fork failed; errno=%d", errno);
tests/sys/posixshm/posixshm_test.c
96
ATF_CHECK_MSG(error == errno,
tests/sys/posixshm/posixshm_test.c
98
"errno=%d", errno, error);
tests/sys/posixshm/posixshm_test.c
991
errno);
tests/sys/sound/polling.c
41
#define FMT_ERR(s) s ": %s", strerror(errno)
tests/sys/vfs/lookup_cap_dotdot.c
128
strerror(errno));
tests/sys/vm/mlock_test.c
191
"failed to get page sizes: %s", strerror(errno));
tests/sys/vm/mlock_test.c
197
ATF_REQUIRE_MSG(error == 0, "getrlimit: %s", strerror(errno));
tests/sys/vm/mlock_test.c
201
ATF_REQUIRE_MSG(error == 0, "setrlimit: %s", strerror(errno));
tests/sys/vm/mlock_test.c
204
ATF_REQUIRE_MSG(shmfd >= 0, "shm_open: %s", strerror(errno));
tests/sys/vm/mlock_test.c
206
ATF_REQUIRE_MSG(error == 0, "ftruncate: %s", strerror(errno));
tests/sys/vm/mlock_test.c
210
ATF_REQUIRE_MSG(addr1 != MAP_FAILED, "mmap: %s", strerror(errno));
tests/sys/vm/mlock_test.c
215
ATF_REQUIRE_MSG(addr2 != MAP_FAILED, "mmap: %s", strerror(errno));
tests/sys/vm/mlock_test.c
221
ATF_REQUIRE_MSG(error == 0, "mincore: %s", strerror(errno));
tests/sys/vm/mlock_test.c
226
ATF_REQUIRE_MSG(error == 0, "mlock: %s", strerror(errno));
tests/sys/vm/mlock_test.c
228
ATF_REQUIRE_MSG(error == 0, "mincore: %s", strerror(errno));
tests/sys/vm/mlock_test.c
236
ATF_REQUIRE_MSG(error == 0, "ftruncate: %s", strerror(errno));
tests/sys/vm/mlock_test.c
242
ATF_REQUIRE_MSG(error == 0, "ftruncate: %s", strerror(errno));
tests/sys/vm/mlock_test.c
248
ATF_REQUIRE_MSG(error == 0, "mincore: %s", strerror(errno));
tests/sys/vm/mlock_test.c
252
ATF_REQUIRE_MSG(error == 0, "mincore: %s", strerror(errno));
tests/sys/vm/mlock_test.c
260
ATF_REQUIRE_MSG(error == 0, "mincore: %s", strerror(errno));
tests/sys/vm/mlock_test.c
265
ATF_REQUIRE_MSG(error == 0, "mincore: %s", strerror(errno));
tests/sys/vm/mlock_test.c
272
ATF_REQUIRE_MSG(error == 0, "munlock: %s", strerror(errno));
tests/sys/vm/mlock_test.c
53
atf_tc_fail("fork() failed: %s", strerror(errno));
tests/sys/vm/mlock_test.c
72
errno = 0;
tests/sys/vm/mlock_test.c
74
ATF_REQUIRE(errno == 0);
tests/sys/vm/mmap_test.c
123
errno);
tests/sys/vm/mmap_test.c
125
ATF_CHECK_EQ_MSG(error, errno,
tests/sys/vm/mmap_test.c
127
errno, error);
tests/sys/vm/mmap_test.c
76
strerror(errno));
tests/sys/vm/mmap_test.c
82
if (errno == ENOENT) {
tests/sys/vm/mmap_test.c
87
strerror(errno));
tests/sys/vm/shared_shadow_inval_test.c
348
} while (pid != -1 || errno != ECHILD);
tools/build/bootstrap-m4/inittokenizer.c
1382
int oerrno = errno;
tools/build/bootstrap-m4/inittokenizer.c
1400
errno = oerrno;
tools/build/bootstrap-m4/inittokenizer.c
1829
errno = 0;
tools/build/bootstrap-m4/inittokenizer.c
1831
if (((l == LONG_MAX || l == LONG_MIN) && errno == ERANGE) ||
tools/build/bootstrap-m4/inittokenizer.c
621
errno=0; \
tools/build/bootstrap-m4/inittokenizer.c
624
if( errno != EINTR) \
tools/build/bootstrap-m4/inittokenizer.c
629
errno=0; \
tools/build/cross-build/capsicum_stubs.c
64
errno = ENOSYS;
tools/build/fspacectl.c
41
errno = ENOSYS;
tools/build/futimens.c
56
errno = EINVAL;
tools/build/futimens.c
62
errno = EINVAL;
tools/build/utimensat.c
103
errno = ENOTSUP;
tools/build/utimensat.c
47
errno = EINVAL;
tools/build/utimensat.c
60
errno = EINVAL;
tools/build/utimensat.c
66
errno = EINVAL;
tools/bus_space/C/lang.c
110
return (errno);
tools/bus_space/C/lang.c
125
return (errno);
tools/bus_space/C/lang.c
144
return (errno);
tools/bus_space/C/lang.c
163
return (errno);
tools/bus_space/C/lang.c
62
return ((!bs_write(rid, ofs, &val, sizeof(val))) ? errno : 0);
tools/bus_space/C/lang.c
69
return ((!bs_write(rid, ofs, &val, sizeof(val))) ? errno : 0);
tools/bus_space/C/lang.c
76
return ((!bs_write(rid, ofs, &val, sizeof(val))) ? errno : 0);
tools/bus_space/C/lang.c
90
return ((!bs_unmap(rid)) ? errno : 0);
tools/bus_space/Python/lang.c
107
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
123
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
139
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
153
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
169
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
189
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
208
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
239
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
303
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
43
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
59
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
75
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/Python/lang.c
91
PyErr_SetString(PyExc_IOError, strerror(errno));
tools/bus_space/bus.c
103
errno = EINVAL;
tools/bus_space/bus.c
141
errno = ESPIPE;
tools/bus_space/bus.c
158
errno = EIO;
tools/bus_space/bus.c
184
errno = EINVAL;
tools/bus_space/bus.c
188
errno = ENOSPC;
tools/bus_space/bus.c
239
errno = ESPIPE;
tools/bus_space/bus.c
256
errno = EIO;
tools/bus_space/bus.c
82
errno = EINVAL;
tools/bus_space/bus.c
87
errno = ENXIO;
tools/bus_space/busdma.c
124
errno = EINVAL;
tools/bus_space/busdma.c
129
errno = ENXIO;
tools/bus_space/busdma.c
133
errno = ENODEV;
tools/bus_space/busdma.c
191
errno = EINVAL;
tools/bus_space/busdma.c
233
return (errno);
tools/bus_space/busdma.c
241
return (errno);
tools/bus_space/busdma.c
258
return (errno);
tools/bus_space/busdma.c
322
return (errno);
tools/bus_space/busdma.c
328
return (errno);
tools/bus_space/busdma.c
344
return (errno);
tools/bus_space/busdma.c
353
return (errno);
tools/bus_space/busdma.c
370
return (errno);
tools/bus_space/busdma.c
376
return (errno);
tools/bus_space/busdma.c
449
return (errno);
tools/bus_space/busdma.c
455
return (errno);
tools/bus_space/busdma.c
476
errno = EINVAL;
tools/bus_space/busdma.c
481
errno = ENXIO;
tools/bus_space/busdma.c
498
errno = ENXIO;
tools/bus_space/busdma.c
514
return (errno);
tools/bus_space/busdma.c
530
return (errno);
tools/bus_space/busdma.c
544
return (errno);
tools/bus_space/busdma.c
553
return (errno);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
106
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
108
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
110
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
112
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
119
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
121
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
125
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
127
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
138
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
140
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
141
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
143
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
144
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
146
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
147
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
149
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
171
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
173
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
177
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
179
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
190
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
192
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
193
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
195
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
196
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
198
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
199
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
201
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
218
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
220
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
224
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
226
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
237
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
239
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
240
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
242
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
243
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
245
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
246
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
248
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
331
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
333
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
349
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
351
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
353
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
355
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
365
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
367
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
371
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
373
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
377
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
379
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
390
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
392
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
393
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
395
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
396
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
398
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
399
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
401
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
64
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
66
CHECK(errno == EINVAL);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
92
errno = 0;
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
94
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_getmode.c
115
errno = 0;
tools/regression/capsicum/syscalls/cap_getmode.c
117
CHECK(errno == EFAULT);
tools/regression/capsicum/syscalls/cap_getmode.c
118
errno = 0;
tools/regression/capsicum/syscalls/cap_getmode.c
120
CHECK(errno == EFAULT);
tools/regression/capsicum/syscalls/cap_getmode.c
59
errno = 0;
tools/regression/capsicum/syscalls/cap_getmode.c
61
CHECK(errno == EFAULT);
tools/regression/capsicum/syscalls/cap_getmode.c
62
errno = 0;
tools/regression/capsicum/syscalls/cap_getmode.c
64
CHECK(errno == EFAULT);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
106
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
108
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
112
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
114
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
118
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
120
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
147
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
149
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
152
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
154
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
158
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
160
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
164
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
166
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
186
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
188
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
191
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
193
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
197
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
199
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
203
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
205
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
282
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
284
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
296
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
298
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
302
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
304
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
86
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
88
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
96
errno = 0;
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
98
CHECK(errno == ENOTCAPABLE);
tools/regression/capsicum/syscalls/misc.c
114
return (errno);
tools/regression/capsicum/syscalls/misc.c
76
return (errno);
tools/regression/capsicum/syscalls/misc.h
33
int _serrno = errno; \
tools/regression/capsicum/syscalls/misc.h
36
errno = _serrno; \
tools/regression/capsicum/syscalls/misc.h
39
int _serrno = errno; \
tools/regression/capsicum/syscalls/misc.h
42
errno = _serrno; \
tools/regression/doat/doat.c
150
dir_exist = (errno == EEXIST);
tools/regression/doat/doat.c
151
if (error && errno != EEXIST) {
tools/regression/doat/doat.c
157
file_exist = (errno != ENOENT);
tools/regression/doat/doat.c
189
link_exist = (errno == EEXIST);
tools/regression/doat/doat.c
190
if (error && errno != EEXIST) {
tools/regression/doat/doat.c
654
if (tests[i].tests[j].result == errno)
tools/regression/environ/envctl.c
94
printf("%d %d%s", rtrnVal, rtrnVal != 0 ? errno : 0, eol);
tools/regression/fsx/fsx.c
157
prt("%s%s%s\n", prefix, prefix ? ": " : "", strerror(errno));
tools/regression/geom/MdLoad/MdLoad.c
255
if (fd < 0 && errno == ENOENT) {
tools/regression/mlock/mlock.c
55
errno = 0;
tools/regression/mlock/mlock.c
57
if (pwd == NULL && errno == 0)
tools/regression/mlock/mlock.c
60
errx(-1, "getpwnam: %s", strerror(errno));
tools/regression/mlock/mlock.c
67
errx(-1, "mmap: %s", strerror(errno));
tools/regression/mlock/mlock.c
70
errx(-1, "mlock privileged: %s", strerror(errno));
tools/regression/mlock/mlock.c
73
errx(-1, "munlock privileged: %s", strerror(errno));
tools/regression/mlock/mlock.c
76
errx(-1, "seteuid: %s", strerror(errno));
tools/regression/mlock/mlock.c
80
if (errno != EPERM)
tools/regression/mlock/mlock.c
81
errx(-1, "mlock unprivileged: %s", strerror(errno));
tools/regression/mlock/mlock.c
85
if (errno != EPERM)
tools/regression/mlock/mlock.c
86
errx(-1, "munlock unprivileged: %s", strerror(errno));
tools/regression/netinet/ipdivert/ipdivert.c
106
if (errno != expect)
tools/regression/netinet/ipdivert/ipdivert.c
60
fprintf(stderr, "%s - %s: FAIL (%s)\n", test, note, strerror(errno));
tools/regression/netinet/ipsockopt/ipsockopt.c
230
if (errno != ENOPROTOOPT)
tools/regression/netinet/ipsockopt/ipsockopt.c
232
"returned %d (%s) not ENOPROTOOPT", errno,
tools/regression/netinet/ipsockopt/ipsockopt.c
233
strerror(errno));
tools/regression/netinet/ipsockopt/ipsockopt.c
241
if (errno != ENOPROTOOPT)
tools/regression/netinet/ipsockopt/ipsockopt.c
243
"returned %d (%s) not ENOPROTOOPT\n", errno,
tools/regression/netinet/ipsockopt/ipsockopt.c
244
strerror(errno));
tools/regression/netinet/ipsockopt/ipsockopt.c
261
if (errno != ENOPROTOOPT)
tools/regression/netinet/ipsockopt/ipsockopt.c
263
"returned %d (%s) not ENOPROTOOPT\n", errno,
tools/regression/netinet/ipsockopt/ipsockopt.c
264
strerror(errno));
tools/regression/netinet/ipsockopt/ipsockopt.c
271
if (errno != ENOPROTOOPT)
tools/regression/netinet/ipsockopt/ipsockopt.c
273
"returned %d (%s) not ENOPROTOOPT\n", errno,
tools/regression/netinet/ipsockopt/ipsockopt.c
274
strerror(errno));
tools/regression/netinet/ipsockopt/ipsockopt.c
486
if (errno == EINVAL)
tools/regression/netinet/msocket/msocket.c
269
if (ret < 0 && errno != EADDRINUSE) {
tools/regression/netinet/msocket/msocket.c
311
if (ret < 0 && errno != EADDRNOTAVAIL) {
tools/regression/netinet/msocket_ifnet_remove/msocket_ifnet_remove.c
75
switch (errno) {
tools/regression/netinet/tcpconnect/tcpconnect.c
131
if (errno == ENOPROTOOPT && md5enable > 0)
tools/regression/netinet/tcpconnect/tcpconnect.c
133
else if (errno != ENOPROTOOPT)
tools/regression/netinet/tcpconnect/tcpconnect.c
142
sizeof(sin)) == -1 && errno != EINPROGRESS)
tools/regression/netinet/tcpdrop/tcpdrop.c
108
} else if (errno != EPIPE) {
tools/regression/netinet/tcpdrop/tcpdrop.c
109
error = errno;
tools/regression/netinet/tcpdrop/tcpdrop.c
111
errno = error;
tools/regression/netinet/tcpdrop/tcpdrop.c
132
error = errno;
tools/regression/netinet/tcpdrop/tcpdrop.c
134
errno = error;
tools/regression/netinet/tcpdrop/tcpdrop.c
145
error = errno;
tools/regression/netinet/tcpdrop/tcpdrop.c
147
errno = error;
tools/regression/netinet/tcpdrop/tcpdrop.c
153
error = errno;
tools/regression/netinet/tcpdrop/tcpdrop.c
155
errno = error;
tools/regression/netinet/tcpdrop/tcpdrop.c
167
error = errno;
tools/regression/netinet/tcpdrop/tcpdrop.c
169
errno = error;
tools/regression/netinet/tcpdrop/tcpdrop.c
179
error = errno;
tools/regression/netinet/tcpdrop/tcpdrop.c
181
errno = error;
tools/regression/netinet/tcpdrop/tcpdrop.c
191
} else if (errno != EPIPE) {
tools/regression/netinet/tcpdrop/tcpdrop.c
192
error = errno;
tools/regression/netinet/tcpdrop/tcpdrop.c
194
errno = error;
tools/regression/netinet/tcpdrop/tcpdrop.c
77
error = errno;
tools/regression/netinet/tcpdrop/tcpdrop.c
79
errno = error;
tools/regression/netinet/tcpdrop/tcpdrop.c
91
error = errno;
tools/regression/netinet/tcpdrop/tcpdrop.c
93
errno = error;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
105
error = errno;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
107
errno = error;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
125
error = errno;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
127
errno = error;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
138
error = errno;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
140
errno = error;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
146
error = errno;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
148
errno = error;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
154
error = errno;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
156
errno = error;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
75
error = errno;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
77
errno = error;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
88
error = errno;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
90
errno = error;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
95
error = errno;
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
97
errno = error;
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
58
error = errno;
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
60
errno = error;
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
77
error = errno;
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
79
errno = error;
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
90
error = errno;
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
92
errno = error;
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
97
error = errno;
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
99
errno = error;
tools/regression/netinet/tcpstream/tcpstream.c
128
errx(-1, "socket: %s", strerror(errno));
tools/regression/netinet/tcpstream/tcpstream.c
131
errx(-1, "bind: %s", strerror(errno));
tools/regression/netinet/tcpstream/tcpstream.c
134
errx(-1, "listen: %s", strerror(errno));
tools/regression/netinet/tcpstream/tcpstream.c
92
errx(-1, "socket: %s", strerror(errno));
tools/regression/netinet/tcpstream/tcpstream.c
95
errx(-1, "connect: %s", strerror(errno));
tools/regression/netinet/udpconnectjail/udpconnectjail.c
109
errx(-1, "jail: %s", strerror(errno));
tools/regression/netinet/udpconnectjail/udpconnectjail.c
63
strerror(errno));
tools/regression/netinet/udpconnectjail/udpconnectjail.c
67
inet_ntoa(sin->sin_addr), strerror(errno));
tools/regression/netinet/udpconnectjail/udpconnectjail.c
70
errx(-1, "%s: close(): %s", context, strerror(errno));
tools/regression/netinet/udpzerobyte/udpzerobyte.c
137
if (unlink(sun.sun_path) < 0 && errno != ENOENT)
tools/regression/p1003_1b/fifo.c
102
exit(errno);
tools/regression/p1003_1b/fifo.c
115
err(errno, "mmap");
tools/regression/p1003_1b/fifo.c
158
exit(errno);
tools/regression/p1003_1b/fifo.c
208
exit(errno);
tools/regression/p1003_1b/memlock.c
47
errno = 0;
tools/regression/p1003_1b/memlock.c
49
if (errno != 0) {
tools/regression/p1003_1b/memlock.c
65
e = errno;
tools/regression/p1003_1b/memlock.c
69
e = errno;
tools/regression/p1003_1b/prutil.c
15
err(errno, "%s", text);
tools/regression/p1003_1b/prutil.c
43
errno = 0;
tools/regression/p1003_1b/sched.c
102
exit(errno);
tools/regression/p1003_1b/sched.c
127
errno = 0;
tools/regression/p1003_1b/sched.c
129
if (errno != 0) {
tools/regression/p1003_1b/sched.c
221
q(__LINE__, errno, "mkstemp failed");
tools/regression/p1003_1b/sched.c
67
errno = 0;
tools/regression/p1003_1b/sched.c
69
if ( (smin = sched_get_priority_min(sched)) == -1 && errno)
tools/regression/p1003_1b/sched.c
72
if ( (smax = sched_get_priority_max(sched)) == -1 && errno)
tools/regression/p1003_1b/sched.c
93
errno = 0;
tools/regression/p1003_1b/yield.c
101
err(errno, "sched_setscheduler");
tools/regression/p1003_1b/yield.c
154
err(errno, "sched_yield");
tools/regression/p1003_1b/yield.c
191
err(errno, "sched_yield");
tools/regression/p1003_1b/yield.c
74
errno = 0;
tools/regression/p1003_1b/yield.c
77
if (set.sched_priority == -1 && errno) {
tools/regression/p1003_1b/yield.c
79
exit(errno);
tools/regression/p1003_1b/yield.c
96
err(errno, "mmap");
tools/regression/posixsem/posixsem.c
1011
return (CSTAT(1, errno));
tools/regression/posixsem/posixsem.c
1013
return (CSTAT(2, errno));
tools/regression/posixsem/posixsem.c
1015
return (CSTAT(3, errno));
tools/regression/posixsem/posixsem.c
1043
errno = CSTAT_ERROR(stat);
tools/regression/posixsem/posixsem.c
1191
if (errno == ENOSPC)
tools/regression/posixsem/posixsem.c
1193
return (CSTAT(1, errno));
tools/regression/posixsem/posixsem.c
1215
errno = CSTAT_ERROR(stat);
tools/regression/posixsem/posixsem.c
1244
if (errno == ENOSPC || errno == EMFILE ||
tools/regression/posixsem/posixsem.c
1245
errno == ENFILE)
tools/regression/posixsem/posixsem.c
1247
return (CSTAT(1, errno));
tools/regression/posixsem/posixsem.c
1250
return (CSTAT(2, errno));
tools/regression/posixsem/posixsem.c
1270
errno = CSTAT_ERROR(stat);
tools/regression/posixsem/posixsem.c
130
if (errno != error) {
tools/regression/posixsem/posixsem.c
1302
return (CSTAT(3, errno));
tools/regression/posixsem/posixsem.c
1305
return (CSTAT(4, errno));
tools/regression/posixsem/posixsem.c
1329
errno = CSTAT_ERROR(stat);
tools/regression/posixsem/posixsem.c
1374
errno = CSTAT_ERROR(stat);
tools/regression/posixsem/posixsem.c
149
if (errno != error) {
tools/regression/posixsem/posixsem.c
168
if (errno != error) {
tools/regression/posixsem/posixsem.c
189
if (errno != error) {
tools/regression/posixsem/posixsem.c
208
if (errno != error) {
tools/regression/posixsem/posixsem.c
227
if (errno != error) {
tools/regression/posixsem/posixsem.c
454
if (errno != EINVAL) {
tools/regression/posixsem/posixsem.c
478
if (errno != EINVAL) {
tools/regression/posixsem/posixsem.c
494
if (errno != EINVAL) {
tools/regression/posixsem/posixsem.c
510
if (errno != EINVAL) {
tools/regression/posixsem/posixsem.c
662
if (errno != EAGAIN) {
tools/regression/posixsem/posixsem.c
694
alarm_errno = errno;
tools/regression/posixsem/posixsem.c
714
errno = alarm_errno;
tools/regression/posixsem/posixsem.c
764
if (errno != error) {
tools/regression/posixsem/test.h
57
#define fail_errno(tag) fail_err("%s: %s", (tag), strerror(errno))
tools/regression/posixsem2/semtest.c
110
if (errno != EEXIST)
tools/regression/priv/main.c
376
warn("%s: returned (%d, %d)", test, error, errno);
tools/regression/priv/main.c
377
} else if (expected_errno != errno) {
tools/regression/priv/main.c
379
warn("%s: returned (%d, %d)", test, error, errno);
tools/regression/priv/priv_vfs_fhopen.c
72
errno_saved = errno;
tools/regression/priv/priv_vfs_fhopen.c
74
errno = errno_saved;
tools/regression/priv/priv_vfs_generation.c
94
errno = EPERM;
tools/regression/priv/priv_vfs_read_write.c
70
: "!jail", expected_error, expected_errno, errno);
tools/regression/security/cap_test/cap_test.h
76
if (errno != expected_errno) \
tools/regression/security/cap_test/cap_test.h
88
if (errno == bad_errno) \
tools/regression/security/cap_test/cap_test_capabilities.c
100
} else if (errno != ENOTCAPABLE) \
tools/regression/security/cap_test/cap_test_capabilities.c
103
errno = 0; \
tools/regression/security/cap_test/cap_test_capabilities.c
291
ret == 0 || (is_nfs && errno == EOPNOTSUPP));
tools/regression/security/cap_test/cap_test_capabilities.c
424
int _saved_errno = errno; \
tools/regression/security/cap_test/cap_test_capabilities.c
426
errno = _saved_errno; \
tools/regression/security/cap_test/cap_test_capabilities.c
76
} else if (errno != ENOTCAPABLE) { \
tools/regression/security/cap_test/cap_test_capabilities.c
80
errno = 0; \
tools/regression/security/cap_test/cap_test_capmode.c
158
if (errno != ECAPMODE)
tools/regression/security/cap_test/cap_test_capmode.c
167
FAIL("test_sycalls:getlogin %d", errno);
tools/regression/security/cap_test/cap_test_capmode.c
170
if (errno == ECAPMODE)
tools/regression/security/cap_test/cap_test_capmode.c
179
} else if (errno == ECAPMODE)
tools/regression/security/cap_test/cap_test_capmode.c
54
errno = 0; \
tools/regression/security/cap_test/cap_test_capmode.c
56
if (errno == ECAPMODE) \
tools/regression/security/cap_test/cap_test_pdfork.c
77
else if (errno != EBADF)
tools/regression/security/open_to_operation/open_to_operation.c
1075
if (errno == EISDIR)
tools/regression/security/open_to_operation/open_to_operation.c
169
if (expected_errno && expected_errno == errno)
tools/regression/security/proc_to_proc/scenario.c
330
errno = 0;
tools/regression/security/proc_to_proc/scenario.c
334
error = errno;
tools/regression/security/proc_to_proc/scenario.c
342
error = errno;
tools/regression/security/proc_to_proc/scenario.c
348
error = errno;
tools/regression/security/proc_to_proc/scenario.c
356
error = errno;
tools/regression/security/proc_to_proc/scenario.c
363
error = errno;
tools/regression/security/proc_to_proc/scenario.c
370
error = errno;
tools/regression/security/proc_to_proc/scenario.c
378
error = errno;
tools/regression/sigqueue/sigqtest1/sigqtest1.c
40
if (errno != EAGAIN) {
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
106
errx(-1, "listen: %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
110
errx(-1, "ioctl(F_GETFL): %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
113
errx(-1, "ioctl(F_SETFL): %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
116
errx(-1, "ioctl(F_GETFL): %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
124
if (errno != EAGAIN)
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
125
errx(-1, "accept: %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
146
errx(-1, "fork: %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
165
errx(-1, "socket: %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
168
errx(-1, "connect: %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
177
errx(-1, "ioctl(F_GETFL): %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
180
errx(-1, "ioctl(F_SETFL): %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
183
errx(-1, "ioctl(F_GETFL): %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
193
if (errno != EFAULT)
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
194
errx(-1, "accept: %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
198
errx(-1, "waitpid: %s", strerror(errno));
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
82
errx(-1, "socket: %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
100
"%d (%s)", errno, strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
113
errx(-1, "not ok 3 - bind %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
124
if (errno != EINVAL)
tools/regression/sockets/accf_data_attach/accf_data_attach.c
126
errno, strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
149
if (errno != EINVAL)
tools/regression/sockets/accf_data_attach/accf_data_attach.c
151
errno, strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
158
errx(-1, "not ok 7 - listen: %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
170
if (errno != EINVAL)
tools/regression/sockets/accf_data_attach/accf_data_attach.c
172
"setsockopt() failed with %d (%s)", errno, strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
183
"(%s)", errno, strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
195
"failed with %d (%s)", errno, strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
213
errx(-1, "not ok 11 - ioctl(F_GETFL): %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
216
errx(-1, "not ok 11 - ioctl(F_SETFL): %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
219
errx(-1, "not ok 11 - socket: %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
221
errx(-1, "not ok 11 - connect %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
222
if (accept(lso, NULL, 0) != -1 && errno != EWOULDBLOCK)
tools/regression/sockets/accf_data_attach/accf_data_attach.c
223
errx(-1, "not ok 11 - accept #1 %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
225
errx(-1, "not ok 11 - write %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
232
errx(-1, "not ok 11 - accept #2 %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
234
errx(-1, "not ok 11 - close(): %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
244
errx(-1, "not ok 12 - socket: %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
246
errx(-1, "not ok 12 - connect %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
252
"(%s)", errno, strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
254
errx(-1, "not ok 12 - close(): %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
255
if (accept(lso, NULL, 0) != -1 && errno != ECONNABORTED)
tools/regression/sockets/accf_data_attach/accf_data_attach.c
256
errx(-1, "not ok 12 - accept #3 %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
268
errx(-1, "not ok 13 - socket: %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
270
errx(-1, "not ok 13 - connect %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
280
"failed with %d (%s)", errno, strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
288
if (errno != EINVAL)
tools/regression/sockets/accf_data_attach/accf_data_attach.c
290
"filter failed with %d (%s)", errno, strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
293
strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
74
_mod_name, strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
86
errx(-1, "not ok 1 - socket: %s", strerror(errno));
tools/regression/sockets/accf_data_attach/accf_data_attach.c
98
if (errno != EINVAL)
tools/regression/sockets/kqueue/kqueue.c
112
fail(errno, "kevent", socktype, "EVFILT_READ, EV_ADD");
tools/regression/sockets/kqueue/kqueue.c
122
fail(errno, "kevent", socktype, "EVFILT_READ");
tools/regression/sockets/kqueue/kqueue.c
135
fail(errno, "write", socktype, NULL);
tools/regression/sockets/kqueue/kqueue.c
148
fail(errno, "kevent", socktype, "EVFILT_READ");
tools/regression/sockets/kqueue/kqueue.c
160
fail(errno, "read", socktype, NULL);
tools/regression/sockets/kqueue/kqueue.c
173
fail(errno, "kevent", socktype, "EVFILT_READ");
tools/regression/sockets/kqueue/kqueue.c
182
fail(errno, "kevent", socktype, "EVFILT_READ, EV_DELETE");
tools/regression/sockets/kqueue/kqueue.c
197
fail(errno, "kevent", socktype, "EVFILT_WRITE, EV_ADD");
tools/regression/sockets/kqueue/kqueue.c
207
fail(errno, "kevent", socktype, "EVFILT_WRITE");
tools/regression/sockets/kqueue/kqueue.c
219
if (len == -1 && errno != EAGAIN && errno != ENOBUFS)
tools/regression/sockets/kqueue/kqueue.c
220
fail(errno, "write", socktype, NULL);
tools/regression/sockets/kqueue/kqueue.c
233
fail(errno, "kevent", socktype, "EVFILT_WRITE");
tools/regression/sockets/kqueue/kqueue.c
242
fail(errno, "kevent", socktype, "EVFILT_WRITE, EV_DELETE");
tools/regression/sockets/kqueue/kqueue.c
259
fail(errno, "kqueue", NULL, NULL);
tools/regression/sockets/kqueue/kqueue.c
267
fail(errno, "socketpair", "PF_UNIX, SOCK_DGRAM", NULL);
tools/regression/sockets/kqueue/kqueue.c
271
fail(errno, "fcntl", "PF_UNIX, SOCK_DGRAM", "O_NONBLOCK");
tools/regression/sockets/kqueue/kqueue.c
274
fail(errno, "fcntl", "PF_UNIX, SOCK_DGRAM", "O_NONBLOCK");
tools/regression/sockets/kqueue/kqueue.c
280
fail(errno, "close", "PF_UNIX/SOCK_DGRAM", "sv[0]");
tools/regression/sockets/kqueue/kqueue.c
283
fail(errno, "close", "PF_UNIX/SOCK_DGRAM", "sv[1]");
tools/regression/sockets/kqueue/kqueue.c
298
fail(errno, "socketpair", "PF_UNIX, SOCK_DGRAM", NULL);
tools/regression/sockets/kqueue/kqueue.c
301
fail(errno, "fcntl", "PF_UNIX, SOCK_DGRAM", "O_NONBLOCK");
tools/regression/sockets/kqueue/kqueue.c
303
fail(errno, "fcntl", "PF_UNIX, SOCK_DGRAM", "O_NONBLOCK");
tools/regression/sockets/kqueue/kqueue.c
308
fail(errno, "close", "PF_UNIX/SOCK_DGRAM", "sv[0]");
tools/regression/sockets/kqueue/kqueue.c
310
fail(errno, "close", "PF_UNIX/SOCK_DGRAM", "sv[1]");
tools/regression/sockets/kqueue/kqueue.c
318
fail(errno, "socketpair", "PF_UNIX, SOCK_STREAM", NULL);
tools/regression/sockets/kqueue/kqueue.c
322
fail(errno, "fcntl", "PF_UNIX, SOCK_STREAM", "O_NONBLOCK");
tools/regression/sockets/kqueue/kqueue.c
325
fail(errno, "fcntl", "PF_UNIX, SOCK_STREAM", "O_NONBLOCK");
tools/regression/sockets/kqueue/kqueue.c
331
fail(errno, "close", "PF_UNIX/SOCK_STREAM", "sv[0]");
tools/regression/sockets/kqueue/kqueue.c
334
fail(errno, "close", "PF_UNIX/SOCK_STREAM", "sv[1]");
tools/regression/sockets/kqueue/kqueue.c
342
fail(errno, "socketpair", "PF_UNIX, SOCK_STREAM", NULL);
tools/regression/sockets/kqueue/kqueue.c
346
fail(errno, "fcntl", "PF_UNIX, SOCK_STREAM", "O_NONBLOCK");
tools/regression/sockets/kqueue/kqueue.c
349
fail(errno, "fcntl", "PF_UNIX, SOCK_STREAM", "O_NONBLOCK");
tools/regression/sockets/kqueue/kqueue.c
355
fail(errno, "close", "PF_UNIX/SOCK_STREAM", "sv[0]");
tools/regression/sockets/kqueue/kqueue.c
358
fail(errno, "close", "PF_UNIX/SOCK_STREAM", "sv[1]");
tools/regression/sockets/kqueue/kqueue.c
362
fail(errno, "close", "kq", NULL);
tools/regression/sockets/listen_backlog/listen_backlog.c
351
if (ret < 0 && errno != ENOPROTOOPT) {
tools/regression/sockets/listenclose/listenclose.c
104
errx(-1, "connect() for connect socket: %s", strerror(errno));
tools/regression/sockets/listenclose/listenclose.c
65
strerror(errno));
tools/regression/sockets/listenclose/listenclose.c
76
inet_ntoa(sin.sin_addr), 0, strerror(errno));
tools/regression/sockets/listenclose/listenclose.c
81
strerror(errno));
tools/regression/sockets/listenclose/listenclose.c
85
errx(-1, "listen() for listen socket: %s", strerror(errno));
tools/regression/sockets/listenclose/listenclose.c
90
"socket: %s", strerror(errno));
tools/regression/sockets/listenclose/listenclose.c
95
": %s", strerror(errno));
tools/regression/sockets/rtsocket/rtsocket.c
53
if (errno != EPROTOTYPE)
tools/regression/sockets/rtsocket/rtsocket.c
63
if (errno != EPROTOTYPE)
tools/regression/sockets/rtsocket/rtsocket.c
78
if (errno != EPROTOTYPE)
tools/regression/sockets/rtsocket/rtsocket.c
88
if (errno != EPROTOTYPE)
tools/regression/sockets/sblock/sblock.c
101
if (len < 0 && errno == EINTR) {
tools/regression/sockets/sblock/sblock.c
189
error = errno;
tools/regression/sockets/sblock/sblock.c
191
errno = error;
tools/regression/sockets/sblock/sblock.c
99
if (len < 0 && errno != EINTR)
tools/regression/sockets/sendfile/sendfile.c
193
printf("# socket: %s\n", strerror(errno));
tools/regression/sockets/sendfile/sendfile.c
205
printf("# bind: %s\n", strerror(errno));
tools/regression/sockets/sendfile/sendfile.c
211
printf("# listen: %s\n", strerror(errno));
tools/regression/sockets/sendfile/sendfile.c
55
#define FAIL_ERR(msg) {printf("# %s: %s\n", msg, strerror(errno)); \
tools/regression/sockets/shutdown/shutdown.c
102
strerror(errno));
tools/regression/sockets/shutdown/shutdown.c
49
if ((shutdown(listen_sock, SHUT_RDWR) != -1) && (errno != EBADF))
tools/regression/sockets/shutdown/shutdown.c
57
strerror(errno));
tools/regression/sockets/shutdown/shutdown.c
67
inet_ntoa(sock.sin_addr), sock.sin_port, strerror(errno));
tools/regression/sockets/shutdown/shutdown.c
72
strerror(errno));
tools/regression/sockets/shutdown/shutdown.c
76
errx(-1, "listen() for listen socket: %s", strerror(errno));
tools/regression/sockets/shutdown/shutdown.c
81
"socket: %s", strerror(errno));
tools/regression/sockets/shutdown/shutdown.c
90
errx(-1, "connect() for connect socket: %s", strerror(errno));
tools/regression/sockets/shutdown/shutdown.c
92
if ((shutdown(connect_sock, SHUT_RD - 1) != -1) && (errno != EINVAL))
tools/regression/sockets/shutdown/shutdown.c
94
if ((shutdown(connect_sock, SHUT_RDWR + 1) != -1) && (errno != EINVAL))
tools/regression/sockets/shutdown/shutdown.c
99
strerror(errno));
tools/regression/sockets/sigpipe/sigpipe.c
110
if (errno == EPIPE)
tools/regression/sockets/sigpipe/sigpipe.c
94
if (errno == EPIPE)
tools/regression/sockets/so_setfib/so_setfib.c
112
else if (errno != EINVAL)
tools/regression/sockets/so_setfib/so_setfib.c
116
strerror(errno));
tools/regression/sockets/so_setfib/so_setfib.c
144
t_dom[dom].name, t_type[type].name, strerror(errno));
tools/regression/sockets/unix_bindconnect/unix_bindconnect.c
129
if (errno != EINVAL) {
tools/regression/sockets/unix_bindconnect/unix_bindconnect.c
152
if (errno != EADDRINUSE) {
tools/regression/sockets/unix_bindconnect/unix_bindconnect.c
171
if (errno != EADDRINUSE) {
tools/regression/sockets/unix_bindconnect/unix_bindconnect.c
232
if (errno != ENOENT) {
tools/regression/sockets/unix_bindconnect/unix_bindconnect.c
288
if (errno != ECONNREFUSED) {
tools/regression/sockets/unix_cmsg/t_cmsg_len.c
83
strerror(errno));
tools/regression/sockets/unix_cmsg/uc_common.c
79
errno_save = errno;
tools/regression/sockets/unix_cmsg/uc_common.c
89
errno = errno_save;
tools/regression/sockets/unix_gc/unix_gc.c
170
if (connect(sock, sa, len) < 0 && errno != EINPROGRESS)
tools/regression/sockets/unix_gc/unix_gc.c
732
if (errno == EMFILE || errno == ENFILE)
tools/regression/sockets/unix_gc/unix_gc.c
768
serrno = errno;
tools/regression/sockets/unix_gc/unix_gc.c
770
errno = serrno;
tools/regression/sockets/unix_socket/unix_socket.c
60
if (errno != EPROTOTYPE)
tools/regression/sockets/zerosend/zerosend.c
148
errno != EINPROGRESS)
tools/regression/sysvsem/semtest.c
154
errno = 0;
tools/regression/sysvsem/semtest.c
156
errno != EEXIST)
tools/regression/sysvsem/semtest.c
158
errno = 0;
tools/regression/sysvsem/semtest.c
160
errno != EEXIST)
tools/regression/ufs/uprintf/ufs_uprintf.c
108
if (len < 0 && errno != ENOSPC) {
tools/regression/ufs/uprintf/ufs_uprintf.c
145
if (errno != ENOSPC) {
tools/regression/ufs/uprintf/ufs_uprintf.c
152
if (fd < 0 && errno != ENOSPC) {
tools/regression/ufs/uprintf/ufs_uprintf.c
81
errno = 0;
tools/regression/ufs/uprintf/ufs_uprintf.c
95
if (errno != ENOSPC) {
tools/test/gpioevents/gpioevents.c
486
if (errno != 0) {
tools/test/gpioevents/gpioevents.c
508
errno = 0;
tools/test/gpioevents/gpioevents.c
510
if (errno != 0) {
tools/test/gpioevents/gpioevents.c
581
errno = 0;
tools/test/gpioevents/gpioevents.c
583
if (errno != 0) {
tools/test/iconv/posix/posix.c
103
errno = 0;
tools/test/iconv/posix/posix.c
104
return ((iconv(cd, NULL, 0, NULL, 0) == (size_t)-1 && errno == EBADF) ? 0 : 1);
tools/test/iconv/posix/posix.c
147
errno = 0;
tools/test/iconv/posix/posix.c
155
printf("errno = %d\n", errno);
tools/test/iconv/posix/posix.c
161
(errno == E2BIG) && ((size_t)ret == (size_t)-1))
tools/test/iconv/posix/posix.c
186
errno = 0;
tools/test/iconv/posix/posix.c
194
printf("errno = %d\n", errno);
tools/test/iconv/posix/posix.c
200
(errno == EINVAL) && ((size_t)ret == (size_t)-1))
tools/test/iconv/posix/posix.c
225
errno = 0;
tools/test/iconv/posix/posix.c
233
printf("errno = %d\n", errno);
tools/test/iconv/posix/posix.c
239
(errno == EILSEQ) && ((size_t)ret == (size_t)-1))
tools/test/iconv/posix/posix.c
46
errno = 0;
tools/test/iconv/posix/posix.c
49
if ((cd == (iconv_t)-1) && (errno == EINVAL))
tools/test/iconv/posix/posix.c
69
errno = 0;
tools/test/iconv/posix/posix.c
74
if (errno == ENFILE || errno == EMFILE)
tools/test/iconv/posix/posix.c
95
return ((iconv_close(cd) == -1) && (errno = EBADF) ? 0 : 1);
tools/test/iconv/tablegen/tablegen.c
299
errno = 0;
tools/test/iconv/tablegen/tablegen.c
305
format_diag(errno);
tools/test/net/connect.c
82
printf("Exiting at %d with errno %d\n", count, errno);
tools/test/netfibs/reflect.c
111
if (m == -1 && sa != NULL && errno == EHOSTUNREACH)
tools/test/netfibs/reflect.c
113
else if (m == -1 && (sa == NULL || errno != EHOSTUNREACH))
tools/test/netfibs/reflect.c
256
if (rc == -1 && errno != EINTR)
tools/test/netfibs/reflect.c
259
if (rc == 0 || errno == EINTR)
tools/test/ptrace/scescx.c
164
if (errno != ESRCH) {
tools/test/ptrace/scescx.c
166
pid, strerror(errno));
tools/test/ptrace/scescx.c
206
strerror(errno));
tools/test/stress2/lib/main.c
193
if (errno != EEXIST)
tools/test/stress2/lib/main.c
199
if (errno != EEXIST)
tools/test/stress2/lib/main.c
60
if (errno != ESRCH)
tools/test/stress2/lib/resources.c
125
if (errno != ENOENT)
tools/test/stress2/testcases/creat/creat.c
118
if (errno != EINTR) {
tools/test/stress2/testcases/dirnprename/dirnprename.c
131
errnotmp = errno;
tools/test/stress2/testcases/dirnprename/dirnprename.c
137
errno = errnotmp;
tools/test/stress2/testcases/dirrename/dirrename.c
103
errnotmp = errno;
tools/test/stress2/testcases/dirrename/dirrename.c
109
errno = errnotmp;
tools/test/stress2/testcases/link/link.c
117
if (errno != EINTR) {
tools/test/stress2/testcases/link/link.c
127
if (errno != EINTR) {
tools/test/stress2/testcases/lockf/lockf.c
140
if (errno == ENOENT)
tools/test/stress2/testcases/lockf/lockf.c
54
} while (r == -1 && errno == EINTR && done_testing == 0);
tools/test/stress2/testcases/lockf/lockf.c
79
} while (r == -1 && errno == EINTR && done_testing == 0);
tools/test/stress2/testcases/lockf2/lockf2.c
119
} while (r == -1 && errno == EINTR);
tools/test/stress2/testcases/openat/doat.c
147
dir_exist = (errno == EEXIST);
tools/test/stress2/testcases/openat/doat.c
148
if (error && errno != EEXIST) {
tools/test/stress2/testcases/openat/doat.c
154
file_exist = (errno != ENOENT);
tools/test/stress2/testcases/openat/doat.c
186
link_exist = (errno == EEXIST);
tools/test/stress2/testcases/openat/doat.c
187
if (error && errno != EEXIST) {
tools/test/stress2/testcases/openat/doat.c
672
if (tests[i].tests[j].result == errno)
tools/test/stress2/testcases/shm/shm.c
100
if (shmctl(shmid, IPC_RMID, NULL) == -1 && errno != EINVAL)
tools/test/stress2/testcases/shm/shm.c
103
if (semctl(semid, 0, IPC_RMID, 0) == -1 && errno != EINVAL)
tools/test/stress2/testcases/shm/shm.c
112
if (errno != EINTR && errno != EIDRM && errno != EINVAL)
tools/test/stress2/testcases/shm/shm.c
123
if (errno != EINTR && errno != EIDRM && errno != EINVAL)
tools/test/stress2/testcases/shm/shm.c
65
if (errno == ENOSPC) {
tools/test/stress2/testcases/shm/shm.c
78
if (errno == ENOSPC) {
tools/test/stress2/testcases/socket/socket.c
75
if (errno == EPIPE)
tools/test/stress2/testcases/symlink/symlink.c
119
if (errno != EINTR) {
tools/test/stress2/testcases/tcp/tcp.c
143
if (errno == EPIPE)
tools/test/stress2/testcases/tcp/tcp.c
145
if (errno != ECONNRESET)
tools/test/stress2/testcases/udp/udp.c
101
if (n == -1 && errno == ENOBUFS)
tools/test/stress2/testcases/udp/udp.c
103
if (n == -1 && errno == ECONNREFUSED)
tools/test/stress2/tools/fstool.c
72
if (errno != EINTR) {
tools/test/stress2/tools/lsholes.c
67
if (hole == -1 && errno != ENXIO)
tools/test/stress2/tools/lsholes.c
70
if (data == -1 && errno != ENXIO)
tools/test/stress2/tools/swap.c
96
if (errno != ENOENT)
tools/test/xregs_sig/xregs_sig.c
219
fprintf(stderr, "sigaction SIGALRM %s\n", strerror(errno));
tools/test/xregs_sig/xregs_sig.c
227
fprintf(stderr, "sigaction SIGUSR1 %s\n", strerror(errno));
tools/tools/aac/aac_checkq.c
63
printf("couldn't open aac0: %s\n", strerror(errno));
tools/tools/aac/aac_checkq.c
73
printf("error on ioctl: %s\n", strerror(errno));
tools/tools/ath/athpoke/athpoke.c
107
errno = 0;
tools/tools/ath/athprom/athprom.c
137
if (off == 0 && errno == EINVAL)
tools/tools/ath/athprom/athprom.c
144
if (val == 0 && errno == EINVAL)
tools/tools/ath/athprom/athprom.c
82
if (fd == NULL && errno == ENOENT) {
tools/tools/crypto/cryptocheck.c
1566
return (errno);
tools/tools/crypto/cryptocheck.c
949
return (errno);
tools/tools/cxgbtool/cxgbtool.c
1116
if (!qp.qset_idx || (errno && errno != EINVAL))
tools/tools/cxgbtool/cxgbtool.c
1364
if (errno == EBUSY)
tools/tools/cxgbtool/cxgbtool.c
1442
if (errno == EBUSY)
tools/tools/decioctl/decioctl.c
54
errno = 0;
tools/tools/decioctl/decioctl.c
56
if (*cp != '\0' || errno != 0) {
tools/tools/ifinfo/ifinfo.c
105
if (errno == ENOENT)
tools/tools/kttcp/kttcp.c
82
if (bytes == ULLONG_MAX && errno == ERANGE)
tools/tools/mctest/mctest.cc
173
if (errno == EWOULDBLOCK)
tools/tools/mctest/mctest.cc
267
if (errno == EWOULDBLOCK)
tools/tools/mfi/mfi_checkq.c
60
printf("couldn't open mfi0: %s\n", strerror(errno));
tools/tools/mfi/mfi_checkq.c
70
printf("error on ioctl: %s\n", strerror(errno));
tools/tools/net80211/stumbler/stumbler.c
312
if(errno != EBUSY)
tools/tools/net80211/w00t/assoc/assoc.c
104
if (errno == EMSGSIZE)
tools/tools/net80211/w00t/libw00t/w00t.c
98
if(errno != EBUSY)
tools/tools/net80211/wesside/wesside/wesside.c
2166
printf("Can't open tap: %s\n", strerror(errno));
tools/tools/net80211/wesside/wesside/wesside.c
429
if(errno != EBUSY) {
tools/tools/net80211/wesside/wesside/wesside.c
917
if (errno != ENOENT) {
tools/tools/net80211/wesside/wesside/wesside.c
972
strerror(errno));
tools/tools/net80211/wlaninject/wlaninject.c
96
else if (errno != EBUSY)
tools/tools/net80211/wlanwds/wlanwds.c
157
if (errno == EEXIST)
tools/tools/netmap/ctrs.h
106
if (select(0, NULL, NULL, NULL, &delta) < 0 && errno != EINTR) {
tools/tools/netmap/lb.c
871
D("unable to create the stats thread: %s", strerror(errno));
tools/tools/netmap/lb.c
927
if (rv < 0 && errno != EAGAIN && errno != EINTR)
tools/tools/netmap/lb.c
928
RD(1, "poll error %s", strerror(errno));
tools/tools/netmap/nmreplay.c
658
WWW("Unable to set affinity: %s", strerror(errno));
tools/tools/netmap/nmreplay.c
661
WWW("Unable to set priority: %s", strerror(errno));
tools/tools/netmap/nmreplay.c
667
WWW("Unable to set scheduler: %s", strerror(errno));
tools/tools/netmap/pkt-gen.c
1468
strerror(errno));
tools/tools/netmap/pkt-gen.c
1476
(rv ? strerror(errno) : "timeout"));
tools/tools/netmap/pkt-gen.c
1612
rv ? strerror(errno) : "timeout");
tools/tools/netmap/pkt-gen.c
1789
strerror(errno));
tools/tools/netmap/pkt-gen.c
1797
rv ? strerror(errno) : "timeout");
tools/tools/netmap/pkt-gen.c
1946
D("poll() error: %s", strerror(errno));
tools/tools/netmap/pkt-gen.c
1988
strerror(errno));
tools/tools/netmap/pkt-gen.c
2110
strerror(errno));
tools/tools/netmap/pkt-gen.c
2118
rv ? strerror(errno) : "timeout");
tools/tools/netmap/pkt-gen.c
2301
strerror(errno));
tools/tools/netmap/pkt-gen.c
2701
D("Unable to create thread %d: %s", i, strerror(errno));
tools/tools/netmap/pkt-gen.c
2908
D("failed to do a TUNSETIFF: %s", strerror(errno));
tools/tools/netmap/pkt-gen.c
3376
D("failed to block SIGINT: %s", strerror(errno));
tools/tools/netmap/pkt-gen.c
3384
D("failed to install ^C handler: %s", strerror(errno));
tools/tools/netmap/pkt-gen.c
3388
D("failed to re-enable SIGINT: %s", strerror(errno));
tools/tools/netmap/pkt-gen.c
541
D("socket() failed: %s", strerror(errno));
tools/tools/netmap/pkt-gen.c
550
D("ioctl(SIOCGIFMTU) failed: %s", strerror(errno));
tools/tools/netmap/pkt-gen.c
727
D("Unable to set affinity: %s", strerror(errno));
tools/tools/netrate/http/http.c
315
error = errno;
tools/tools/netrate/http/http.c
317
errno = error;
tools/tools/netrate/httpd/httpd.c
286
error = errno;
tools/tools/netrate/httpd/httpd.c
288
errno = error;
tools/tools/netrate/juggle/juggle.c
206
errno = EMSGSIZE;
tools/tools/netrate/juggle/juggle.c
222
errno = EMSGSIZE;
tools/tools/netrate/juggle/juggle.c
388
error = errno;
tools/tools/netrate/juggle/juggle.c
390
errno = error;
tools/tools/netrate/juggle/juggle.c
407
error = errno;
tools/tools/netrate/juggle/juggle.c
409
errno = error;
tools/tools/netrate/juggle/juggle.c
419
error = errno;
tools/tools/netrate/juggle/juggle.c
421
errno = error;
tools/tools/netrate/juggle/juggle.c
428
error = errno;
tools/tools/netrate/juggle/juggle.c
430
errno = error;
tools/tools/netrate/tcpconnect/tcpconnect.c
91
errno != EINPROGRESS)
tools/tools/netrate/tcpconnect/tcpconnect.c
95
if ((errno == EINTR && !timer_fired) || (errno != EINTR))
tools/tools/netrate/tcpp/tcpp_client.c
122
errno != EINPROGRESS)
tools/tools/nvmf/nvmfd/ctl.c
34
if (ctl_fd == -1 && errno == ENOENT) {
tools/tools/nvmf/nvmfd/devices.c
222
if (nread == -1 && errno == EINTR)
tools/tools/nvmf/nvmfd/devices.c
288
if (nwritten == -1 && errno == EINTR)
tools/tools/nvmf/nvmfd/nvmfd.c
123
if (errno == EINTR)
tools/tools/nvmf/nvmfd/nvmfd.c
243
if (errno == EEXIST)
tools/tools/nvmf/nvmfdd/nvmfdd.c
260
return (errno);
tools/tools/nvmf/nvmfdd/nvmfdd.c
319
error = errno;
tools/tools/so_splice/pingpong.c
181
if (errno == ECONNRESET)
tools/tools/so_splice/proxy.c
109
if (errno == EINTR)
tools/tools/so_splice/proxy.c
111
if (errno == ECONNRESET || errno == EPIPE)
tools/tools/so_splice/proxy.c
154
if (error == -1 && errno != EINTR)
tools/tools/so_splice/proxy.c
282
if (errno == EINTR)
tools/tools/so_splice/proxy.c
87
if (errno == EINTR)
tools/tools/so_splice/proxy.c
97
if (errno == ECONNRESET)
tools/tools/syscall_timing/syscall_timing.c
1159
if (error != 0 && errno != ENOENT)
tools/tools/syscall_timing/syscall_timing.c
851
if (rv < 0 && errno != EINVAL)
tools/tools/tionxcl/tionxcl.c
87
warnc(errno, "open %s", ttyname);
tools/tools/tionxcl/tionxcl.c
94
warnc(errno, "ioctl TIOCNXCL %s", ttyname);
tools/tools/usbtest/usb_control_ep_test.c
403
"timeout to 1 (error=%d) \n", errno);
tools/tools/usbtest/usbtest.c
183
"to %d (error=%d)\n", template, errno);
tools/tools/usbtest/usbtest.c
207
"to %d (error=%d)\n", mode, errno);
tools/tools/usbtest/usbtest.c
214
"to %d (error=%d)\n", pattern_interval, errno);
tools/tools/usbtest/usbtest.c
223
"(error=%d)\n", errno);
tools/tools/usbtest/usbtest.c
230
"to '%s' (error=%d)\n", pattern, errno);
tools/tools/usbtest/usbtest.c
328
" to %d (error=%d) \n", mode, errno);
tools/tools/usbtest/usbtest.c
335
"to %d (error=%d)\n", interval, errno);
tools/tools/usbtest/usbtest.c
342
"to '%s' (error=%d)\n", pattern, errno);
tools/tools/usbtest/usbtest.c
418
"to %d (error=%d)\n", mode, errno);
tools/tools/usbtest/usbtest.c
425
"to %d (error=%d)\n", cursor_interval, errno);
tools/tools/usbtest/usbtest.c
432
"to %d (error=%d)\n", button_interval, errno);
tools/tools/usbtest/usbtest.c
439
"to %d (error=%d)\n", cursor_radius, errno);
tools/tools/usbtest/usbtest.c
536
"to %d (error=%d)\n", mode, errno);
tools/tools/usbtest/usbtest.c
543
"to %d (error=%d)\n", pattern_interval, errno);
tools/tools/usbtest/usbtest.c
552
"(error=%d)\n", errno);
tools/tools/usbtest/usbtest.c
559
"to '%s' (error=%d)\n", pattern, errno);
tools/tools/usbtest/usbtest.c
701
"to %d (error=%d)\n", force_fs, errno);
usr.bin/ar/acpyacc.y
277
bsdar_errc(bsdar, errno, "unlink failed");
usr.bin/ar/acpyacc.y
283
bsdar_errc(bsdar, errno, "strdup failed");
usr.bin/ar/acpyacc.y
285
bsdar_errc(bsdar, errno, "mkstemp failed");
usr.bin/ar/acpyacc.y
293
bsdar_warnc(bsdar, errno, "open failed");
usr.bin/ar/acpyacc.y
333
bsdar_warnc(bsdar, errno, "fstate failed");
usr.bin/ar/acpyacc.y
338
bsdar_warnc(bsdar, errno, "mmap failed");
usr.bin/ar/acpyacc.y
344
bsdar_warnc(bsdar, errno, "write failed");
usr.bin/ar/acpyacc.y
349
bsdar_errc(bsdar, errno, "munmap failed");
usr.bin/ar/acpyacc.y
437
bsdar_errc(bsdar, errno, "fopen %s failed", rlt);
usr.bin/ar/acpyacc.y
454
bsdar_errc(bsdar, errno, "fclose %s failed", rlt);
usr.bin/ar/acpyacc.y
485
bsdar_errc(bsdar, errno, "rename failed");
usr.bin/ar/acpyacc.y
493
bsdar_errc(bsdar, errno, "chmod failed");
usr.bin/ar/acpyacc.y
515
bsdar_errc(bsdar, errno, "strdup failed");
usr.bin/ar/acpyacc.y
532
bsdar_errc(bsdar, errno, "unlink %s failed",
usr.bin/ar/acpyacc.y
563
bsdar_errc(bsdar, errno, "malloc failed");
usr.bin/ar/acpyacc.y
605
bsdar_errc(bsdar, errno, "malloc failed");
usr.bin/ar/acpyacc.y
610
bsdar_errc(bsdar, errno, "invalid mlist");
usr.bin/ar/ar.c
164
bsdar_errc(bsdar, errno, "malloc failed");
usr.bin/ar/ar.c
279
bsdar_errc(bsdar, errno, "basename failed");
usr.bin/ar/read.c
103
bsdar_errc(bsdar, errno,
usr.bin/ar/read.c
156
if (errno != ENOENT) {
usr.bin/ar/write.c
100
bsdar_errc(bsdar, errno, "strdup failed");
usr.bin/ar/write.c
102
bsdar_errc(bsdar, errno, "basename failed");
usr.bin/ar/write.c
105
bsdar_errc(bsdar, errno, "malloc failed");
usr.bin/ar/write.c
110
bsdar_errc(bsdar, errno, "strdup failed");
usr.bin/ar/write.c
114
bsdar_warnc(bsdar, errno, "can't fstat file: %s", obj->name);
usr.bin/ar/write.c
159
bsdar_warnc(bsdar, errno, "can't mmap file: %s", obj->name);
usr.bin/ar/write.c
163
bsdar_errc(bsdar, errno, "close failed: %s",
usr.bin/ar/write.c
170
bsdar_errc(bsdar, errno, "close failed: %s",
usr.bin/ar/write.c
187
bsdar_warnc(bsdar, errno,
usr.bin/ar/write.c
280
bsdar_errc(bsdar, errno,
usr.bin/ar/write.c
297
bsdar_errc(bsdar, errno, "malloc failed");
usr.bin/ar/write.c
309
bsdar_errc(bsdar, errno, "malloc failed");
usr.bin/ar/write.c
312
bsdar_errc(bsdar, errno, "strdup failed");
usr.bin/ar/write.c
358
if (errno != ENOENT) {
usr.bin/ar/write.c
436
bsdar_errc(bsdar, errno, "basename failed");
usr.bin/ar/write.c
849
bsdar_errc(bsdar, errno, "malloc failed");
usr.bin/ar/write.c
860
bsdar_errc(bsdar, errno, "realloc failed");
usr.bin/ar/write.c
878
bsdar_errc(bsdar, errno, "malloc failed");
usr.bin/ar/write.c
885
bsdar_errc(bsdar, errno, "malloc failed");
usr.bin/ar/write.c
894
bsdar_errc(bsdar, errno, "realloc failed");
usr.bin/ar/write.c
909
bsdar_errc(bsdar, errno, "realloc failed");
usr.bin/ar/write.c
91
bsdar_errc(bsdar, errno, "malloc failed");
usr.bin/ar/write.c
93
bsdar_warnc(bsdar, errno, "can't open file: %s", name);
usr.bin/at/at.c
170
if (errno != ERANGE)
usr.bin/at/at.c
274
if (errno != ENOENT)
usr.bin/at/at.c
564
statErrno = errno;
usr.bin/at/at.c
719
errno = 0;
usr.bin/at/at.c
721
ep == argv[i] || *ep != '\0' || errno)
usr.bin/at/panic.c
67
int serrno = errno;
usr.bin/at/panic.c
75
errno = serrno;
usr.bin/at/perm.c
106
else if (errno == ENOENT)
usr.bin/at/perm.c
119
else if (errno != ENOENT)
usr.bin/backlight/backlight.c
156
device_name, strerror(errno));
usr.bin/bintrans/uudecode.c
278
if (unlink(outfile) == 0 || errno == ENOENT)
usr.bin/bintrans/uudecode.c
294
} else if (errno != ENOENT) {
usr.bin/bintrans/uuencode.c
252
errno = 0;
usr.bin/bintrans/uuencode.c
255
errno = ERANGE;
usr.bin/bintrans/uuencode.c
257
errno = EINVAL;
usr.bin/bintrans/uuencode.c
258
if (errno != 0)
usr.bin/bintrans/uuencode.c
262
errno = EINVAL;
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
304
if (errno == EINTR)
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
308
strerror(errno));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
319
"fd=%d. %s", amaster, strerror(errno));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
329
s, n, strerror(errno));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
338
"fd=%d. %s", s, strerror(errno));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
348
fd, n, strerror(errno));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
377
syslog(LOG_ERR, "Could not openpty(). %s", strerror(errno));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
382
syslog(LOG_ERR, "Could not strdup(). %s", strerror(errno));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
400
if (errno == EINTR)
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
419
if (errno != EINTR)
usr.bin/brandelf/brandelf.c
89
if (errno == ERANGE || type < 0 || type > 255) {
usr.bin/bsdiff/bsdiff/bsdiff.c
147
errno = EFBIG;
usr.bin/bsdiff/bsdiff/bsdiff.c
167
errno = EFBIG;
usr.bin/caesar/caesar.c
126
(void)fprintf(stderr, "caesar: %s\n", strerror(errno));
usr.bin/caesar/caesar.c
87
(void)fprintf(stderr, "caesar: %s\n", strerror(errno));
usr.bin/calendar/calendar.c
189
errx(1, "setenv: %s", strerror(errno));
usr.bin/calendar/calendar.c
80
errno = EPERM;
usr.bin/calendar/events.c
109
errno = 0;
usr.bin/calendar/events.c
114
if (converted != (size_t) -1 || errno == EINVAL) {
usr.bin/calendar/events.c
119
if (errno != E2BIG) {
usr.bin/calendar/events.c
94
if (errno == EINVAL)
usr.bin/calendar/io.c
143
} else if (errno != ENOENT && errno != ENAMETOOLONG) {
usr.bin/chat/chat.c
1080
if (errno == EINTR || errno == EWOULDBLOCK)
usr.bin/chat/chat.c
1430
str = strerror(errno);
usr.bin/chpass/field.c
110
errno = 0;
usr.bin/chpass/field.c
112
if (*np || (id == (uid_t)ULONG_MAX && errno == ERANGE)) {
usr.bin/chpass/field.c
140
errno = 0;
usr.bin/chpass/field.c
142
if (*np || (id == (uid_t)ULONG_MAX && errno == ERANGE)) {
usr.bin/chpass/field.c
237
if (errno == ENOENT)
usr.bin/cmp/cmp.c
168
} else if ((fd1 = open(file1, oflag, 0)) < 0 && errno != EMLINK) {
usr.bin/cmp/cmp.c
181
} else if ((fd2 = open(file2, oflag, 0)) < 0 && errno != EMLINK) {
usr.bin/compress/compress.c
369
if (errno != EPERM)
usr.bin/compress/compress.c
373
if (chmod(name, fs->st_mode) && errno != EOPNOTSUPP)
usr.bin/compress/compress.c
376
if (chflags(name, fs->st_flags) && errno != EOPNOTSUPP)
usr.bin/compress/zopen.c
479
errno = EFTYPE;
usr.bin/compress/zopen.c
487
errno = EFTYPE;
usr.bin/compress/zopen.c
523
errno = EINVAL;
usr.bin/compress/zopen.c
697
errno = EINVAL;
usr.bin/csplit/csplit.c
117
errno = 0;
usr.bin/csplit/csplit.c
119
if (sufflen <= 0 || *ep != '\0' || errno != 0)
usr.bin/csplit/csplit.c
176
errno = 0;
usr.bin/csplit/csplit.c
178
if (reps < 0 || *ep != '}' || errno != 0)
usr.bin/csplit/csplit.c
372
errno = 0;
usr.bin/csplit/csplit.c
374
if (*ep != '\0' || errno != 0)
usr.bin/csplit/csplit.c
444
errno = 0;
usr.bin/csplit/csplit.c
446
if (tgtline <= 0 || errno != 0 || *ep != '\0')
usr.bin/ctags/ctags.c
163
if (errno == ENOENT) {
usr.bin/diff/diff.c
433
if (!Nflag || errno != ENOENT)
usr.bin/diff/diff.c
443
if (!Nflag || errno != ENOENT)
usr.bin/diff/diffdir.c
146
if (errno == ENOENT && (Nflag || Pflag)) {
usr.bin/diff/diffdir.c
158
if (errno == ENOENT && Nflag) {
usr.bin/diff/diffdir.c
268
if (!(Nflag || Pflag) || errno != ENOENT) {
usr.bin/diff/diffdir.c
276
if (!Nflag || errno != ENOENT) {
usr.bin/diff/diffdir.c
324
if (!(Nflag || Pflag) || errno != ENOENT) {
usr.bin/diff/diffdir.c
332
if (!Nflag || errno != ENOENT) {
usr.bin/diff/diffdir.c
92
serrno = errno;
usr.bin/diff/diffdir.c
97
errno = serrno;
usr.bin/diff/pr.c
116
if (errno != EINTR)
usr.bin/diff3/diff3.c
205
errno = 0;
usr.bin/diff3/diff3.c
209
errno == EINVAL || errno == ERANGE)
usr.bin/diff3/diff3.c
944
if (errno != EINTR)
usr.bin/dpv/dpv.c
317
if (config->label_size == 0 && errno == EINVAL)
usr.bin/dpv/dpv.c
334
if (config->display_limit == 0 && errno == EINVAL)
usr.bin/dpv/dpv.c
357
if (config->pbar_size == 0 && errno == EINVAL)
usr.bin/dpv/dpv.c
379
errno == EINVAL)
usr.bin/dtc/dtb.cc
57
else if (errno != EAGAIN)
usr.bin/dtc/input_buffer.cc
1302
fprintf(stderr, "Unable to open file '%s'. %s\n", path.c_str(), strerror(errno));
usr.bin/dtc/input_buffer.cc
391
errno = 0;
usr.bin/dtc/input_buffer.cc
395
errno == ERANGE))
usr.bin/du/du.c
127
errno = 0;
usr.bin/du/du.c
129
if (errno == ERANGE || cblocksize <= 0) {
usr.bin/du/du.c
157
errno = 0;
usr.bin/du/du.c
159
if (errno == ERANGE || depth < 0) {
usr.bin/du/du.c
271
while (errno = 0, (p = fts_read(fts)) != NULL) {
usr.bin/du/du.c
316
if (errno)
usr.bin/elfctl/elfctl.c
264
errno = 0;
usr.bin/elfctl/elfctl.c
267
errno = EINVAL;
usr.bin/elfctl/elfctl.c
269
errno = ERANGE;
usr.bin/elfctl/elfctl.c
270
if (errno != 0) {
usr.bin/env/env.c
140
errno = 0;
usr.bin/env/env.c
142
if (errno == 0 && *endp == '\0')
usr.bin/env/env.c
207
err(errno == ENOENT ? EXIT_ENOENT : EXIT_CANNOT_INVOKE,
usr.bin/env/envopts.c
127
errno = ENOENT;
usr.bin/etdump/etdump.c
84
return (errno);
usr.bin/etdump/etdump.c
87
return (errno);
usr.bin/factor/factor.c
331
errno = 0;
usr.bin/factor/factor.c
333
return (errno == 0 ? 1 : 0); /* OpenSSL returns 0 on error! */
usr.bin/factor/factor.c
341
errno = 0;
usr.bin/factor/factor.c
343
return (errno == 0 ? 1 : 0); /* OpenSSL returns 0 on error! */
usr.bin/fetch/fetch.c
1139
if (errno == ENOENT) {
usr.bin/fetch/fetch.c
569
if (r == -1 && errno != ENOENT) {
usr.bin/fetch/fetch.c
771
if (ferror(f) && errno == EINTR && !sigint)
usr.bin/fetch/fetch.c
780
if (ferror(of) && errno == EINTR && !sigint)
usr.bin/fetch/fetch.c
789
sigalrm = ferror(f) && errno == ETIMEDOUT;
usr.bin/find/find.c
178
while (errno = 0, (entry = fts_read(tree)) != NULL) {
usr.bin/find/find.c
238
e = errno;
usr.bin/find/function.c
383
} else if (ret < 0 && errno != EINVAL) {
usr.bin/find/function.c
392
} else if (ret < 0 && errno != EINVAL) {
usr.bin/find/function.c
463
if (rmdir(entry->fts_accpath) < 0 && errno != ENOTEMPTY)
usr.bin/find/function.c
957
if (!ignore_readdir_race || errno != ENOENT) {
usr.bin/find/printf.c
262
switch (errno) {
usr.bin/finger/util.c
291
if (error < 0 && errno == ENOENT) {
usr.bin/finger/util.c
367
if (errno != ENOENT) {
usr.bin/gcore/elfcore.c
192
errno = 0;
usr.bin/gcore/elfcore.c
194
if (errno)
usr.bin/gcore/elfcore.c
343
errno = 0;
usr.bin/gcore/elfcore.c
345
if (errno)
usr.bin/gcore/elfcore.c
350
errno = 0;
usr.bin/gcore/elfcore.c
352
if (errno)
usr.bin/genl/genl.c
374
if (errno == EINTR)
usr.bin/getaddrinfo/getaddrinfo.c
192
errno = 0;
usr.bin/getaddrinfo/getaddrinfo.c
196
if ((errno == ERANGE) && ((value == LONG_MAX) || (value == LONG_MIN)))
usr.bin/getaddrinfo/getaddrinfo.c
234
errno = 0;
usr.bin/getaddrinfo/getaddrinfo.c
238
if ((errno == ERANGE) && ((value == LONG_MAX) || (value == LONG_MIN)))
usr.bin/getconf/getconf.c
167
errno = 0;
usr.bin/getconf/getconf.c
169
if (len == 0 && errno != 0) {
usr.bin/getconf/getconf.c
189
errno = 0;
usr.bin/getconf/getconf.c
191
if (value == -1 && errno != 0) {
usr.bin/getconf/getconf.c
215
errno = 0;
usr.bin/getconf/getconf.c
217
if (value == -1 && errno != EINVAL && errno != 0)
usr.bin/getconf/getconf.c
239
savederr = errno;
usr.bin/getconf/getconf.c
240
errno = 0;
usr.bin/getconf/getconf.c
243
if (errno)
usr.bin/getconf/getconf.c
253
errno = savederr;
usr.bin/getconf/getconf.c
261
errno = 0;
usr.bin/getconf/getconf.c
263
if (value == -1 && errno != 0)
usr.bin/getconf/getconf.c
276
errno = 0;
usr.bin/getconf/getconf.c
278
if (value == -1 && errno != 0)
usr.bin/getent/getent.c
146
errno = 0;
usr.bin/getent/getent.c
148
if (num == ULONG_MAX && errno == ERANGE)
usr.bin/gprof/kernel.c
32
if (errno == ENOMEM)
usr.bin/grep/file.c
74
if (nr < 0 && errno == EISDIR)
usr.bin/grep/grep.c
392
errno = ERANGE;
usr.bin/grep/grep.c
407
errno = 0;
usr.bin/grep/grep.c
409
if (errno == ERANGE || errno == EINVAL)
usr.bin/grep/grep.c
412
errno = EINVAL;
usr.bin/grep/grep.c
415
errno = EINVAL;
usr.bin/grep/grep.c
502
errno = 0;
usr.bin/grep/grep.c
504
if (((errno == ERANGE) && (mcount == LLONG_MAX)) ||
usr.bin/grep/grep.c
505
((errno == EINVAL) && (mcount == 0)))
usr.bin/grep/grep.c
508
errno = EINVAL;
usr.bin/grep/util.c
154
while (errno = 0, (p = fts_read(fts)) != NULL) {
usr.bin/grep/util.c
196
if (errno != 0)
usr.bin/gzip/gzip.c
1082
if (errno != EPERM)
usr.bin/gzip/gzip.c
1916
if (dflag && s == NULL && errno == ENOENT) {
usr.bin/gzip/gzip.c
1992
while (errno = 0, (entry = fts_read(fts))) {
usr.bin/gzip/gzip.c
2007
if (errno != 0)
usr.bin/gzip/zuncompress.c
242
errno = EFTYPE;
usr.bin/gzip/zuncompress.c
251
errno = EFTYPE;
usr.bin/gzip/zuncompress.c
283
errno = EFTYPE;
usr.bin/hesinfo/hesinfo.c
60
if (errno == ENOEXEC)
usr.bin/hesinfo/hesinfo.c
74
if (errno == ENOENT)
usr.bin/hesinfo/hesinfo.c
93
if (errno == ENOENT)
usr.bin/hexdump/odsyntax.c
130
errno = 0;
usr.bin/hexdump/odsyntax.c
138
if (errno != 0 || skip < 0 || strlen(end) > 1)
usr.bin/hexdump/odsyntax.c
326
errno = 0;
usr.bin/hexdump/odsyntax.c
328
if (errno != 0 || isize == 0)
usr.bin/hexdump/odsyntax.c
386
errno = 0;
usr.bin/hexdump/odsyntax.c
388
if (errno != 0 || isize == 0)
usr.bin/iconv/iconv.c
103
if (ret == (size_t)-1 && errno != E2BIG) {
usr.bin/iconv/iconv.c
104
if (errno != EINVAL || in == inbuf)
usr.bin/id/id.c
346
if (ret < 0 && errno == E2BIG) {
usr.bin/id/id.c
433
errx(1, "mac_prepare_type: %s", strerror(errno));
usr.bin/id/id.c
437
errx(1, "mac_get_proc: %s", strerror(errno));
usr.bin/id/id.c
441
errx(1, "mac_to_text: %s", strerror(errno));
usr.bin/iscsictl/iscsictl.c
321
if (error != 0 && errno == EMSGSIZE) {
usr.bin/iscsictl/iscsictl.c
402
if (error != 0 && errno == EMSGSIZE) {
usr.bin/iscsictl/iscsictl.c
575
if (error != 0 && errno == EMSGSIZE) {
usr.bin/iscsictl/iscsictl.c
882
if (iscsi_fd < 0 && errno == ENOENT) {
usr.bin/iscsictl/iscsictl.c
883
saved_errno = errno;
usr.bin/iscsictl/iscsictl.c
888
errno = saved_errno;
usr.bin/kdump/kdump.c
471
errx(1, "%s", strerror(errno));
usr.bin/killall/killall.c
317
} while (st == -1 && errno == ENOMEM);
usr.bin/ktrace/ktrace.c
145
if (unlink(tracefile) == -1 && errno != ENOENT)
usr.bin/ktrace/ktrace.c
189
errno = 0;
usr.bin/ktrace/ktrace.c
197
if (*e != '\0' || n < 1 || errno == ERANGE ||
usr.bin/last/last.c
157
errno = 0;
usr.bin/last/last.c
159
if (p == optarg || *p != '\0' || errno != 0 ||
usr.bin/lastcomm/readrec.c
183
errno = EFTYPE;
usr.bin/lastcomm/readrec.c
66
errno = EFTYPE;
usr.bin/lex/initscan.c
2124
errno=0; \
usr.bin/lex/initscan.c
2127
if( errno != EINTR) \
usr.bin/lex/initscan.c
2132
errno=0; \
usr.bin/lex/initscan.c
4723
int oerrno = errno;
usr.bin/lex/initscan.c
4741
errno = oerrno;
usr.bin/limits/limits.c
592
errno = 0;
usr.bin/limits/limits.c
596
if (e == NULL || e == s || errno)
usr.bin/limits/limits.c
633
errno = 0;
usr.bin/limits/limits.c
637
if (e == NULL || e == s || errno)
usr.bin/localedef/localedef.c
124
errf("%s", strerror(errno));
usr.bin/localedef/localedef.c
136
errf("%s", strerror(errno));
usr.bin/localedef/localedef.c
140
errf("%s", strerror(errno));
usr.bin/localedef/localedef.c
186
strerror(errno));
usr.bin/localedef/localedef.c
200
errf("%s", strerror(errno));
usr.bin/localedef/localedef.c
206
errf("%s", strerror(errno));
usr.bin/localedef/localedef.c
221
errf("%s", strerror(errno));
usr.bin/localedef/localedef.c
365
if ((errno != ENOENT) ||
usr.bin/localedef/localedef.c
367
errf("%s", strerror(errno));
usr.bin/lock/lock.c
244
if (tcgetattr(0, &ntty) && (errno != EINTR))
usr.bin/lockf/lockf.c
177
errno = 0;
usr.bin/lockf/lockf.c
179
if (errno != 0 || *endp != '\0') {
usr.bin/lockf/lockf.c
327
if (errno == EAGAIN || errno == EINTR)
usr.bin/lockf/lockf.c
332
if (errno == EAGAIN || errno == EINTR)
usr.bin/lockf/lockf.c
334
else if (errno == ENOENT && (flags & O_CREAT) == 0) {
usr.bin/lockf/lockf.c
384
if (errno != EINTR)
usr.bin/lockf/lockf.c
424
if (errno == ENOENT || errno == EINTR)
usr.bin/lockf/lockf.c
87
errno = 0;
usr.bin/lockf/lockf.c
89
if (errno != 0 || *endp != '\0')
usr.bin/login/login.c
480
if (errno != EOPNOTSUPP && errno != EROFS)
usr.bin/login/login.c
484
if (errno != EROFS)
usr.bin/login/login_audit.c
124
if (errno == ENOSYS)
usr.bin/login/login_audit.c
157
if ((tok = au_to_return32(1, errno)) == NULL)
usr.bin/login/login_audit.c
181
if (errno == ENOSYS)
usr.bin/login/login_audit.c
73
if (errno == ENOSYS)
usr.bin/login/login_fbtab.c
131
if (chflags(path, 0) && errno != ENOENT && errno != EOPNOTSUPP)
usr.bin/login/login_fbtab.c
133
if (chmod(path, mask) && errno != ENOENT)
usr.bin/login/login_fbtab.c
135
if (chown(path, uid, gid) && errno != ENOENT)
usr.bin/m4/eval.c
857
if (errno == EINVAL && mimic_gnu)
usr.bin/m4/gnum4.c
670
} while (cc > 0 || (cc == -1 && errno == EINTR));
usr.bin/m4/gnum4.c
674
if (errno != EINTR)
usr.bin/mail/fio.c
260
errno = EISDIR;
usr.bin/mail/lex.c
74
if (!isedit && errno == ENOENT)
usr.bin/mail/lex.c
88
errno = S_ISDIR(stb.st_mode) ? EISDIR : EINVAL;
usr.bin/mail/popen.c
338
save_errno = errno;
usr.bin/mail/popen.c
350
errno = save_errno;
usr.bin/mkfifo/mkfifo.c
74
errno = 0;
usr.bin/mkfifo/mkfifo.c
76
if (errno)
usr.bin/mkimg/gpt.c
168
return (errno);
usr.bin/mkimg/gpt.c
250
return (errno);
usr.bin/mkimg/gpt.c
261
error = errno;
usr.bin/mkimg/image.c
372
return (errno);
usr.bin/mkimg/image.c
375
return (errno);
usr.bin/mkimg/image.c
381
error = errno;
usr.bin/mkimg/image.c
424
return (errno);
usr.bin/mkimg/image.c
470
error = errno;
usr.bin/mkimg/image.c
532
error = (ftruncate(fd, ofs) == -1) ? errno : 0;
usr.bin/mkimg/image.c
541
return (errno);
usr.bin/mkimg/image.c
590
return (errno);
usr.bin/mkimg/image.c
746
return (errno);
usr.bin/mkimg/image.c
753
return (errno);
usr.bin/mkimg/mkimg.c
205
return (errno);
usr.bin/mkimg/mkimg.c
218
return (errno);
usr.bin/mkimg/mkimg.c
476
error = errno;
usr.bin/mkimg/mkimg.c
483
error = errno;
usr.bin/mkimg/mkimg.c
510
error = errno;
usr.bin/mkimg/mkimg.c
519
error = errno;
usr.bin/mkimg/mkimg.c
633
errno = 0;
usr.bin/mkimg/mkimg.c
636
errno = EINVAL;
usr.bin/mkimg/mkimg.c
637
if (errno != 0)
usr.bin/mkimg/mkimg.c
638
errc(EX_DATAERR, errno, "timestamp");
usr.bin/mkimg/mkimg.c
750
lseek(outfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE)
usr.bin/mkimg/qcow.c
178
return (errno);
usr.bin/mkimg/qcow.c
207
error = errno;
usr.bin/mkimg/qcow.c
237
error = errno;
usr.bin/mkimg/qcow.c
259
error = errno;
usr.bin/mkimg/qcow.c
287
error = errno;
usr.bin/mkimg/qcow.c
306
error = errno;
usr.bin/mkimg/scheme.c
127
return (errno);
usr.bin/mkimg/scheme.c
138
return (errno);
usr.bin/mkimg/vhd.c
291
return (errno);
usr.bin/mkimg/vhd.c
303
return (errno);
usr.bin/mkimg/vhd.c
309
return (errno);
usr.bin/mkimg/vhd.c
322
return (errno);
usr.bin/mkimg/vhd.c
328
return (errno);
usr.bin/mkimg/vhd.c
341
error = errno;
usr.bin/mkimg/vhd.c
359
return (errno);
usr.bin/mkimg/vhd.c
403
error = (sparse_write(fd, &footer, sizeof(footer)) < 0) ? errno : 0;
usr.bin/mkimg/vhdx.c
226
return (errno);
usr.bin/mkimg/vhdx.c
275
return errno;
usr.bin/mkimg/vhdx.c
302
error = errno;
usr.bin/mkimg/vhdx.c
309
error = errno;
usr.bin/mkimg/vhdx.c
330
return errno;
usr.bin/mkimg/vhdx.c
396
error = errno;
usr.bin/mkimg/vhdx.c
416
return errno;
usr.bin/mkimg/vhdx.c
441
error = errno;
usr.bin/mkimg/vhdx.c
458
error = errno;
usr.bin/mkimg/vhdx.c
470
error = errno;
usr.bin/mkimg/vmdk.c
205
error = errno;
usr.bin/mkimg/vmdk.c
207
error = errno;
usr.bin/mkimg/vmdk.c
209
error = errno;
usr.bin/mkimg/vmdk.c
211
error = errno;
usr.bin/mkimg/vmdk.c
213
error = errno;
usr.bin/mkimg/vmdk.c
215
error = errno;
usr.bin/mkimg/vmdk.c
231
error = errno;
usr.bin/mkstr/mkstr.c
107
errno = ENAMETOOLONG;
usr.bin/mkstr/mkstr.c
99
errno = ENAMETOOLONG;
usr.bin/msgs/msgs.c
240
err(errno, "%s", fname);
usr.bin/msgs/msgs.c
265
err(errno, "%s", _PATH_MSGS);
usr.bin/msgs/msgs.c
316
err(errno, "%s", fname);
usr.bin/msgs/msgs.c
329
err(errno, "%s", fname);
usr.bin/msgs/msgs.c
335
err(errno, "%s", fname);
usr.bin/msgs/msgs.c
412
err(errno, "%s", fname);
usr.bin/netstat/inet.c
116
if (errno != ENOENT)
usr.bin/netstat/inet6.c
1091
if (errno != EPFNOSUPPORT)
usr.bin/netstat/inet6.c
618
if (errno != EPFNOSUPPORT)
usr.bin/netstat/main.c
299
(fib == 0 && (errno == EINVAL || errno == ERANGE)))
usr.bin/netstat/main.c
554
xo_errx(EX_DATAERR, "setfib: %s", strerror(errno));
usr.bin/netstat/main.c
636
if (error == -1 && errno != ENOENT)
usr.bin/netstat/mroute.c
417
if ((live && errno == ENOENT) || (!live && mstaddr == 0))
usr.bin/netstat/sctp.c
499
if (errno != ENOENT)
usr.bin/netstat/unix.c
77
if (errno != ENOENT)
usr.bin/nfsstat/nfsstat.c
169
else if (errno == EPERM)
usr.bin/nice/nice.c
65
errno = 0;
usr.bin/nice/nice.c
67
if (ep == optarg || *ep != '\0' || errno ||
usr.bin/nice/nice.c
81
errno = 0;
usr.bin/nice/nice.c
83
if (errno)
usr.bin/nice/nice.c
88
err(errno == ENOENT ? 127 : 126, "%s", *argv);
usr.bin/nl/nl.c
174
errno = 0;
usr.bin/nl/nl.c
177
((val == LONG_MIN || val == LONG_MAX) && errno != 0))
usr.bin/nl/nl.c
183
errno = 0;
usr.bin/nl/nl.c
186
(uval == ULONG_MAX && errno != 0))
usr.bin/nl/nl.c
206
errno = 0;
usr.bin/nl/nl.c
209
((val == LONG_MIN || val == LONG_MAX) && errno != 0))
usr.bin/nl/nl.c
215
errno = 0;
usr.bin/nl/nl.c
218
((val == LONG_MIN || val == LONG_MAX) && errno != 0))
usr.bin/nohup/nohup.c
78
exit_status = (errno == ENOENT) ? EXIT_NOTFOUND : EXIT_NOEXEC;
usr.bin/patch/mkpath.c
64
if (errno != ENOENT || (mkdir(path, 0777) &&
usr.bin/patch/mkpath.c
65
errno != EEXIST)) {
usr.bin/patch/util.c
154
if (errno != EXDEV || copy_file(orig, bakname) < 0)
usr.bin/patch/util.c
255
int errnum = errno;
usr.bin/patch/util.c
75
strerror(errno));
usr.bin/patch/util.c
83
if (errno != EXDEV || copy_file(from, to) < 0) {
usr.bin/patch/util.c
85
to, from, strerror(errno));
usr.bin/pathchk/pathchk.c
118
errno = 0;
usr.bin/pathchk/pathchk.c
120
if (namemax == -1 && errno != 0)
usr.bin/pathchk/pathchk.c
138
if (!pflag && stat(pathd, &sb) == -1 && errno != ENOENT) {
usr.bin/pathchk/pathchk.c
154
errno = 0;
usr.bin/pathchk/pathchk.c
157
if (namemax == -1 && errno != 0)
usr.bin/pathchk/pathchk.c
166
errno = 0;
usr.bin/pathchk/pathchk.c
168
if (pathmax == -1 && errno != 0)
usr.bin/perror/perror.c
59
errno = 0;
usr.bin/perror/perror.c
63
if (errno != 0)
usr.bin/posixmqcontrol/posixmqcontrol.c
457
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
471
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
480
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
495
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
508
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
527
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
563
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
573
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
620
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
631
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
644
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
666
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
677
errno_t what = errno;
usr.bin/posixmqcontrol/posixmqcontrol.c
694
errno_t what = errno;
usr.bin/posixshmcontrol/posixshmcontrol.c
101
if (mode == 0 && errno != 0)
usr.bin/posixshmcontrol/posixshmcontrol.c
254
if (errno == ENOENT)
usr.bin/posixshmcontrol/posixshmcontrol.c
308
if (errno != EACCES) {
usr.bin/posixshmcontrol/posixshmcontrol.c
99
errno = 0;
usr.bin/pr/pr.c
1309
strerror(errno));
usr.bin/pr/pr.c
1333
strerror(errno));
usr.bin/pr/pr.c
1346
argv[eoptind], strerror(errno));
usr.bin/pr/pr.c
1364
strerror(errno));
usr.bin/pr/pr.c
1375
argv[eoptind], strerror(errno));
usr.bin/pr/pr.c
1569
(void)fprintf(err, "pr: write failure, %s\n", strerror(errno));
usr.bin/primes/primes.c
121
errno = 0;
usr.bin/primes/primes.c
123
if (errno)
usr.bin/primes/primes.c
128
errno = 0;
usr.bin/primes/primes.c
130
if (errno)
usr.bin/primes/primes.c
140
errno = 0;
usr.bin/primes/primes.c
142
if (errno)
usr.bin/primes/primes.c
181
errno = 0;
usr.bin/primes/primes.c
183
if (errno)
usr.bin/printf/printf.c
587
errno = 0;
usr.bin/printf/printf.c
600
if (errno == ERANGE) {
usr.bin/printf/printf.c
623
errno = 0;
usr.bin/printf/printf.c
635
if (errno == ERANGE) {
usr.bin/procstat/procstat_sigs.c
218
if (errno != ESRCH && errno != ENOTTY) {
usr.bin/protect/protect.c
117
errno = 0;
usr.bin/protect/protect.c
119
err(errno == ENOENT ? 127 : 126, "%s", *argv);
usr.bin/random/random.c
113
errno = 0;
usr.bin/random/random.c
115
if (errno == ERANGE)
usr.bin/random/randomize_fd.c
178
errno = EFBIG;
usr.bin/rctl/rctl.c
384
if (errno == ENOENT)
usr.bin/rctl/rctl.c
401
if (errno == ENOSYS)
usr.bin/rctl/rctl.c
426
if (errno == ERANGE)
usr.bin/rctl/rctl.c
428
if (errno == ENOSYS)
usr.bin/rctl/rctl.c
449
if (errno == ENOSYS)
usr.bin/rctl/rctl.c
509
if (errno == ERANGE)
usr.bin/rctl/rctl.c
511
if (errno == ENOSYS)
usr.bin/rctl/rctl.c
560
if (errno == ERANGE)
usr.bin/rctl/rctl.c
562
if (errno == ENOSYS)
usr.bin/renice/renice.c
130
errno = 0;
usr.bin/renice/renice.c
132
if (oldprio == -1 && errno) {
usr.bin/renice/renice.c
157
errno = 0;
usr.bin/renice/renice.c
159
if (v < INT_MIN || v > INT_MAX || errno == ERANGE) {
usr.bin/renice/renice.c
163
if (ep == str || *ep != '\0' || errno != 0) {
usr.bin/resizewin/resizewin.c
118
if (errno == EAGAIN) {
usr.bin/script/script.c
212
if (errno != ENOTTY) /* For debugger. */
usr.bin/script/script.c
319
if (n < 0 && errno != EINTR)
usr.bin/script/script.c
354
if (errno == EWOULDBLOCK ||
usr.bin/script/script.c
355
errno == EINTR)
usr.bin/script/script.c
530
if (errno != ENOTTY) /* For debugger. */
usr.bin/sdiff/edit.c
63
if (errno != EINTR)
usr.bin/sdiff/edit.c
66
errno = EINTR;
usr.bin/sdiff/edit.c
71
saved_errno = errno;
usr.bin/sdiff/edit.c
76
errno = saved_errno;
usr.bin/sdiff/sdiff.c
169
if (errno == ENOENT && strcmp(source_file, "-") == 0)
usr.bin/sed/compile.c
374
errno = 0;
usr.bin/sed/compile.c
376
if (*endptr != '\0' || errno != 0)
usr.bin/sed/compile.c
715
errno = 0;
usr.bin/sed/compile.c
717
if (errno == ERANGE || nval > INT_MAX)
usr.bin/sed/process.c
576
errx(1, "%s: %s", outfname, strerror(errno ? errno : EIO));
usr.bin/sed/process.c
657
errx(1, "%s: %s", outfname, strerror(errno ? errno : EIO));
usr.bin/seq/seq.c
422
errno = 0;
usr.bin/seq/seq.c
425
if (errno == ERANGE)
usr.bin/sockstat/main.c
1015
if (errno != ESRCH)
usr.bin/sockstat/main.c
1829
"jail_get: %s", strerror(errno));
usr.bin/sockstat/main.c
374
if (errno != ENOENT)
usr.bin/sockstat/main.c
672
if (errno == ENOENT)
usr.bin/sockstat/main.c
674
if (errno != ENOMEM || len != bufsize)
usr.bin/sockstat/main.c
826
if (errno != ENOMEM || len != bufsize)
usr.bin/sockstat/main.c
892
if (errno != ENOMEM || len != olen)
usr.bin/sockstat/main.c
993
if (errno != ESRCH)
usr.bin/sockstat/sockstat.c
50
errno = 0;
usr.bin/sockstat/sockstat.c
52
if (errno)
usr.bin/sockstat/sockstat.c
53
return (errno);
usr.bin/sockstat/sockstat.c
69
if (errno)
usr.bin/sockstat/sockstat.c
70
return (errno);
usr.bin/sort/bwstring.c
177
errno = 0;
usr.bin/sort/bwstring.c
179
if (errno == EILSEQ) {
usr.bin/sort/bwstring.c
180
errno = 0;
usr.bin/sort/bwstring.c
182
if (errno != 0) {
usr.bin/sort/coll.c
1132
errno = 0;
usr.bin/sort/coll.c
1134
err1 = errno;
usr.bin/sort/coll.c
1149
errno = 0;
usr.bin/sort/coll.c
1151
err2 = errno;
usr.bin/sort/coll.c
1191
errno = 0;
usr.bin/sort/coll.c
1193
err1 = errno;
usr.bin/sort/coll.c
1197
errno = 0;
usr.bin/sort/coll.c
1199
err2 = errno;
usr.bin/sort/file.c
1460
if (errno == EAGAIN) {
usr.bin/sort/radixsort.c
652
if (errno == EAGAIN) {
usr.bin/sort/sort.c
1081
errno = EINVAL;
usr.bin/sort/sort.c
1154
errno = 0;
usr.bin/sort/sort.c
1156
if (errno != 0)
usr.bin/sort/sort.c
388
errno = 0;
usr.bin/sort/sort.c
391
if (errno != 0) {
usr.bin/sort/sort.c
651
errno = 0;
usr.bin/sort/sort.c
653
if (errno != 0)
usr.bin/sort/sort.c
660
errno = 0;
usr.bin/sort/sort.c
662
if (errno != 0)
usr.bin/sort/sort.c
678
errno = 0;
usr.bin/sort/sort.c
680
if (errno != 0)
usr.bin/sort/sort.c
683
errno = 0;
usr.bin/sort/sort.c
685
if (errno != 0)
usr.bin/sort/sort.c
806
errno = 0;
usr.bin/sort/sort.c
808
if (errno != 0)
usr.bin/sort/sort.c
818
errno = 0;
usr.bin/sort/sort.c
820
if (errno != 0)
usr.bin/split/split.c
289
while ((errno = 0, len = getline(&buf, &bufsize, infp)) > 0) {
usr.bin/split/split.c
313
if ((len == -1 && errno != 0) || ferror(infp))
usr.bin/split/split.c
435
if (!clobber && errno == EEXIST)
usr.bin/stat/stat.c
1135
errno = ESPIPE;
usr.bin/stat/stat.c
1140
if (errno != ENXIO)
usr.bin/stat/stat.c
1154
if (errno != ENXIO)
usr.bin/stat/stat.c
382
errno = EINVAL;
usr.bin/stat/stat.c
393
errno == ENOENT &&
usr.bin/stat/stat.c
395
errno = ENOENT;
usr.bin/su/su.c
209
if (getauid(&auid) < 0 && errno != ENOSYS) {
usr.bin/su/su.c
210
syslog(LOG_AUTH | LOG_ERR, "getauid: %s", strerror(errno));
usr.bin/su/su.c
234
errno = 0;
usr.bin/su/su.c
236
if (errno)
usr.bin/systat/fetch.c
105
if (errno == ENOMEM) {
usr.bin/systat/fetch.c
122
if (errno == ENOMEM) {
usr.bin/systat/fetch.c
64
strerror(errno));
usr.bin/systat/ifstat.c
481
if ((ret != 0) && (errno != ENOENT))
usr.bin/systat/iolat.c
117
err(1, "sysctl fmt %d %zu %d", i, j, errno);
usr.bin/systat/iolat.c
246
if (errno == ENOENT)
usr.bin/systat/iolat.c
98
err(1, "sysctl name %d %zu %d", i, j, errno);
usr.bin/systat/keyboard.c
106
if (n < 0 && errno != EINTR)
usr.bin/systat/keyboard.c
121
if (errno == EINTR)
usr.bin/systat/vmstat.c
204
strerror(errno));
usr.bin/systat/vmstat.c
778
error("Can't get kernel info: %s\n", strerror(errno));
usr.bin/tabs/tabs.c
104
errno = 0;
usr.bin/tabs/tabs.c
106
if (errno != 0 || *end != '\0' || inc < 0)
usr.bin/tabs/tabs.c
206
errno = 0;
usr.bin/tabs/tabs.c
208
if (errno != 0 || *end != '\0' || stop <= 0)
usr.bin/tabs/tabs.c
95
errno = 0;
usr.bin/tabs/tabs.c
97
if (errno != 0 || *end != '\0' || margin < 0)
usr.bin/tail/forward.c
364
if (errno != ENOENT)
usr.bin/tail/forward.c
413
if (n < 0 && errno != EINTR)
usr.bin/tail/tail.c
219
if (!Fflag || errno != ENOENT)
usr.bin/tail/tail.c
255
errno == ESPIPE) {
usr.bin/tail/tail.c
256
errno = 0;
usr.bin/talk/ctl_transact.c
72
if (errno == EINTR)
usr.bin/talk/ctl_transact.c
78
if (errno == EINTR)
usr.bin/talk/ctl_transact.c
91
if (errno == EINTR)
usr.bin/talk/get_iface.c
72
} while(rv < 0 && errno == EADDRINUSE);
usr.bin/talk/get_iface.c
82
} while(rv < 0 && errno == EADDRINUSE);
usr.bin/talk/invite.c
90
if (errno == EINTR)
usr.bin/talk/io.c
117
if (errno == EINTR)
usr.bin/talk/io.c
155
string, strerror(errno), errno);
usr.bin/talk/look_up.c
73
errno = 0;
usr.bin/talk/look_up.c
76
} while (errno == EINTR);
usr.bin/talk/look_up.c
77
if (errno == ECONNREFUSED) {
usr.bin/tcopy/tcopy.cc
297
if (where != 0 && errno == ESPIPE)
usr.bin/tcopy/tcopy.cc
98
if (retval >= 0 || (errno != EINVAL && errno != EFBIG))
usr.bin/tee/tee.c
166
if (errno != EOPNOTSUPP)
usr.bin/tee/tee.c
191
errno = EOPNOTSUPP;
usr.bin/time/time.c
120
err(errno == ENOENT ? 127 : 126, "%s", *argv);
usr.bin/tip/libacu/dn11.c
55
if (errno == EBUSY)
usr.bin/tip/libacu/dn11.c
84
if (errno == EIO)
usr.bin/tip/libacu/v831.c
218
printf("read %d chars, char=%c, errno %d\n", i, c, errno);
usr.bin/tip/libacu/v831.c
61
if (errno == EBUSY)
usr.bin/tip/libacu/v831.c
90
printf("(after open, errno=%d)\n", errno);
usr.bin/tip/libacu/v831.c
92
if (errno == EIO)
usr.bin/tip/tip/tip.c
584
if (errno == EIO || errno == ENXIO)
usr.bin/tip/tip/tipout.c
144
(scnt < 0 && (errno == EIO || errno == ENXIO))) {
usr.bin/tip/tip/uucplock.c
84
if (kill(pid, 0) == 0 || errno != ESRCH) {
usr.bin/top/commands.c
450
ERROR(str, errno);
usr.bin/top/commands.c
511
ERROR(str, errno);
usr.bin/top/machine.c
1284
strerror(errno));
usr.bin/top/top.c
401
errno = 0;
usr.bin/top/top.c
403
if (i == -1 && errno != 0) {
usr.bin/top/top.c
769
if (sel_ret < 0 && errno != EINTR)
usr.bin/touch/touch.c
157
if (errno != ENOENT) {
usr.bin/truncate/truncate.c
156
if (errno != ENOENT) {
usr.bin/truncate/truncate.c
170
errno = EFBIG;
usr.bin/truss/setup.c
764
if (errno == EINTR)
usr.bin/vmstat/vmstat.c
400
if (error != 0 && errno != ENOMEM)
usr.bin/vmstat/vmstat.c
894
if (status == -1 && errno == EINTR)
usr.bin/wall/ttymsg.c
118
if (errno == EWOULDBLOCK) {
usr.bin/wall/ttymsg.c
128
"fork: %s", strerror(errno));
usr.bin/wall/ttymsg.c
149
if (errno == ENODEV || errno == EIO)
usr.bin/wall/ttymsg.c
155
"%s: %s", device, strerror(errno));
usr.bin/wall/ttymsg.c
86
if (errno == EBUSY || errno == EACCES)
usr.bin/wall/ttymsg.c
89
strerror(errno));
usr.bin/wc/wc.c
306
errno = EILSEQ;
usr.bin/whereis/whereis.c
317
if (errno == ENOENT)
usr.bin/who/who.c
303
errno = 0;
usr.bin/who/who.c
305
if (errno || width <= 0 || width > INT_MAX || ep == cols ||
usr.bin/whois/whois.c
330
if (errno == EINPROGRESS) {
usr.bin/whois/whois.c
421
errno = ETIMEDOUT;
usr.bin/xargs/xargs.c
611
childerr = errno;
usr.bin/xargs/xargs.c
631
errno = ECHILD;
usr.bin/xargs/xargs.c
666
errno = childerr;
usr.bin/xargs/xargs.c
668
cause_exit = errno == ENOENT ? 127 : 126;
usr.bin/xargs/xargs.c
683
if (pid == -1 && errno != ECHILD)
usr.bin/xinstall/xinstall.c
1004
serrno = errno;
usr.bin/xinstall/xinstall.c
1006
errno = serrno;
usr.bin/xinstall/xinstall.c
1027
serrno = errno;
usr.bin/xinstall/xinstall.c
1029
errno = serrno;
usr.bin/xinstall/xinstall.c
1036
serrno = errno;
usr.bin/xinstall/xinstall.c
1038
errno = serrno;
usr.bin/xinstall/xinstall.c
1055
if (errno == EOPNOTSUPP)
usr.bin/xinstall/xinstall.c
1058
serrno = errno;
usr.bin/xinstall/xinstall.c
1060
errno = serrno;
usr.bin/xinstall/xinstall.c
1201
} while (ret > 0 || (ret < 0 && errno == EINTR));
usr.bin/xinstall/xinstall.c
1204
if (errno != EINVAL) {
usr.bin/xinstall/xinstall.c
1205
serrno = errno;
usr.bin/xinstall/xinstall.c
1207
errno = serrno;
usr.bin/xinstall/xinstall.c
1231
if (errno == EINTR)
usr.bin/xinstall/xinstall.c
1233
serrno = errno;
usr.bin/xinstall/xinstall.c
1235
errno = serrno;
usr.bin/xinstall/xinstall.c
1243
if (errno == EINTR)
usr.bin/xinstall/xinstall.c
1245
serrno = errno;
usr.bin/xinstall/xinstall.c
1247
errno = serrno;
usr.bin/xinstall/xinstall.c
1257
serrno = errno;
usr.bin/xinstall/xinstall.c
1259
errno = serrno;
usr.bin/xinstall/xinstall.c
1313
error = errno;
usr.bin/xinstall/xinstall.c
1326
serrno = errno;
usr.bin/xinstall/xinstall.c
1328
errno = serrno;
usr.bin/xinstall/xinstall.c
1354
if (errno != ENOENT || tried_mkdir)
usr.bin/xinstall/xinstall.c
1358
if (errno == EEXIST)
usr.bin/xinstall/xinstall.c
528
errno = 0;
usr.bin/xinstall/xinstall.c
530
if (errno || *ep != '\0')
usr.bin/xinstall/xinstall.c
663
if ((dolink & LN_HARD) || errno != EXDEV)
usr.bin/xinstall/xinstall.c
910
serrno = errno;
usr.bin/xinstall/xinstall.c
912
errno = serrno;
usr.bin/xinstall/xinstall.c
956
if (unlink(backup) < 0 && errno != ENOENT) {
usr.bin/xinstall/xinstall.c
957
serrno = errno;
usr.bin/xinstall/xinstall.c
963
errno = serrno;
usr.bin/xinstall/xinstall.c
967
serrno = errno;
usr.bin/xinstall/xinstall.c
973
errno = serrno;
usr.bin/xinstall/xinstall.c
981
serrno = errno;
usr.bin/xinstall/xinstall.c
983
errno = serrno;
usr.sbin/apmd/apmd.c
127
} while (pid == -1 && errno == EINTR);
usr.sbin/apmd/apmd.c
613
if (errno != EINTR)
usr.sbin/arp/arp.c
149
if (errno == ENXIO)
usr.sbin/arp/arp.c
566
if (st == 0 || errno != ENOMEM)
usr.sbin/arp/arp.c
764
errno = 0;
usr.sbin/arp/arp.c
809
if (errno != ESRCH || cmd != RTM_DELETE) {
usr.sbin/arp/arp_netlink.c
42
if (modfind("netlink") == -1 && errno == ENOENT) {
usr.sbin/autofs/automountd.c
485
if (errno == EEXIST) {
usr.sbin/autofs/automountd.c
494
if (autofs_fd < 0 && errno == ENOENT) {
usr.sbin/autofs/automountd.c
495
saved_errno = errno;
usr.sbin/autofs/automountd.c
500
errno = saved_errno;
usr.sbin/autofs/automountd.c
525
if (errno == EINTR) {
usr.sbin/autofs/autounmountd.c
163
if (errno == EBUSY) {
usr.sbin/autofs/autounmountd.c
165
mountpoint, fsid_str, strerror(errno));
usr.sbin/autofs/autounmountd.c
247
if (errno == EINTR)
usr.sbin/autofs/autounmountd.c
304
if (errno == EEXIST) {
usr.sbin/autofs/common.c
150
if (error != 0 && errno != EEXIST) {
usr.sbin/autofs/log.c
151
log_common(LOG_CRIT, errno, fmt, ap);
usr.sbin/autofs/log.c
175
log_common(LOG_WARNING, errno, fmt, ap);
usr.sbin/autofs/popen.c
172
} while (pid == -1 && errno == EINTR);
usr.sbin/bhyve/aarch64/mem_aarch64.c
50
return (errno);
usr.sbin/bhyve/aarch64/vmexit.c
257
assert(error == 0 || errno == EALREADY);
usr.sbin/bhyve/acpi.c
195
dsdt_error = errno;
usr.sbin/bhyve/acpi.c
300
return (errno);
usr.sbin/bhyve/acpi.c
371
return (errno);
usr.sbin/bhyve/acpi.c
378
return (errno);
usr.sbin/bhyve/amd64/atkbdc.c
468
assert(error == 0 || errno == EALREADY);
usr.sbin/bhyve/amd64/kernemu_dev.c
52
return (errno);
usr.sbin/bhyve/amd64/pm.c
260
assert(error == 0 || errno == EALREADY);
usr.sbin/bhyve/amd64/pm.c
77
assert(error == 0 || errno == EALREADY);
usr.sbin/bhyve/audio.c
105
aud->dev_name, errno);
usr.sbin/bhyve/audio.c
150
aud->fd, errno);
usr.sbin/bhyve/audio.c
161
params->format, errno);
usr.sbin/bhyve/audio.c
177
params->channels, errno);
usr.sbin/bhyve/audio.c
193
params->rate, errno);
usr.sbin/bhyve/audio.c
208
DPRINTF("Fail to get audio buf info errno: %d", errno);
usr.sbin/bhyve/audio.c
241
audio_fd, errno);
usr.sbin/bhyve/audio.c
275
audio_fd, errno);
usr.sbin/bhyve/bhyverun.c
182
errno = 0;
usr.sbin/bhyve/bhyverun.c
184
if (errno != 0 || *cp != '\0' || cp == value || lval < minval ||
usr.sbin/bhyve/bhyverun.c
490
cpu, dom, strerror(errno));
usr.sbin/bhyve/bhyverun.c
507
cpu, 0, strerror(errno));
usr.sbin/bhyve/bhyverun.c
663
EPRINTLN("vm_run error %d, errno %d", error, errno);
usr.sbin/bhyve/bhyverun.c
703
if (errno != ENOENT)
usr.sbin/bhyve/bhyverun.c
877
fprintf(stderr, "Unable to setup memory (%d)\n", errno);
usr.sbin/bhyve/bhyverun.c
890
strerror(errno));
usr.sbin/bhyve/bhyverun.c
895
while ((error = waitpid(child, &status, 0)) == -1 && errno == EINTR)
usr.sbin/bhyve/bhyverun.c
899
strerror(errno));
usr.sbin/bhyve/bhyverun.c
913
strerror(errno));
usr.sbin/bhyve/bhyverun.c
959
strerror(errno));
usr.sbin/bhyve/block_if.c
222
return (errno);
usr.sbin/bhyve/block_if.c
224
return (errno);
usr.sbin/bhyve/block_if.c
250
err = errno;
usr.sbin/bhyve/block_if.c
261
err = errno;
usr.sbin/bhyve/block_if.c
291
err = errno;
usr.sbin/bhyve/block_if.c
318
err = errno;
usr.sbin/bhyve/block_if.c
337
err = errno;
usr.sbin/bhyve/block_if.c
347
err = errno;
usr.sbin/bhyve/block_if.c
692
strerror(errno));
usr.sbin/bhyve/block_if.c
728
err = errno;
usr.sbin/bhyve/bootrom.c
179
int serrno = errno;
usr.sbin/bhyve/bootrom.c
227
romfile, strerror(errno));
usr.sbin/bhyve/bootrom.c
233
strerror(errno));
usr.sbin/bhyve/bootrom.c
245
"\"%s\": %s", varfile, strerror(errno));
usr.sbin/bhyve/bootrom.c
252
varfile, strerror(errno));
usr.sbin/bhyve/gdb.c
1202
send_error(errno);
usr.sbin/bhyve/gdb.c
1231
send_error(errno);
usr.sbin/bhyve/gdb.c
1275
send_error(errno);
usr.sbin/bhyve/gdb.c
1397
send_error(errno);
usr.sbin/bhyve/gdb.c
1533
send_error(errno);
usr.sbin/bhyve/gdb.c
1824
send_error(errno);
usr.sbin/bhyve/gdb.c
1828
send_error(errno);
usr.sbin/bhyve/gdb.c
1834
send_error(errno);
usr.sbin/bhyve/gdb.c
2087
if (errno == EAGAIN)
usr.sbin/bhyve/mevent.c
557
if (ret == -1 && errno != EINTR) {
usr.sbin/bhyve/net_backend_netmap.c
137
devname, strerror(errno));
usr.sbin/bhyve/net_backend_slirp.c
203
strerror(errno));
usr.sbin/bhyve/net_backend_slirp.c
222
return (errno == EWOULDBLOCK ? 0 : -1);
usr.sbin/bhyve/net_backend_slirp.c
242
if (errno == EWOULDBLOCK)
usr.sbin/bhyve/net_backends.c
179
if (ret < 0 && errno == EWOULDBLOCK) {
usr.sbin/bhyve/net_backends.c
210
if (ret < 0 && errno == EWOULDBLOCK) {
usr.sbin/bhyve/net_utils.c
84
if (val == 0 && errno == EINVAL)
usr.sbin/bhyve/net_utils.c
92
errno = EINVAL;
usr.sbin/bhyve/pci_nvme.c
3254
strerror(errno));
usr.sbin/bhyve/pci_passthru.c
1330
strerror(errno));
usr.sbin/bhyve/pci_passthru.c
1338
strerror(errno));
usr.sbin/bhyve/pci_passthru.c
857
romfile, errno);
usr.sbin/bhyve/pci_passthru.c
925
EPRINTLN("ioctl(PCIOCGETCONF): %s", strerror(errno));
usr.sbin/bhyve/pci_passthru.c
990
if (errno == ENOENT) {
usr.sbin/bhyve/pci_passthru.c
995
EPRINTLN("vm_assign_pptdev: %s", strerror(errno));
usr.sbin/bhyve/pci_virtio_9p.c
267
strerror(errno));
usr.sbin/bhyve/pci_virtio_9p.c
304
errno = ENXIO;
usr.sbin/bhyve/pci_virtio_9p.c
309
errno = ENXIO;
usr.sbin/bhyve/pci_virtio_9p.c
314
errno = EIO;
usr.sbin/bhyve/pci_virtio_console.c
247
errno = EBUSY;
usr.sbin/bhyve/pci_virtio_console.c
443
if (len == 0 || (len < 0 && errno == EWOULDBLOCK)) {
usr.sbin/bhyve/pci_virtio_console.c
748
name, strerror(errno));
usr.sbin/bhyve/pci_virtio_input.c
574
if (len == -1 && errno != EAGAIN) {
usr.sbin/bhyve/pci_virtio_input.c
576
__func__, len, errno));
usr.sbin/bhyve/pci_virtio_net.c
605
errno = EINVAL;
usr.sbin/bhyve/pci_virtio_scsi.c
1055
WPRINTF("cannot open %s: %s", devname, strerror(errno));
usr.sbin/bhyve/pci_virtio_scsi.c
530
errno, strerror(errno));
usr.sbin/bhyve/pci_virtio_scsi.c
589
WPRINTF("CTL_IO: err=%d (%s)", errno, strerror(errno));
usr.sbin/bhyve/pci_virtio_scsi.c
625
EPRINTLN("failed to allocate request: %s", strerror(errno));
usr.sbin/bhyve/pci_virtio_scsi.c
872
WPRINTF("CTL_IO: err=%d (%s)", errno, strerror(errno));
usr.sbin/bhyve/slirp/slirp-helper.c
261
if (error == -1 && errno != EINTR)
usr.sbin/bhyve/slirp/slirp-helper.c
278
if (n != -1 || errno != EAGAIN)
usr.sbin/bhyve/slirp/slirp-helper.c
295
if (errno == EWOULDBLOCK)
usr.sbin/bhyve/slirp/slirp-helper.c
323
return (error == 0 ? EPFNOSUPPORT : errno);
usr.sbin/bhyve/slirp/slirp-helper.c
399
strerror(errno));
usr.sbin/bhyve/snapshot.c
1370
EPRINTLN("nvlist_recv() failed: %s", strerror(errno));
usr.sbin/bhyve/snapshot.c
1417
EPRINTLN("Socket creation failed: %s", strerror(errno));
usr.sbin/bhyve/snapshot.c
1431
addr.sun_path, strerror(errno));
usr.sbin/bhyve/snapshot.c
1437
EPRINTLN("ipc socket listen: %s\n", strerror(errno));
usr.sbin/bhyve/snapshot.c
1438
err = errno;
usr.sbin/bhyve/snapshot.c
164
EPRINTLN("Failed to allocate memory: %s", strerror(errno));
usr.sbin/bhyve/sockstream.c
51
if (errno == EINTR || errno == EAGAIN)
usr.sbin/bhyve/sockstream.c
74
if (errno == EINTR || errno == EAGAIN)
usr.sbin/bhyvectl/bhyvectl.c
191
return (errno == ENOENT ? 0 : error);
usr.sbin/bhyvectl/bhyvectl.c
238
return (errno == EINVAL ? 0 : error);
usr.sbin/bhyvectl/bhyvectl.c
262
err = errno;
usr.sbin/bhyvectl/bhyvectl.c
274
err = errno;
usr.sbin/bhyvectl/bhyvectl.c
280
err = errno;
usr.sbin/bhyvectl/bhyvectl.c
313
return (errno);
usr.sbin/bhyvectl/bhyvectl.c
407
vmname, strerror(errno));
usr.sbin/bhyvectl/bhyvectl.c
430
if (error != 0 && errno == ENOENT)
usr.sbin/bhyvectl/bhyvectl.c
450
} else if (errno == ENOENT) {
usr.sbin/bhyvectl/bhyvectl.c
528
printf("errno = %d\n", errno);
usr.sbin/bhyveload/bhyveload.c
189
return (errno);
usr.sbin/bhyveload/bhyveload.c
192
int serrno = errno;
usr.sbin/bhyveload/bhyveload.c
298
return (errno);
usr.sbin/bhyveload/bhyveload.c
333
return (errno);
usr.sbin/bhyveload/bhyveload.c
348
return (errno);
usr.sbin/bhyveload/bhyveload.c
705
err = errno;
usr.sbin/bhyveload/bhyveload.c
726
return (errno);
usr.sbin/bhyveload/bhyveload.c
864
if (errno != EEXIST)
usr.sbin/binmiscctl/binmiscctl.c
416
KMOD_NAME, strerror(errno));
usr.sbin/binmiscctl/binmiscctl.c
452
switch(errno) {
usr.sbin/binmiscctl/binmiscctl.c
480
strerror(errno));
usr.sbin/binmiscctl/binmiscctl.c
497
if (error == -1 && errno == ENOMEM &&
usr.sbin/binmiscctl/binmiscctl.c
512
fatal("Fatal: %s", strerror(errno));
usr.sbin/bluetooth/bcmfw/bcmfw.c
128
path, strerror(errno), errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
135
strerror(errno), errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
168
buf, strerror(errno), errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
176
buf, strerror(errno), errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
186
md, strerror(errno), errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
194
md, strerror(errno), errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
203
name, BCMFW_BULK_EP, strerror(errno),
usr.sbin/bluetooth/bcmfw/bcmfw.c
204
errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
220
name, BCMFW_BULK_EP, strerror(errno), errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
226
name, BCMFW_INTR_EP, strerror(errno), errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
241
fw, strerror(errno), errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
249
fw, strerror(errno), errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
258
name, BCMFW_BULK_EP, strerror(errno),
usr.sbin/bluetooth/bcmfw/bcmfw.c
259
errno);
usr.sbin/bluetooth/bcmfw/bcmfw.c
269
name, BCMFW_INTR_EP, strerror(errno), errno);
usr.sbin/bluetooth/bthidcontrol/bthidcontrol.c
158
cmd, strerror(errno));
usr.sbin/bluetooth/bthidd/bthidd.c
130
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/bthidd.c
142
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/bthidd.c
149
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/bthidd.c
157
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/bthidd.c
196
file, strerror(errno), errno);
usr.sbin/bluetooth/bthidd/bthidd.c
217
file, strerror(errno), errno);
usr.sbin/bluetooth/bthidd/btuinput.c
448
if (errno == ENOENT)
usr.sbin/bluetooth/bthidd/client.c
140
bt_ntoa(&s->bdaddr, NULL), strerror(errno), errno);
usr.sbin/bluetooth/bthidd/client.c
166
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/client.c
250
errno != EINPROGRESS) {
usr.sbin/bluetooth/bthidd/client.c
99
bt_ntoa(&s->bdaddr, NULL), strerror(errno), errno);
usr.sbin/bluetooth/bthidd/hid.c
555
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/hid.c
566
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/hid.c
573
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/parser.y
291
config_file, strerror(errno), errno);
usr.sbin/bluetooth/bthidd/parser.y
502
if (errno == ENOENT)
usr.sbin/bluetooth/bthidd/parser.y
506
hids_file, strerror(errno), errno);
usr.sbin/bluetooth/bthidd/parser.y
546
path, strerror(errno), errno);
usr.sbin/bluetooth/bthidd/parser.y
558
"%s (%d)" EOL, path, hids_file, strerror(errno), errno);
usr.sbin/bluetooth/bthidd/server.c
102
"%s (%d)", strerror(errno), errno);
usr.sbin/bluetooth/bthidd/server.c
110
"%s (%d)", strerror(errno), errno);
usr.sbin/bluetooth/bthidd/server.c
120
"%s (%d)", strerror(errno), errno);
usr.sbin/bluetooth/bthidd/server.c
130
"%s (%d)", strerror(errno), errno);
usr.sbin/bluetooth/bthidd/server.c
139
"%s (%d)", strerror(errno), errno);
usr.sbin/bluetooth/bthidd/server.c
194
if (errno == EINTR)
usr.sbin/bluetooth/bthidd/server.c
198
srv->maxfd + 1, &rfdset, &wfdset, strerror(errno), errno);
usr.sbin/bluetooth/bthidd/server.c
239
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/server.c
333
} while (len < 0 && errno == EINTR);
usr.sbin/bluetooth/bthidd/server.c
339
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/server.c
80
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/server.c
88
"%s (%d)", strerror(errno), errno);
usr.sbin/bluetooth/bthidd/session.c
113
strerror(errno), errno);
usr.sbin/bluetooth/bthidd/session.c
134
NULL), strerror(errno), errno);
usr.sbin/bluetooth/bthidd/session.c
143
NULL), strerror(errno), errno);
usr.sbin/bluetooth/btpand/client.c
185
if (ss == NULL || (errno = sdp_error(ss)) != 0) {
usr.sbin/bluetooth/btpand/server.c
290
errno = sdp_error(server_ss);
usr.sbin/bluetooth/hccontrol/hccontrol.c
247
cmd, strerror(errno));
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
230
errno = EMSGSIZE;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
235
errno = EIO;
usr.sbin/bluetooth/hccontrol/le.c
1055
errno = EIO;
usr.sbin/bluetooth/hccontrol/le.c
1197
errno = EIO;
usr.sbin/bluetooth/hccontrol/le.c
728
errno = EIO;
usr.sbin/bluetooth/hccontrol/link_control.c
114
errno = EIO;
usr.sbin/bluetooth/hccontrol/link_control.c
265
errno = EIO;
usr.sbin/bluetooth/hccontrol/link_control.c
341
errno = EIO;
usr.sbin/bluetooth/hccontrol/link_control.c
420
errno = EIO;
usr.sbin/bluetooth/hccontrol/link_control.c
491
errno = EIO;
usr.sbin/bluetooth/hccontrol/link_control.c
584
errno = EIO;
usr.sbin/bluetooth/hccontrol/link_control.c
648
errno = EIO;
usr.sbin/bluetooth/hccontrol/link_control.c
716
errno = EIO;
usr.sbin/bluetooth/hccontrol/link_control.c
788
errno = EIO;
usr.sbin/bluetooth/hccontrol/link_policy.c
133
errno = EIO;
usr.sbin/bluetooth/hccontrol/node.c
227
errno = ENOMEM;
usr.sbin/bluetooth/hccontrol/node.c
284
errno = ENOMEM;
usr.sbin/bluetooth/hccontrol/send_recv.c
167
if (errno == EINTR)
usr.sbin/bluetooth/hccontrol/send_recv.c
170
errno = ETIMEDOUT;
usr.sbin/bluetooth/hccontrol/send_recv.c
78
errno = EMSGSIZE;
usr.sbin/bluetooth/hccontrol/send_recv.c
83
errno = EIO;
usr.sbin/bluetooth/hcsecd/hcsecd.c
146
HCSECD_PIDFILE, strerror(errno), errno);
usr.sbin/bluetooth/hcsecd/hcsecd.c
160
if (errno == EINTR)
usr.sbin/bluetooth/hcsecd/hcsecd.c
164
"%s (%d)", strerror(errno), errno);
usr.sbin/bluetooth/hcsecd/hcsecd.c
200
HCSECD_PIDFILE, strerror(errno), errno);
usr.sbin/bluetooth/hcsecd/hcsecd.c
310
if (errno == EINTR)
usr.sbin/bluetooth/hcsecd/hcsecd.c
316
strerror(errno), errno);
usr.sbin/bluetooth/hcsecd/hcsecd.c
368
if (errno == EINTR)
usr.sbin/bluetooth/hcsecd/hcsecd.c
374
strerror(errno), errno);
usr.sbin/bluetooth/hcsecd/parser.y
209
config_file, strerror(errno), errno);
usr.sbin/bluetooth/hcsecd/parser.y
301
if (errno == ENOENT)
usr.sbin/bluetooth/hcsecd/parser.y
305
HCSECD_KEYSFILE, strerror(errno), errno);
usr.sbin/bluetooth/hcsecd/parser.y
363
tmp, strerror(errno), errno);
usr.sbin/bluetooth/hcsecd/parser.y
381
"%s (%d)\n", strerror(errno), errno);
usr.sbin/bluetooth/hcsecd/parser.y
390
tmp, HCSECD_KEYSFILE, strerror(errno), errno);
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
138
if (stat(fwname, &sb) != 0 && errno == ENOENT) {
usr.sbin/bluetooth/l2control/l2cap.c
148
errno = ENOMEM;
usr.sbin/bluetooth/l2control/l2cap.c
206
errno = ENOMEM;
usr.sbin/bluetooth/l2control/l2control.c
164
cmd, strerror(errno));
usr.sbin/bluetooth/l2ping/l2ping.c
207
r.result = errno;
usr.sbin/bluetooth/l2ping/l2ping.c
226
((fail == 0)? "" : strerror(errno)));
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
172
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
179
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
194
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
200
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
206
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
215
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
229
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
235
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
331
"on socket. %s (%d)", strerror(errno),
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
332
errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
339
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
379
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
390
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
415
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
422
strerror(errno), errno);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
440
strerror(errno), errno);
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
337
errno = EINVAL;
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
352
errno = EINVAL;
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
359
errno = EINVAL;
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
365
errno = ENOMEM;
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
419
errno = EINVAL;
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
447
errno = ENOMEM;
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
486
errno = EINVAL;
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
526
opcode, errno);
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
533
errno = ENOMSG;
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
539
errno = ENOMEM;
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
556
errno = EPERM;
usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.c
255
rtlbt_err("download fw command failed (%d)", errno);
usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.c
260
errno = EIO;
usr.sbin/bluetooth/sdpd/main.c
105
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/main.c
117
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/main.c
124
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/main.c
195
group, strerror(errno), errno);
usr.sbin/bluetooth/sdpd/main.c
201
user, strerror(errno), errno);
usr.sbin/bluetooth/sdpd/sar.c
309
} while (size < 0 && errno == EINTR);
usr.sbin/bluetooth/sdpd/sar.c
318
return ((size < 0)? errno : 0);
usr.sbin/bluetooth/sdpd/server.c
101
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
108
"%s (%d)", strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
115
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
124
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
132
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
146
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
154
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
260
if (errno == EINTR)
usr.sbin/bluetooth/sdpd/server.c
264
srv->maxfd + 1, &fdset, strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
301
} while (cfd < 0 && errno == EINTR);
usr.sbin/bluetooth/sdpd/server.c
306
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
320
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
329
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
355
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
421
} while (len < 0 && errno == EINTR);
usr.sbin/bluetooth/sdpd/server.c
426
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
552
} while (size < 0 && errno == EINTR);
usr.sbin/bluetooth/sdpd/server.c
554
return ((size < 0)? errno : 0);
usr.sbin/bluetooth/sdpd/server.c
81
if (unlink(control) < 0 && errno != ENOENT) {
usr.sbin/bluetooth/sdpd/server.c
83
control, strerror(errno), errno);
usr.sbin/bluetooth/sdpd/server.c
90
strerror(errno), errno);
usr.sbin/bluetooth/sdpd/srr.c
134
} while (size < 0 && errno == EINTR);
usr.sbin/bluetooth/sdpd/srr.c
140
return ((size < 0)? errno : 0);
usr.sbin/bluetooth/sdpd/ssr.c
274
} while (size < 0 && errno == EINTR);
usr.sbin/bluetooth/sdpd/ssr.c
283
return ((size < 0)? errno : 0);
usr.sbin/boot0cfg/boot0cfg.c
582
errno = 0;
usr.sbin/boot0cfg/boot0cfg.c
584
if (errno || !*arg || *s || x < lo || x > hi)
usr.sbin/boottrace/boottrace.c
63
err(errno == ENOENT ? 127 : 126, "execvp %s", *argv);
usr.sbin/bsdinstall/distextract/distextract.c
129
chrootdir, strerror(errno));
usr.sbin/bsdinstall/distextract/distextract.c
209
if (file_count == 0 && errno == EINVAL)
usr.sbin/bsdinstall/distfetch/distfetch.c
189
urls[i], strerror(errno));
usr.sbin/bsdinstall/distfetch/distfetch.c
232
urls[i], strerror(errno));
usr.sbin/bsdinstall/distfetch/distfetch.c
89
getenv("BSDINSTALL_DISTDIR"), strerror(errno));
usr.sbin/bsdinstall/partedit/gpart_ops.c
1194
strerror(errno));
usr.sbin/bsdinstall/partedit/gpart_ops.c
439
bsddialog_msgbox(&conf, strerror(errno), 0, 0);
usr.sbin/bsdinstall/partedit/partedit.c
441
getenv("PATH_FSTAB"), strerror(errno));
usr.sbin/bsdinstall/runconsoles/child.c
108
saved_errno = errno;
usr.sbin/bsdinstall/runconsoles/child.c
125
if (pid == -1 && errno == ECHILD && grandchild_pid == 0)
usr.sbin/bsdinstall/runconsoles/child.c
128
errno = saved_errno;
usr.sbin/bsdinstall/runconsoles/child.c
146
saved_errno = errno;
usr.sbin/bsdinstall/runconsoles/child.c
148
errno = saved_errno;
usr.sbin/bsdinstall/runconsoles/child.c
75
saved_errno = errno;
usr.sbin/bsdinstall/runconsoles/child.c
77
errno = saved_errno;
usr.sbin/bsdinstall/runconsoles/common.h
65
} while (ret == -1 && errno == EINTR);
usr.sbin/bsdinstall/runconsoles/runconsoles.c
126
saved_errno = errno;
usr.sbin/bsdinstall/runconsoles/runconsoles.c
128
errno = saved_errno;
usr.sbin/bsdinstall/runconsoles/runconsoles.c
242
saved_errno = errno;
usr.sbin/bsdinstall/runconsoles/runconsoles.c
246
errno = saved_errno;
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_addrs.c
279
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.c
226
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.c
360
"gettimeofday failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_port.c
266
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.c
267
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1009
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1042
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1072
"realloc failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1083
"(BRDGGIFS) failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1122
"realloc failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1133
"(BRDGGIFSSTP) failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1331
" realloc failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1342
"ioctl(BRDGRTS) failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
147
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1484
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
157
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
168
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
177
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
186
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
195
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
204
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
233
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
293
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
336
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
358
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
380
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
402
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
424
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
449
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
471
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
492
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
506
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
524
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
539
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
557
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
578
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
69
syslog(LOG_ERR, "cannot open socket : %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
759
"failed: %s", bp->p_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
789
"failed: %s", bp->p_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
801
"failed: %s", bp->p_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
833
"failed: %s", bp->p_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
864
"failed: %s", bp->p_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
885
"failed: %s", bp->p_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
915
"failed: %s", bp->p_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
928
"failed: %s", bp->p_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
959
"failed: %s", bp->p_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
973
"failed: %s", bp->p_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c
452
if (errno == EBADF) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c
135
if (errno != EEXIST) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c
226
HRDBG("OPEN device %s failed: %s", dev_path, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c
232
dev_path, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_printer_tbl.c
171
syslog(LOG_ERR, "cannot open status file: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_printer_tbl.c
229
if (errno == ENOENT) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_processor_tbl.c
305
!(errno == ENOMEM && size >= cplen * sizeof(long))) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
328
while (errno = 0, (ent = readdir(p_dir)) != NULL) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
374
if (errno != 0) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
514
if (errno == EBUSY)
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
537
if (errno == ESRCH) {
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1274
if (errno == ENOENT)
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
275
errno = ENOMEM;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
279
err = errno;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
281
if (errno == EWOULDBLOCK) {
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
282
errno = err;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
287
errno = err;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
298
errno = EFBIG;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
377
errno = EWOULDBLOCK;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
387
if (errno == EWOULDBLOCK)
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
410
err = errno;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
412
errno = err;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
461
errno = ENOMEM;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
541
return (errno);
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1169
numifs, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1177
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1234
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1246
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1255
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1334
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1370
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1378
pt->pfrt_name, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1399
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1434
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1443
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1498
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1506
" %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1551
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1559
" %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1621
errno = 0;
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1624
if (errno == ENODEV) {
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1630
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1647
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
344
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
434
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
4439
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
140
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
182
req_type, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
218
if (errno == ENXIO)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
2238
wif->wname, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
2379
if (errno != EINVAL) {
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
2382
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
2507
if (errno != EINVAL) {
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
2510
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
252
"failed: %s", wif->wname, strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
2561
&argsize, 1) < 0 && errno != ENOENT)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
2591
&argsize, 1) < 0 && errno != ENOENT)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
276
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
2824
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
293
strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
781
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
801
"failed: %s", strerror(errno));
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
97
syslog(LOG_ERR, "cannot open socket : %s", strerror(errno));
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
561
saved_errno = errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
562
errno = 0;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
564
if (errno != 0) {
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
566
errno = saved_errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
569
errno = saved_errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
638
saved_errno = errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
639
errno = 0;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
643
if (errno != 0) {
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
645
errno = saved_errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
651
errno = saved_errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
686
saved_errno = errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
687
errno = 0;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
691
if (errno != 0) {
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
693
errno = saved_errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
698
errno = saved_errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
740
saved_errno = errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
741
errno = 0;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
745
if (errno != 0) {
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
747
errno = saved_errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
753
errno = saved_errno;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
971
syslog(LOG_ERR, "malloc() failed - %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
637
syslog(LOG_ERR, "malloc() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
765
syslog(LOG_ERR, "calloc() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
770
syslog(LOG_ERR, "strdup() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
251
syslog(LOG_ERR, "malloc() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
269
syslog(LOG_ERR, "calloc() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
274
syslog(LOG_ERR, "strdup() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
479
syslog(LOG_ERR, "malloc() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
553
syslog(LOG_ERR, "malloc() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
558
syslog(LOG_ERR, "malloc() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
57
syslog(LOG_ERR, "malloc() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1039
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1040
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1043
if (v > SNMP_MAX_BPORT_PRIORITY || errno != 0 || *endptr != '.') {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1044
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1052
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1053
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1055
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1077
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1078
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1081
if (v > SNMP_MAX_BPORT_PRIORITY || errno != 0 || *endptr != '.') {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1082
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1099
syslog(LOG_ERR, "malloc failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1226
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1227
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1230
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1232
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1265
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1266
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1270
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1272
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
1288
syslog(LOG_ERR, "malloc failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
168
syslog(LOG_ERR, "malloc failed - %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
269
syslog(LOG_ERR, "malloc failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
348
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
349
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
354
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
364
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
365
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
367
if (errno != 0)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
370
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
378
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
379
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
381
if (errno != 0)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
384
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
392
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
393
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
395
if (errno != 0)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
398
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
406
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
407
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
409
if (errno != 0)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
412
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
420
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
421
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
423
if (errno != 0)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
426
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
434
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
435
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
437
if (errno != 0)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
440
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
460
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
461
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
463
if (errno != 0)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
466
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
474
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
475
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
477
if (errno != 0)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
480
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
487
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
619
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
621
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
636
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
638
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
680
syslog(LOG_ERR, "malloc failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
733
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
734
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
736
if (errno != 0 || (v / 1000) > 9) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
738
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
741
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
758
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
759
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
761
if (errno != 0 || (v / 1000) > 9) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
763
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
766
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
786
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
787
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
789
if (errno != 0 || (v / 1000) > 9) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
790
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
794
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
808
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
809
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
811
if (errno != 0 || (v / 1000) > 9) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
812
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
816
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
825
syslog(LOG_ERR, "malloc failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
891
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
892
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
895
if (v > SNMP_MAX_BRIDGE_PRIORITY || errno != 0 || *endptr != '.') {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
896
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
909
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
910
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
912
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
927
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
928
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
930
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
950
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
951
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
954
if (v > SNMP_MAX_BRIDGE_PRIORITY || errno != 0 || *endptr != '.') {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
955
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
988
syslog(LOG_ERR, "malloc failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1023
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1024
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1027
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1029
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1032
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1103
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1104
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1107
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1109
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1112
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1126
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1127
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1131
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1133
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1136
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1350
syslog(LOG_ERR, "malloc() failed: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1657
syslog(LOG_ERR, "malloc failed - %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
2002
fprintf(stdout, "calloc: %s", strerror(errno));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
454
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
455
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
461
if ((val = strtoul(dptr, NULL, 16)) > 0xFF || errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
462
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
664
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
665
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
667
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
669
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
672
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
679
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
680
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
682
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
684
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
687
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
803
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
804
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
807
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
809
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
814
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
826
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
827
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
830
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
832
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
837
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
849
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
850
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
853
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
855
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
871
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
875
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
900
saved_errno = errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
901
errno = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
904
if (errno != 0) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
906
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
912
errno = saved_errno;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
917
errno = saved_errno;
usr.sbin/btxld/btxld.c
520
errno = 0;
usr.sbin/btxld/btxld.c
522
if (errno || !*arg || *s || x > MAXU32)
usr.sbin/btxld/btxld.c
536
errno = 0;
usr.sbin/btxld/btxld.c
538
if (errno || !*arg || *s || x < 0 || x > hi)
usr.sbin/cdcontrol/cdcontrol.c
1291
if (fd < 0 && errno == ENOENT)
usr.sbin/cdcontrol/cdcontrol.c
1296
if (errno == ENXIO) {
usr.sbin/cdcontrol/cdcontrol.c
451
errno = 0;
usr.sbin/certctl/certctl.c
392
errno = ENOTDIR;
usr.sbin/certctl/certctl.c
533
int serrno = errno;
usr.sbin/certctl/certctl.c
535
errno = serrno;
usr.sbin/certctl/certctl.c
600
int serrno = errno;
usr.sbin/certctl/certctl.c
602
errno = serrno;
usr.sbin/certctl/certctl.c
978
if (errno != ENOMEM)
usr.sbin/chkgrp/chkgrp.c
173
errno = 0;
usr.sbin/chkgrp/chkgrp.c
175
if (errno != 0) {
usr.sbin/chown/chown.c
165
for (rval = 0; errno = 0, (p = fts_read(ftsp)) != NULL;) {
usr.sbin/chown/chown.c
206
if (errno)
usr.sbin/chown/chown.c
238
errno = 0;
usr.sbin/chown/chown.c
241
if (errno || *ep != '\0' || val > UID_MAX)
usr.sbin/chown/chown.c
255
if (errno != EPERM || (uid != (uid_t)-1 &&
usr.sbin/chroot/chroot.c
177
if (errno == EPERM && !nonprivileged && geteuid() != 0)
usr.sbin/chroot/chroot.c
66
errno = 0;
usr.sbin/chroot/chroot.c
68
if (errno == 0 && *endp == '\0' && gid <= GID_MAX)
usr.sbin/chroot/chroot.c
85
errno = 0;
usr.sbin/chroot/chroot.c
87
if (errno == 0 && *endp == '\0' && uid <= UID_MAX)
usr.sbin/ckdist/ckdist.c
149
while (errno = 0, (f = fts_read(ftsp)) != NULL)
usr.sbin/ckdist/ckdist.c
171
if (errno)
usr.sbin/ckdist/ckdist.c
252
if (opt_ignore && error == E_ERRNO && errno == ENOENT)
usr.sbin/ckdist/ckdist.c
307
if (opt_ignore && error == E_ERRNO && errno == ENOENT)
usr.sbin/ckdist/ckdist.c
342
printf("%s: %s: %s\n", path, name, sys_errlist[errno]);
usr.sbin/ckdist/ckdist.c
432
warnx("%s: %s", path, msg ? msg : sys_errlist[errno]);
usr.sbin/cpucontrol/cpucontrol.c
122
errno = 0;
usr.sbin/cpucontrol/cpucontrol.c
124
if (*str == '\0' || errno == ERANGE || val > UINT32_MAX) {
usr.sbin/cpucontrol/intel.c
258
error = errno;
usr.sbin/cpucontrol/intel.c
260
errno = error;
usr.sbin/cpucontrol/via.c
183
error = errno;
usr.sbin/cpucontrol/via.c
185
errno = error;
usr.sbin/cron/cron/cron.c
435
if (rval == 0 || errno != EINTR)
usr.sbin/cron/cron/cron.c
81
if (errno == EEXIST) {
usr.sbin/cron/cron/cron.c
87
strerror(errno));
usr.sbin/cron/cron/do_command.c
789
while ((pid = waitpid(childpid, &waiter, 0)) < 0 && errno == EINTR)
usr.sbin/cron/cron/do_command.c
791
while ((pid = wait4(childpid, &waiter, 0, NULL)) < 0 && errno == EINTR)
usr.sbin/cron/cron/user.c
70
errno = ENOMEM;
usr.sbin/cron/cron/user.c
75
errno = ENOMEM;
usr.sbin/cron/crontab/crontab.c
257
if (errno == ENOENT)
usr.sbin/cron/crontab/crontab.c
288
if (errno == ENOENT)
usr.sbin/cron/crontab/crontab.c
321
if (errno != ENOENT)
usr.sbin/cron/lib/env.c
103
errno = ENOMEM;
usr.sbin/cron/lib/env.c
118
errno = ENOMEM;
usr.sbin/cron/lib/env.c
124
errno = ENOMEM;
usr.sbin/cron/lib/env.c
60
errno = ENOMEM;
usr.sbin/cron/lib/env.c
68
errno = ENOMEM;
usr.sbin/cron/lib/misc.c
188
if (stat(CRONDIR, &sb) < OK && errno == ENOENT) {
usr.sbin/cron/lib/misc.c
204
if (stat(SPOOL_DIR, &sb) < OK && errno == ENOENT) {
usr.sbin/cron/lib/misc.c
343
if ((allow = fopen(ALLOW_FILE, "r")) == NULL && errno != ENOENT)
usr.sbin/cron/lib/misc.c
345
if ((deny = fopen(DENY_FILE, "r")) == NULL && errno != ENOENT)
usr.sbin/crunch/crunchide/exec_elf32.c
106
rv == -1 ? strerror(errno) : "short read");
usr.sbin/crunch/crunchide/exec_elf32.c
123
rv == -1 ? strerror(errno) : "short write");
usr.sbin/ctladm/ctladm.c
4467
if (fd == -1 && errno == ENOENT) {
usr.sbin/ctladm/ctladm.c
4468
saved_errno = errno;
usr.sbin/ctladm/ctladm.c
4470
if (retval != -1 || errno == EEXIST)
usr.sbin/ctladm/ctladm.c
4473
errno = saved_errno;
usr.sbin/ctladm/ctladm.c
4477
argv[0], device, strerror(errno));
usr.sbin/ctld/ctld.cc
139
if (errno == EEXIST)
usr.sbin/ctld/ctld.cc
2420
if (errno == EINTR)
usr.sbin/ctld/ctld.cc
2435
if (errno == ECONNABORTED)
usr.sbin/ctld/iscsi.cc
247
saved_errno = errno;
usr.sbin/ctld/iscsi.cc
250
errno = saved_errno;
usr.sbin/ctld/kernel.cc
101
errno = saved_errno;
usr.sbin/ctld/kernel.cc
86
if (ctl_fd < 0 && errno == ENOENT) {
usr.sbin/ctld/kernel.cc
87
saved_errno = errno;
usr.sbin/ctld/kernel.cc
92
errno = saved_errno;
usr.sbin/ctld/kernel.cc
98
saved_errno = errno;
usr.sbin/ctld/nvmf.cc
311
saved_errno = errno;
usr.sbin/ctld/nvmf.cc
320
errno = saved_errno;
usr.sbin/cxgbetool/cxgbetool.c
152
return (errno);
usr.sbin/cxgbetool/cxgbetool.c
2190
return (errno);
usr.sbin/cxgbetool/cxgbetool.c
2196
return (errno);
usr.sbin/cxgbetool/cxgbetool.c
2204
return (errno);
usr.sbin/cxgbetool/cxgbetool.c
2218
return (errno);
usr.sbin/cxgbetool/cxgbetool.c
2298
rc = errno;
usr.sbin/cxgbetool/cxgbetool.c
2320
return (errno);
usr.sbin/cxgbetool/cxgbetool.c
3387
return (errno);
usr.sbin/cxgbetool/cxgbetool.c
3582
return (errno);
usr.sbin/cxgbetool/cxgbetool.c
3633
rc = errno;
usr.sbin/cxgbetool/cxgbetool.c
3690
return (errno);
usr.sbin/cxgbetool/cxgbetool.c
3698
return (errno);
usr.sbin/cxgbetool/cxgbetool.c
3823
rc = errno; /* errno from fgets */
usr.sbin/daemon/daemon.c
464
if (errno == EINTR)
usr.sbin/daemon/daemon.c
572
if (errno != EINTR) {
usr.sbin/daemon/daemon.c
627
if (errno == EEXIST) {
usr.sbin/daemon/daemon.c
638
serrno = errno;
usr.sbin/daemon/daemon.c
640
errno = serrno;
usr.sbin/daemon/daemon.c
641
if (errno == EEXIST) {
usr.sbin/daemon/daemon.c
728
if (errno == EINTR) {
usr.sbin/daemon/daemon.c
875
if (who == -1 && errno != EINTR) {
usr.sbin/dconschat/dconschat.c
447
if (errno == ETIMEDOUT)
usr.sbin/dconschat/dconschat.c
531
if (errno == ETIMEDOUT)
usr.sbin/dconschat/dconschat.c
569
if (errno == ETIMEDOUT)
usr.sbin/dconschat/dconschat.c
596
if (errno == ETIMEDOUT)
usr.sbin/devinfo/devinfo.c
404
errno = rv;
usr.sbin/diskinfo/diskinfo.c
151
if (fd < 0 && errno == ENOENT && *argv[i] != '/') {
usr.sbin/diskinfo/diskinfo.c
713
if (errno == ENOTSUP)
usr.sbin/edquota/edquota.c
373
if (errno != EOPNOTSUPP)
usr.sbin/edquota/edquota.c
426
if (errno == EPROCLIM) {
usr.sbin/edquota/edquota.c
430
if (errno == EAGAIN) {
usr.sbin/efibootmgr/efibootmgr.c
1106
if (errno == EACCES && geteuid() != 0)
usr.sbin/efibootmgr/efibootmgr.c
381
if (new_data[i] == 0 && errno == EINVAL) {
usr.sbin/efibootmgr/efibootmgr.c
441
if (errno == ENOENT) { /* create it and set this bootvar to active */
usr.sbin/efidp/efidp.c
150
errno = rv;
usr.sbin/efidp/efidp.c
181
errno = rv;
usr.sbin/fdformat/fdformat.c
205
if (stat(argv[optind], &sb) == -1 && errno == ENOENT) {
usr.sbin/fdformat/fdformat.c
321
if (errs < MAXPRINTERRS && errno == EIO) {
usr.sbin/fdread/fdread.c
215
if (errno != EIO) {
usr.sbin/fdread/fdread.c
321
if (errno != EIO) {
usr.sbin/fifolog/lib/fifolog_create.c
109
i = errno;
usr.sbin/fifolog/lib/fifolog_create.c
111
errno = i;
usr.sbin/fifolog/lib/fifolog_create.c
116
i = errno;
usr.sbin/fifolog/lib/fifolog_create.c
118
errno = i;
usr.sbin/fifolog/lib/fifolog_int.c
146
e = errno;
usr.sbin/fifolog/lib/fifolog_int.c
156
errno = e;
usr.sbin/fifolog/lib/fifolog_int.c
68
if (i != 0 && errno != ENOTTY)
usr.sbin/fifolog/lib/fifolog_int.c
82
if (i < 0 && errno != ENOTTY)
usr.sbin/fifolog/lib/fifolog_int.c
96
errno = 0;
usr.sbin/fwcontrol/fwdv.c
138
if (errno == EAGAIN) {
usr.sbin/fwcontrol/fwdv.c
153
if (errno == EAGAIN) {
usr.sbin/fwcontrol/fwdv.c
400
if (errno == EAGAIN) {
usr.sbin/fwcontrol/fwmpegts.c
193
if (errno == EAGAIN) {
usr.sbin/gstat/gstat.c
147
if (p == optarg || errno == EINVAL ||
usr.sbin/gstat/gstat.c
148
errno == ERANGE) {
usr.sbin/i2c/i2c.c
104
strerror(errno));
usr.sbin/i2c/i2c.c
116
strerror(errno));
usr.sbin/i2c/i2c.c
128
strerror(errno));
usr.sbin/i2c/i2c.c
140
strerror(errno));
usr.sbin/i2c/i2c.c
154
strerror(errno));
usr.sbin/i2c/i2c.c
246
if (errno == ENODEV || errno == EOPNOTSUPP)
usr.sbin/i2c/i2c.c
587
if (bus == 0 && errno == EINVAL) {
usr.sbin/i2c/i2c.c
593
if (i2c_opt.addr == 0 && errno == EINVAL) {
usr.sbin/i2c/i2c.c
622
if (offset == 0 && errno == EINVAL) {
usr.sbin/i2c/i2c.c
636
if (i2c_opt.count == 0 && errno == EINVAL) {
usr.sbin/i2c/i2c.c
673
devbuf, strerror(errno));
usr.sbin/i2c/i2c.c
801
if (i2c_opt.addr == 0 && errno == EINVAL)
usr.sbin/i2c/i2c.c
812
if (i2c_opt.count == 0 && errno == EINVAL)
usr.sbin/i2c/i2c.c
841
if (i2c_opt.off == 0 && errno == EINVAL)
usr.sbin/i2c/i2c.c
882
dev, strerror(errno));
usr.sbin/i2c/i2c.c
92
strerror(errno));
usr.sbin/ifmcstat/ifmcstat.c
329
if (errno != ENOMEM || ++ntry >= MAX_SYSCTL_TRY) {
usr.sbin/ifmcstat/ifmcstat.c
433
if (errno != ENOMEM || ++ntry >= MAX_SYSCTL_TRY) {
usr.sbin/inetd/builtins.c
260
if (ret == 0 || errno != EINTR)
usr.sbin/inetd/builtins.c
545
getcredfail = errno;
usr.sbin/inetd/builtins.c
555
getcredfail = errno;
usr.sbin/inetd/builtins.c
570
errno = 0;
usr.sbin/inetd/builtins.c
573
iderror(lport, fport, s, errno == 0 ? ID_NOUSER : ID_UNKNOWN);
usr.sbin/inetd/inetd.c
408
syslog(LOG_ERR, "%s", strerror(errno));
usr.sbin/inetd/inetd.c
468
if (errno == EEXIST) {
usr.sbin/inetd/inetd.c
497
syslog(LOG_WARNING, "madvise() failed: %s", strerror(errno));
usr.sbin/inetd/inetd.c
569
if (n < 0 && errno != EINTR) {
usr.sbin/inetd/inetd.c
623
if (errno != EINTR)
usr.sbin/iostat/iostat.c
703
if (status == -1 && errno == EINTR)
usr.sbin/iovctl/iovctl.c
76
errno = arg.error;
usr.sbin/ipfwpcap/ipfwpcap.c
230
if (errno == EINTR) continue;
usr.sbin/ipfwpcap/ipfwpcap.c
251
if (nr < 0 && errno != EINTR) {
usr.sbin/iscsid/iscsid.c
277
fail(&conn->conn, strerror(errno));
usr.sbin/iscsid/iscsid.c
299
fail(&conn->conn, strerror(errno));
usr.sbin/iscsid/iscsid.c
384
fail(&conn->conn, strerror(errno));
usr.sbin/iscsid/iscsid.c
392
fail(&conn->conn, strerror(errno));
usr.sbin/iscsid/iscsid.c
493
saved_errno = errno;
usr.sbin/iscsid/iscsid.c
503
errno = saved_errno;
usr.sbin/iscsid/iscsid.c
731
if (errno == EEXIST)
usr.sbin/iscsid/iscsid.c
739
if (iscsi_fd < 0 && errno == ENOENT) {
usr.sbin/iscsid/iscsid.c
740
saved_errno = errno;
usr.sbin/iscsid/iscsid.c
745
errno = saved_errno;
usr.sbin/iscsid/iscsid.c
768
if (errno == EINTR) {
usr.sbin/jail/command.c
1038
if (errno == ENOENT && isfile && !p)
usr.sbin/jail/command.c
1041
strerror(errno));
usr.sbin/jail/command.c
1056
strerror(errno));
usr.sbin/jail/command.c
1061
strerror(errno));
usr.sbin/jail/command.c
260
if (errno != EINTR)
usr.sbin/jail/command.c
315
if (jail_remove(j->jid) < 0 && errno == EPERM) {
usr.sbin/jail/command.c
317
strerror(errno));
usr.sbin/jail/command.c
706
jail_warnx(j, "open %s: %s", conslog, strerror(errno));
usr.sbin/jail/command.c
753
jail_warnx(j, "chdir %s: %s", path, strerror(errno));
usr.sbin/jail/command.c
758
jail_warnx(j, "setfib: %s", strerror(errno));
usr.sbin/jail/command.c
775
jail_warnx(j, "jail_attach: %s", strerror(errno));
usr.sbin/jail/command.c
792
strerror(errno));
usr.sbin/jail/command.c
799
strerror(errno));
usr.sbin/jail/command.c
809
pwd->pw_dir, strerror(errno));
usr.sbin/jail/command.c
824
jail_warnx(j, "exec.consolelog: %s", strerror(errno));
usr.sbin/jail/command.c
829
jail_warnx(j, "exec %s: %s", argv[0], strerror(errno));
usr.sbin/jail/command.c
847
if (errno == ESRCH)
usr.sbin/jail/command.c
976
errno = 0;
usr.sbin/jail/command.c
979
if (errno)
usr.sbin/jail/command.c
981
username ? username : "", strerror(errno));
usr.sbin/jail/command.c
991
strerror(errno));
usr.sbin/jail/command.c
997
strerror(errno));
usr.sbin/jail/config.c
729
s->s, strerror(errno));
usr.sbin/jail/jail.c
686
jail_warnx(j, "path %s: %s", path, strerror(errno));
usr.sbin/jail/jail.c
750
jid < 0 ? strerror(errno) : "");
usr.sbin/jail/jail.c
944
printf(": %s", strerror(errno));
usr.sbin/jexec/jexec.c
184
errno = 0;
usr.sbin/jexec/jexec.c
188
if (errno)
usr.sbin/jexec/jexec.c
197
if (errno)
usr.sbin/jls/jls.c
286
if (errno != 0 && errno != ENOENT)
usr.sbin/kldxref/kldxref.c
126
return (fwrite(recbuf, recpos, 1, fxref) != 1 ? errno : 0);
usr.sbin/kldxref/kldxref.c
724
errno = ENAMETOOLONG;
usr.sbin/kldxref/kldxref.c
800
errno = ENOTDIR;
usr.sbin/lpr/chkprintcap/chkprintcap.c
134
errno = 0;
usr.sbin/lpr/chkprintcap/chkprintcap.c
136
if (errno == ENOENT && makedirs) {
usr.sbin/lpr/chkprintcap/skimprintcap.c
100
errno = 0;
usr.sbin/lpr/chkprintcap/skimprintcap.c
247
if (errno != 0) {
usr.sbin/lpr/common_source/common.c
340
errsav = errno;
usr.sbin/lpr/common_source/common.c
402
errsav = errno;
usr.sbin/lpr/common_source/common.c
424
errsav = errno;
usr.sbin/lpr/common_source/ctlinfo.c
283
ptrname, cfname, strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
454
cfname2, strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
489
strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
497
strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
688
strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
698
strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
878
errno = 0;
usr.sbin/lpr/common_source/ctlinfo.c
881
if (errno != 0)
usr.sbin/lpr/common_source/ctlinfo.c
884
strerror(errno));
usr.sbin/lpr/common_source/displayq.c
118
strerror(errno));
usr.sbin/lpr/common_source/matchjobs.c
300
errno = 0;
usr.sbin/lpr/common_source/matchjobs.c
302
if (errno != 0) /* error in conversion */
usr.sbin/lpr/common_source/matchjobs.c
313
errno = 0;
usr.sbin/lpr/common_source/matchjobs.c
315
if (errno != 0) /* error in conversion */
usr.sbin/lpr/common_source/net.c
118
if (errno != EAGAIN) {
usr.sbin/lpr/common_source/net.c
135
error = errno;
usr.sbin/lpr/common_source/net.c
137
errno = error;
usr.sbin/lpr/common_source/net.c
144
if (errno == EADDRINUSE) {
usr.sbin/lpr/common_source/net.c
148
if (errno == ECONNREFUSED)
usr.sbin/lpr/common_source/net.c
185
int ncommonaddrs, errno;
usr.sbin/lpr/common_source/net.c
205
if ((errno = getaddrinfo(lclhost, NULL, &hints, &local_res)) != 0) {
usr.sbin/lpr/common_source/net.c
208
lclhost, gai_strerror(errno));
usr.sbin/lpr/common_source/net.c
217
if ((errno = getaddrinfo(pp->remote_host, NULL,
usr.sbin/lpr/common_source/net.c
221
pp->remote_host, gai_strerror(errno));
usr.sbin/lpr/common_source/printcap.c
302
return strerror(errno);
usr.sbin/lpr/common_source/rmjob.c
154
if (errno == EACCES)
usr.sbin/lpr/common_source/rmjob.c
155
fatal(pp, "%s: %s", slockf, strerror(errno));
usr.sbin/lpr/common_source/rmjob.c
165
if (kill(cur_daemon, 0) < 0 && errno != EPERM) {
usr.sbin/lpr/lpc/cmds.c
282
errsav = errno;
usr.sbin/lpr/lpc/cmds.c
323
errsav = errno;
usr.sbin/lpr/lpc/cmds.c
328
} else if (errno == ESRCH) {
usr.sbin/lpr/lpc/cmds.c
372
printf("\tcannot create status file: %s\n", strerror(errno));
usr.sbin/lpr/lpc/cmds.c
788
printf("\t %s\n", strerror(errno));
usr.sbin/lpr/lpc/cmds.c
812
printf("\t %s\n", strerror(errno));
usr.sbin/lpr/lpd/lpd.c
286
if (errno == EWOULDBLOCK) /* active daemon present */
usr.sbin/lpr/lpd/lpd.c
368
if (nfds < 0 && errno != EINTR)
usr.sbin/lpr/lpd/lpd.c
389
if (errno != EINTR)
usr.sbin/lpr/lpd/printjob.c
1652
errno = 0;
usr.sbin/lpr/lpd/printjob.c
1851
if (pfd < 0 && errno == ECONNREFUSED)
usr.sbin/lpr/lpd/printjob.c
1890
if (errno == ENOENT) {
usr.sbin/lpr/lpd/printjob.c
196
if (errno == EWOULDBLOCK) /* active daemon present */
usr.sbin/lpr/lpd/recvjob.c
115
strerror(errno));
usr.sbin/lpr/lpd/recvjob.c
124
strerror(errno));
usr.sbin/lpr/lpd/recvjob.c
327
pp->printer, f0, file + 1, strerror(errno));
usr.sbin/lpr/lpd/recvjob.c
333
if (rlen < 0 && errno == EINTR)
usr.sbin/lpr/lpd/recvjob.c
342
if (wlen < 0 && errno == EINTR)
usr.sbin/mailwrapper/mailwrapper.c
114
int serrno = errno;
usr.sbin/mailwrapper/mailwrapper.c
128
errno = serrno;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
223
if (eptr == value || *eptr != '\0' || errno != ERANGE) {
usr.sbin/makefs/ffs.c
1047
errno = ffs_balloc(&in, offset, chunk, &bp);
usr.sbin/makefs/ffs.c
1049
if (errno != 0)
usr.sbin/makefs/ffs.c
1057
errno = bwrite(bp);
usr.sbin/makefs/ffs.c
1058
if (errno != 0)
usr.sbin/makefs/ffs/buf.c
139
return (errno);
usr.sbin/makefs/ffs/buf.c
142
e = errno;
usr.sbin/makefs/makefs.c
489
errno = 0;
usr.sbin/makefs/makefs.c
491
if (b == eb || *eb || errno)
usr.sbin/makefs/msdos/msdosfs_vfsops.c
338
errno = error;
usr.sbin/makefs/msdos/msdosfs_vfsops.c
349
errno = error;
usr.sbin/makefs/msdos/msdosfs_vnops.c
407
errno = error;
usr.sbin/makefs/msdos/msdosfs_vnops.c
462
error = errno;
usr.sbin/makefs/msdos/msdosfs_vnops.c
469
error = errno;
usr.sbin/makefs/msdos/msdosfs_vnops.c
637
errno = error;
usr.sbin/makefs/mtree.c
1087
error = ferror(fp) ? errno : -1;
usr.sbin/makefs/mtree.c
169
errno = ENOMEM;
usr.sbin/makefs/mtree.c
181
errno = ENOMEM;
usr.sbin/makefs/mtree.c
198
errno = EINVAL;
usr.sbin/makefs/mtree.c
216
errno = ENOMEM;
usr.sbin/makefs/mtree.c
295
errno = ENOMEM;
usr.sbin/makefs/mtree.c
311
return (ferror(fp) ? errno : -1);
usr.sbin/makefs/mtree.c
326
return (ferror(fp) ? errno : -1);
usr.sbin/makefs/mtree.c
349
error = ferror(fp) ? errno : -1;
usr.sbin/makefs/mtree.c
540
error = errno;
usr.sbin/makefs/mtree.c
574
error = errno;
usr.sbin/makefs/mtree.c
578
error = errno;
usr.sbin/makefs/mtree.c
771
return (errno);
usr.sbin/makefs/mtree.c
987
error = errno;
usr.sbin/mfiutil/mfi_bbu.c
132
error = errno;
usr.sbin/mfiutil/mfi_bbu.c
139
error = errno;
usr.sbin/mfiutil/mfi_bbu.c
169
error = errno;
usr.sbin/mfiutil/mfi_bbu.c
175
error = errno;
usr.sbin/mfiutil/mfi_bbu.c
230
error = errno;
usr.sbin/mfiutil/mfi_cmd.c
176
errno = ENXIO;
usr.sbin/mfiutil/mfi_cmd.c
260
errno = EINVAL;
usr.sbin/mfiutil/mfi_cmd.c
274
errno = EINVAL;
usr.sbin/mfiutil/mfi_cmd.c
299
errno = EIO;
usr.sbin/mfiutil/mfi_config.c
1037
error = errno;
usr.sbin/mfiutil/mfi_config.c
106
error = errno;
usr.sbin/mfiutil/mfi_config.c
1066
error = errno;
usr.sbin/mfiutil/mfi_config.c
1079
error = errno;
usr.sbin/mfiutil/mfi_config.c
108
errno = error;
usr.sbin/mfiutil/mfi_config.c
1094
error = errno;
usr.sbin/mfiutil/mfi_config.c
1215
error = errno;
usr.sbin/mfiutil/mfi_config.c
1222
error = errno;
usr.sbin/mfiutil/mfi_config.c
1252
error = errno;
usr.sbin/mfiutil/mfi_config.c
1260
error = errno;
usr.sbin/mfiutil/mfi_config.c
1275
error = errno;
usr.sbin/mfiutil/mfi_config.c
166
error = errno;
usr.sbin/mfiutil/mfi_config.c
179
error = errno;
usr.sbin/mfiutil/mfi_config.c
205
error = errno;
usr.sbin/mfiutil/mfi_config.c
359
error = errno;
usr.sbin/mfiutil/mfi_config.c
591
error = errno;
usr.sbin/mfiutil/mfi_config.c
717
error = errno;
usr.sbin/mfiutil/mfi_config.c
823
error = errno;
usr.sbin/mfiutil/mfi_config.c
873
error = errno;
usr.sbin/mfiutil/mfi_config.c
886
error = errno;
usr.sbin/mfiutil/mfi_config.c
893
error = errno;
usr.sbin/mfiutil/mfi_config.c
909
error = errno;
usr.sbin/mfiutil/mfi_config.c
941
error = errno;
usr.sbin/mfiutil/mfi_config.c
953
error = errno;
usr.sbin/mfiutil/mfi_config.c
966
error = errno;
usr.sbin/mfiutil/mfi_config.c
973
error = errno;
usr.sbin/mfiutil/mfi_drive.c
194
error = errno;
usr.sbin/mfiutil/mfi_drive.c
381
error = errno;
usr.sbin/mfiutil/mfi_drive.c
394
error = errno;
usr.sbin/mfiutil/mfi_drive.c
412
error = errno;
usr.sbin/mfiutil/mfi_drive.c
496
error = errno;
usr.sbin/mfiutil/mfi_drive.c
509
error = errno;
usr.sbin/mfiutil/mfi_drive.c
526
error = errno;
usr.sbin/mfiutil/mfi_drive.c
553
error = errno;
usr.sbin/mfiutil/mfi_drive.c
566
error = errno;
usr.sbin/mfiutil/mfi_drive.c
583
error = errno;
usr.sbin/mfiutil/mfi_drive.c
609
error = errno;
usr.sbin/mfiutil/mfi_drive.c
622
error = errno;
usr.sbin/mfiutil/mfi_drive.c
675
error = errno;
usr.sbin/mfiutil/mfi_drive.c
688
error = errno;
usr.sbin/mfiutil/mfi_drive.c
696
error = errno;
usr.sbin/mfiutil/mfi_drive.c
735
error = errno;
usr.sbin/mfiutil/mfi_drive.c
751
error = errno;
usr.sbin/mfiutil/mfi_evt.c
133
errno = EINVAL;
usr.sbin/mfiutil/mfi_evt.c
185
errno = EINVAL;
usr.sbin/mfiutil/mfi_evt.c
228
errno = EINVAL;
usr.sbin/mfiutil/mfi_evt.c
550
error = errno;
usr.sbin/mfiutil/mfi_evt.c
556
error = errno;
usr.sbin/mfiutil/mfi_evt.c
577
error = errno;
usr.sbin/mfiutil/mfi_evt.c
585
error = errno;
usr.sbin/mfiutil/mfi_evt.c
629
error = errno;
usr.sbin/mfiutil/mfi_evt.c
635
error = errno;
usr.sbin/mfiutil/mfi_evt.c
652
error = errno;
usr.sbin/mfiutil/mfi_evt.c
80
error = errno;
usr.sbin/mfiutil/mfi_evt.c
86
error = errno;
usr.sbin/mfiutil/mfi_flash.c
104
error = errno;
usr.sbin/mfiutil/mfi_flash.c
113
error = errno;
usr.sbin/mfiutil/mfi_flash.c
125
error = errno;
usr.sbin/mfiutil/mfi_flash.c
134
error = errno;
usr.sbin/mfiutil/mfi_flash.c
168
error = errno;
usr.sbin/mfiutil/mfi_flash.c
189
error = errno;
usr.sbin/mfiutil/mfi_flash.c
54
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
120
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
225
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
232
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
297
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
304
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
349
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
51
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
69
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
89
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
96
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
132
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
158
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
170
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
202
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
209
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
228
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
235
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
298
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
326
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
70
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
92
error = errno;
usr.sbin/mfiutil/mfi_properties.c
100
error = errno;
usr.sbin/mfiutil/mfi_properties.c
108
error = errno;
usr.sbin/mfiutil/mfi_properties.c
133
error = errno;
usr.sbin/mfiutil/mfi_properties.c
140
error = errno;
usr.sbin/mfiutil/mfi_properties.c
152
error = errno;
usr.sbin/mfiutil/mfi_properties.c
160
error = errno;
usr.sbin/mfiutil/mfi_properties.c
81
error = errno;
usr.sbin/mfiutil/mfi_properties.c
88
error = errno;
usr.sbin/mfiutil/mfi_show.c
158
error = errno;
usr.sbin/mfiutil/mfi_show.c
165
error = errno;
usr.sbin/mfiutil/mfi_show.c
179
error = errno;
usr.sbin/mfiutil/mfi_show.c
187
error = errno;
usr.sbin/mfiutil/mfi_show.c
194
error = errno;
usr.sbin/mfiutil/mfi_show.c
362
error = errno;
usr.sbin/mfiutil/mfi_show.c
369
error = errno;
usr.sbin/mfiutil/mfi_show.c
463
error = errno;
usr.sbin/mfiutil/mfi_show.c
470
error = errno;
usr.sbin/mfiutil/mfi_show.c
495
error = errno;
usr.sbin/mfiutil/mfi_show.c
546
error = errno;
usr.sbin/mfiutil/mfi_show.c
553
error = errno;
usr.sbin/mfiutil/mfi_show.c
566
error = errno;
usr.sbin/mfiutil/mfi_show.c
589
error = errno;
usr.sbin/mfiutil/mfi_show.c
626
error = errno;
usr.sbin/mfiutil/mfi_show.c
632
error = errno;
usr.sbin/mfiutil/mfi_show.c
686
error = errno;
usr.sbin/mfiutil/mfi_show.c
69
error = errno;
usr.sbin/mfiutil/mfi_show.c
692
error = errno;
usr.sbin/mfiutil/mfi_show.c
698
error = errno;
usr.sbin/mfiutil/mfi_show.c
708
error = errno;
usr.sbin/mfiutil/mfi_show.c
747
error = errno;
usr.sbin/mfiutil/mfi_show.c
75
error = errno;
usr.sbin/mfiutil/mfi_volume.c
161
error = errno;
usr.sbin/mfiutil/mfi_volume.c
300
error = errno;
usr.sbin/mfiutil/mfi_volume.c
306
error = errno;
usr.sbin/mfiutil/mfi_volume.c
313
error = errno;
usr.sbin/mfiutil/mfi_volume.c
409
error = errno;
usr.sbin/mfiutil/mfi_volume.c
415
error = errno;
usr.sbin/mfiutil/mfi_volume.c
422
error = errno;
usr.sbin/mfiutil/mfi_volume.c
433
error = errno;
usr.sbin/mfiutil/mfi_volume.c
460
error = errno;
usr.sbin/mfiutil/mfi_volume.c
466
error = errno;
usr.sbin/mfiutil/mfi_volume.c
474
error = errno;
usr.sbin/mixer/mixer.c
71
errno = 0;
usr.sbin/mixer/mixer.c
73
if (errno == EINVAL || errno == ERANGE)
usr.sbin/mlx5tool/mlx5tool.c
109
if (errno == ENOENT)
usr.sbin/mountd/mountd.c
1281
bad = errno;
usr.sbin/mountd/mountd.c
2013
errno != ENOENT)
usr.sbin/mountd/mountd.c
2497
if (nmount(iov, iovlen, fsp->f_flags) < 0 && errno != ENOENT &&
usr.sbin/mountd/mountd.c
2498
errno != ENOTSUP && errno != EXDEV) {
usr.sbin/mountd/mountd.c
3354
if (errno == EPERM) {
usr.sbin/mountd/mountd.c
3366
if (errno == EINVAL)
usr.sbin/mountd/mountd.c
3755
if (errno == ENOENT)
usr.sbin/mountd/mountd.c
3910
path, strerror(errno));
usr.sbin/mountd/mountd.c
3968
strerror(errno));
usr.sbin/mountd/mountd.c
442
if (errno == EEXIST)
usr.sbin/mountd/mountd.c
594
errno != ENOENT) {
usr.sbin/mountd/mountd.c
676
errno = EADDRINUSE;
usr.sbin/mountd/mountd.c
789
if (errno == EINTR) {
usr.sbin/mountd/mountd.c
872
if (errno == EAFNOSUPPORT &&
usr.sbin/mountd/mountd.c
998
if (errno == EADDRINUSE && mallocd_svcport != 0) {
usr.sbin/moused/moused/moused.c
1021
if (errno == EWOULDBLOCK)
usr.sbin/moused/moused/moused.c
1410
return (errno);
usr.sbin/moused/moused/moused.c
1418
return (errno);
usr.sbin/moused/moused/moused.c
142
log_or_warn(LOG_DAEMON | LOG_ERR, errno, __VA_ARGS__); \
usr.sbin/moused/moused/moused.c
1434
return (errno);
usr.sbin/moused/moused/moused.c
1438
return (errno);
usr.sbin/moused/moused/moused.c
1447
return (errno);
usr.sbin/moused/moused/moused.c
152
log_or_warn(LOG_DAEMON | LOG_WARNING, errno, __VA_ARGS__)
usr.sbin/moused/moused/moused.c
1874
errno = ENOTSUP;
usr.sbin/moused/moused/moused.c
1886
errno = ENXIO;
usr.sbin/moused/moused/moused.c
1894
errno = ENOTSUP;
usr.sbin/moused/moused/moused.c
1903
errno = ENXIO;
usr.sbin/moused/moused/moused.c
1927
errno = err;
usr.sbin/moused/moused/moused.c
1941
errno = EPERM;
usr.sbin/moused/moused/moused.c
1952
err = errno;
usr.sbin/moused/moused/moused.c
1975
errno = err;
usr.sbin/moused/moused/moused.c
545
errno = 0;
usr.sbin/moused/moused/moused.c
547
if ((ul == 0 && errno != 0) ||
usr.sbin/moused/moused/moused.c
711
errno = 0;
usr.sbin/moused/moused/moused.c
713
if ((ul == 0 && errno != 0) || ul > INT_MAX) {
usr.sbin/moused/moused/moused.c
745
errno = 0;
usr.sbin/moused/moused/moused.c
747
if ((ul == 0 && errno != 0) || ul > INT_MAX) {
usr.sbin/moused/moused/moused.c
825
if (errno == EEXIST)
usr.sbin/moused/moused/moused.c
830
int saved_errno = errno;
usr.sbin/moused/moused/moused.c
832
errno = saved_errno;
usr.sbin/moused/moused/quirks.c
1215
if (errno == ENOENT)
usr.sbin/moused/moused/util.h
235
errno = 0;
usr.sbin/moused/moused/util.h
237
if (errno > 0)
usr.sbin/moused/moused/util.h
268
errno = 0;
usr.sbin/moused/moused/util.h
270
if (errno > 0)
usr.sbin/moused/moused/util.h
323
errno = 0;
usr.sbin/moused/moused/util.h
328
errno = 0;
usr.sbin/moused/moused/util.h
331
if (errno > 0)
usr.sbin/moused/msconvd/msconvd.c
103
log_or_warn(LOG_DAEMON | LOG_ERR, errno, __VA_ARGS__); \
usr.sbin/moused/msconvd/msconvd.c
113
log_or_warn(LOG_DAEMON | LOG_WARNING, errno, __VA_ARGS__)
usr.sbin/moused/msconvd/msconvd.c
658
if (errno == EEXIST)
usr.sbin/moused/msconvd/msconvd.c
663
int saved_errno = errno;
usr.sbin/moused/msconvd/msconvd.c
665
errno = saved_errno;
usr.sbin/moused/msconvd/msconvd.c
702
if (errno == EWOULDBLOCK)
usr.sbin/mpsutil/mps_cmd.c
269
error = errno;
usr.sbin/mpsutil/mps_cmd.c
297
return (errno);
usr.sbin/mpsutil/mps_cmd.c
320
return (errno);
usr.sbin/mpsutil/mps_cmd.c
349
return (errno);
usr.sbin/mpsutil/mps_cmd.c
377
errno = error;
usr.sbin/mpsutil/mps_cmd.c
393
error = errno;
usr.sbin/mpsutil/mps_cmd.c
395
errno = error;
usr.sbin/mpsutil/mps_cmd.c
406
errno = EIO;
usr.sbin/mpsutil/mps_cmd.c
429
errno = error;
usr.sbin/mpsutil/mps_cmd.c
447
error = errno;
usr.sbin/mpsutil/mps_cmd.c
449
errno = error;
usr.sbin/mpsutil/mps_cmd.c
460
errno = EIO;
usr.sbin/mpsutil/mps_cmd.c
539
return (errno);
usr.sbin/mpsutil/mps_cmd.c
560
errno = error;
usr.sbin/mpsutil/mps_cmd.c
571
error = errno;
usr.sbin/mpsutil/mps_cmd.c
573
errno = error;
usr.sbin/mpsutil/mps_cmd.c
584
errno = EIO;
usr.sbin/mpsutil/mps_cmd.c
614
errno = EIO;
usr.sbin/mpsutil/mps_cmd.c
622
error = errno;
usr.sbin/mpsutil/mps_cmd.c
624
errno = error;
usr.sbin/mpsutil/mps_cmd.c
635
errno = EIO;
usr.sbin/mpsutil/mps_cmd.c
667
return (errno);
usr.sbin/mpsutil/mps_cmd.c
719
return (errno);
usr.sbin/mpsutil/mps_cmd.c
759
errno = ENOMEM;
usr.sbin/mpsutil/mps_cmd.c
780
errno = EINVAL;
usr.sbin/mpsutil/mps_debug.c
82
printf("len= %zd, error= %d errno= %d\n", len, error, errno);
usr.sbin/mpsutil/mps_flash.c
100
error = errno;
usr.sbin/mpsutil/mps_flash.c
151
error = errno;
usr.sbin/mpsutil/mps_flash.c
158
error = errno;
usr.sbin/mpsutil/mps_flash.c
165
error = errno;
usr.sbin/mpsutil/mps_flash.c
174
error = errno;
usr.sbin/mpsutil/mps_flash.c
78
error = errno;
usr.sbin/mpsutil/mps_flash.c
93
error = errno;
usr.sbin/mpsutil/mps_set.c
101
error = errno;
usr.sbin/mpsutil/mps_set.c
107
error = errno;
usr.sbin/mpsutil/mps_set.c
114
errno = EINVAL;
usr.sbin/mpsutil/mps_set.c
56
error = errno;
usr.sbin/mpsutil/mps_set.c
64
error = errno;
usr.sbin/mpsutil/mps_set.c
71
error = errno;
usr.sbin/mpsutil/mps_show.c
107
error = errno;
usr.sbin/mpsutil/mps_show.c
120
return (errno);
usr.sbin/mpsutil/mps_show.c
133
error = errno;
usr.sbin/mpsutil/mps_show.c
144
error = errno;
usr.sbin/mpsutil/mps_show.c
161
error = errno;
usr.sbin/mpsutil/mps_show.c
170
error = errno;
usr.sbin/mpsutil/mps_show.c
181
error = errno;
usr.sbin/mpsutil/mps_show.c
242
error = errno;
usr.sbin/mpsutil/mps_show.c
250
return (errno);
usr.sbin/mpsutil/mps_show.c
330
error = errno;
usr.sbin/mpsutil/mps_show.c
337
error = errno;
usr.sbin/mpsutil/mps_show.c
522
error = errno;
usr.sbin/mpsutil/mps_show.c
531
error = errno;
usr.sbin/mpsutil/mps_show.c
550
error = errno;
usr.sbin/mpsutil/mps_show.c
592
error = errno;
usr.sbin/mpsutil/mps_show.c
643
error = errno;
usr.sbin/mpsutil/mps_show.c
659
error = errno;
usr.sbin/mpsutil/mps_show.c
694
error = errno;
usr.sbin/mpsutil/mps_show.c
710
error = errno;
usr.sbin/mpsutil/mps_show.c
789
error = errno;
usr.sbin/mpsutil/mps_show.c
807
errno = EINVAL;
usr.sbin/mpsutil/mps_show.c
819
error = errno;
usr.sbin/mpsutil/mps_show.c
83
error = errno;
usr.sbin/mpsutil/mps_show.c
90
error = errno;
usr.sbin/mpsutil/mps_slot.c
70
errno = 0;
usr.sbin/mpsutil/mps_slot.c
72
if (*endptr != '\0' || errno != 0 || x < 0 || x > UINT16_MAX) {
usr.sbin/mpsutil/mps_slot.c
78
errno = 0;
usr.sbin/mpsutil/mps_slot.c
80
if (*endptr != '\0' || errno != 0 || x < 0 || x > UINT16_MAX) {
usr.sbin/mpsutil/mps_slot.c
86
errno = 0;
usr.sbin/mpsutil/mps_slot.c
88
if (*endptr != '\0' || errno != 0 || ux > UINT32_MAX) {
usr.sbin/mpsutil/mps_slot.c
96
error = errno;
usr.sbin/mptutil/mpt_cam.c
168
error = errno;
usr.sbin/mptutil/mpt_cam.c
252
error = errno;
usr.sbin/mptutil/mpt_cam.c
283
error = errno;
usr.sbin/mptutil/mpt_cam.c
369
error = errno;
usr.sbin/mptutil/mpt_cam.c
432
error = errno;
usr.sbin/mptutil/mpt_cam.c
483
return (errno);
usr.sbin/mptutil/mpt_cam.c
556
return (errno);
usr.sbin/mptutil/mpt_cam.c
94
error = errno;
usr.sbin/mptutil/mpt_cmd.c
328
return (errno);
usr.sbin/mptutil/mpt_cmd.c
358
return (errno);
usr.sbin/mptutil/mpt_cmd.c
393
errno = EIO;
usr.sbin/mptutil/mpt_cmd.c
401
error = errno;
usr.sbin/mptutil/mpt_cmd.c
403
errno = error;
usr.sbin/mptutil/mpt_cmd.c
413
errno = EIO;
usr.sbin/mptutil/mpt_cmd.c
442
errno = EIO;
usr.sbin/mptutil/mpt_cmd.c
450
error = errno;
usr.sbin/mptutil/mpt_cmd.c
452
errno = error;
usr.sbin/mptutil/mpt_cmd.c
462
errno = EIO;
usr.sbin/mptutil/mpt_cmd.c
481
return (errno);
usr.sbin/mptutil/mpt_cmd.c
518
return (errno);
usr.sbin/mptutil/mpt_config.c
1031
error = errno;
usr.sbin/mptutil/mpt_config.c
1039
return (errno);
usr.sbin/mptutil/mpt_config.c
1053
error = errno;
usr.sbin/mptutil/mpt_config.c
1067
error = errno;
usr.sbin/mptutil/mpt_config.c
1101
error = errno;
usr.sbin/mptutil/mpt_config.c
1113
error = errno;
usr.sbin/mptutil/mpt_config.c
1119
return (errno);
usr.sbin/mptutil/mpt_config.c
112
error = errno;
usr.sbin/mptutil/mpt_config.c
1122
error = errno;
usr.sbin/mptutil/mpt_config.c
1151
error = errno;
usr.sbin/mptutil/mpt_config.c
1158
return (errno);
usr.sbin/mptutil/mpt_config.c
1161
error = errno;
usr.sbin/mptutil/mpt_config.c
1169
error = errno;
usr.sbin/mptutil/mpt_config.c
1175
error = errno;
usr.sbin/mptutil/mpt_config.c
1234
error = errno;
usr.sbin/mptutil/mpt_config.c
1247
error = errno;
usr.sbin/mptutil/mpt_config.c
128
error = errno;
usr.sbin/mptutil/mpt_config.c
239
error = errno;
usr.sbin/mptutil/mpt_config.c
246
error = errno;
usr.sbin/mptutil/mpt_config.c
416
return (errno);
usr.sbin/mptutil/mpt_config.c
423
error = errno;
usr.sbin/mptutil/mpt_config.c
431
return (errno);
usr.sbin/mptutil/mpt_config.c
453
error = errno;
usr.sbin/mptutil/mpt_config.c
465
return (errno);
usr.sbin/mptutil/mpt_config.c
519
errno = error;
usr.sbin/mptutil/mpt_config.c
525
errno = EOPNOTSUPP;
usr.sbin/mptutil/mpt_config.c
639
error = errno;
usr.sbin/mptutil/mpt_config.c
700
error = errno;
usr.sbin/mptutil/mpt_config.c
708
return (errno);
usr.sbin/mptutil/mpt_config.c
749
return (errno);
usr.sbin/mptutil/mpt_config.c
764
errno = error;
usr.sbin/mptutil/mpt_config.c
801
error = errno;
usr.sbin/mptutil/mpt_config.c
815
return (errno);
usr.sbin/mptutil/mpt_config.c
852
return (errno);
usr.sbin/mptutil/mpt_config.c
873
error = errno;
usr.sbin/mptutil/mpt_config.c
882
return (errno);
usr.sbin/mptutil/mpt_config.c
937
error = errno;
usr.sbin/mptutil/mpt_config.c
953
return (errno);
usr.sbin/mptutil/mpt_config.c
967
error = errno;
usr.sbin/mptutil/mpt_config.c
977
return (errno);
usr.sbin/mptutil/mpt_config.c
981
error = errno;
usr.sbin/mptutil/mpt_config.c
993
error = errno;
usr.sbin/mptutil/mpt_drive.c
131
return (errno);
usr.sbin/mptutil/mpt_drive.c
153
error = errno;
usr.sbin/mptutil/mpt_drive.c
155
errno = error;
usr.sbin/mptutil/mpt_drive.c
161
error = errno;
usr.sbin/mptutil/mpt_drive.c
164
errno = error;
usr.sbin/mptutil/mpt_drive.c
170
error = errno;
usr.sbin/mptutil/mpt_drive.c
174
errno = error;
usr.sbin/mptutil/mpt_drive.c
189
error = errno;
usr.sbin/mptutil/mpt_drive.c
191
errno = error;
usr.sbin/mptutil/mpt_drive.c
335
error = errno;
usr.sbin/mptutil/mpt_drive.c
343
return (errno);
usr.sbin/mptutil/mpt_drive.c
347
error = errno;
usr.sbin/mptutil/mpt_drive.c
357
error = errno;
usr.sbin/mptutil/mpt_evt.c
100
error = errno;
usr.sbin/mptutil/mpt_evt.c
107
error = errno;
usr.sbin/mptutil/mpt_show.c
299
error = errno;
usr.sbin/mptutil/mpt_show.c
308
error = errno;
usr.sbin/mptutil/mpt_show.c
315
error = errno;
usr.sbin/mptutil/mpt_show.c
405
error = errno;
usr.sbin/mptutil/mpt_show.c
413
error = errno;
usr.sbin/mptutil/mpt_show.c
493
error = errno;
usr.sbin/mptutil/mpt_show.c
501
error = errno;
usr.sbin/mptutil/mpt_show.c
559
error = errno;
usr.sbin/mptutil/mpt_show.c
90
error = errno;
usr.sbin/mptutil/mpt_show.c
97
error = errno;
usr.sbin/mptutil/mpt_volume.c
117
error = errno;
usr.sbin/mptutil/mpt_volume.c
149
error = errno;
usr.sbin/mptutil/mpt_volume.c
226
error = errno;
usr.sbin/mptutil/mpt_volume.c
241
return (errno);
usr.sbin/mptutil/mpt_volume.c
85
error = errno;
usr.sbin/mptutil/mpt_volume.c
98
error = errno;
usr.sbin/mtest/mtest.c
188
errno = EADDRNOTAVAIL; /* XXX */
usr.sbin/mtest/mtest.c
206
if (s == -1 && errno != EAFNOSUPPORT)
usr.sbin/mtest/mtest.c
211
if (s6 == -1 && errno != EAFNOSUPPORT)
usr.sbin/mtest/mtest.c
333
errno = EINVAL; /* XXX */
usr.sbin/ndp/ndp.c
1043
errno = 0; \
usr.sbin/ndp/ndp.c
1045
if (errno) \
usr.sbin/ndp/ndp.c
946
errno = 0;
usr.sbin/ndp/ndp.c
977
if (errno != ESRCH || cmd != RTM_DELETE) {
usr.sbin/ndp/ndp_netlink.c
54
if (modfind("netlink") == -1 && errno == ENOENT) {
usr.sbin/newsyslog/newsyslog.c
2121
if (errno != ESRCH)
usr.sbin/newsyslog/newsyslog.c
2218
errsav = errno;
usr.sbin/newsyslog/newsyslog.c
2381
if (errno == ENOENT && enforcepid == 0) {
usr.sbin/newsyslog/newsyslog.c
2413
errno = 0;
usr.sbin/newsyslog/newsyslog.c
2764
if (failed && errno != ENOENT)
usr.sbin/newsyslog/newsyslog.c
2873
if (errno != EPERM)
usr.sbin/newsyslog/newsyslog.c
398
while (wait(NULL) > 0 || errno == EINTR)
usr.sbin/nfsd/nfsd.c
1095
if (error < 0 && errno == EAUTH) {
usr.sbin/nfsd/nfsd.c
1107
if (errno == ENXIO) {
usr.sbin/nfsd/nfsd.c
287
if (errno != EPROTONOSUPPORT && errno != EAFNOSUPPORT)
usr.sbin/nfsd/nfsd.c
429
if (errno == EEXIST)
usr.sbin/nfsd/nfsd.c
478
if (errno == EPERM) {
usr.sbin/nfsd/nfsd.c
488
} else if (errno == ENXIO)
usr.sbin/nfsd/nfsd.c
868
error = errno;
usr.sbin/nfsd/nfsd.c
880
error = errno;
usr.sbin/nfsuserd/nfsuserd.c
328
if (errno == EPERM) {
usr.sbin/ngctl/config.c
94
switch (errno) {
usr.sbin/ngctl/main.c
194
errx((errno == EPERM) ? EX_NOPERM : EX_NOHOST,
usr.sbin/ngctl/main.c
197
errx((errno == EPERM) ? EX_NOPERM : EX_OSERR,
usr.sbin/ngctl/main.c
291
if (errno == EINTR) {
usr.sbin/ngctl/main.c
398
if (poll(pfds, 3, INFTIM) < 0 && errno != EINTR)
usr.sbin/ngctl/status.c
77
switch (errno) {
usr.sbin/nscd/nscd.c
240
errno);
usr.sbin/nscd/nscd.c
247
errno);
usr.sbin/nscd/nscd.c
292
if (errno == ENOENT) {
usr.sbin/nscd/nscd.c
299
" is %d", errno);
usr.sbin/nscd/nscd.c
741
if (errno == EEXIST)
usr.sbin/nscd/nscd.c
758
strerror(errno));
usr.sbin/nvram/nvram.c
108
if (res == -1 && errno != EINTR)
usr.sbin/nvram/nvram.c
161
if (res == -1 && errno != EINTR)
usr.sbin/ofwdump/ofw_util.c
112
if (errno == ENOENT)
usr.sbin/ofwdump/ofw_util.c
139
if (errno == ENOENT)
usr.sbin/ofwdump/ofw_util.c
223
} while (rv == -1 && errno == ENOMEM);
usr.sbin/pkg/config.c
503
if (errno != ENOENT)
usr.sbin/pkg/pkg.c
243
if (errno != EINTR)
usr.sbin/pmc/cmd_pmc_filter.cc
214
errx(EX_OSERR, "ERROR: Cannot allocate pmclog parse state: %s\n", strerror(errno));
usr.sbin/pmc/cmd_pmc_filter.cc
232
errx(EX_OSERR, "ERROR: Cannot allocate pmclog parse state: %s\n", strerror(errno));
usr.sbin/pmc/cmd_pmc_filter.cc
246
errx(EX_OSERR, "ERROR: Cannot allocate pmclog parse state: %s\n", strerror(errno));
usr.sbin/pmc/cmd_pmc_filter.cc
350
strerror(errno));
usr.sbin/pmc/cmd_pmc_filter.cc
354
strerror(errno));
usr.sbin/pmc/cmd_pmc_stat.c
415
if (errno != EINTR)
usr.sbin/pmc/cmd_pmc_summary.cc
104
strerror(errno));
usr.sbin/pmc/cmd_pmc_summary.cc
212
strerror(errno));
usr.sbin/pmccontrol/pmccontrol.c
242
if (errno == ENXIO)
usr.sbin/pmcstat/pmcstat.c
1340
if (errno != EINTR)
usr.sbin/pmcstudy/pmcstudy.c
162
} while (pid == -1 && errno == EINTR);
usr.sbin/pmcstudy/pmcstudy.c
2103
printf("First line can't be read from file err:%d\n", errno);
usr.sbin/pmcstudy/pmcstudy.c
2129
printf("No memory err:%d\n", errno);
usr.sbin/pmcstudy/pmcstudy.c
2258
filename, errno);
usr.sbin/pmcstudy/pmcstudy.c
77
errno = EINVAL;
usr.sbin/pnfsdscopymr/pnfsdscopymr.c
295
if (ret < 0 && errno != EEXIST)
usr.sbin/powerd/powerd.c
166
return (errno);
usr.sbin/powerd/powerd.c
170
return (errno);
usr.sbin/powerd/powerd.c
282
if (errno != EPERM)
usr.sbin/powerd/powerd.c
389
if (rlen == 0 || (rlen < 0 && errno != EWOULDBLOCK)) {
usr.sbin/powerd/powerd.c
696
if (errno == EEXIST) {
usr.sbin/ppp/arp.c
118
strerror(errno));
usr.sbin/ppp/arp.c
136
!(!add && errno == ESRCH)) {
usr.sbin/ppp/arp.c
138
add ? "Add" : "Delete", inet_ntoa(addr), strerror(errno));
usr.sbin/ppp/arp.c
194
strerror(errno));
usr.sbin/ppp/arp.c
213
strerror(errno));
usr.sbin/ppp/arp.c
248
strerror(errno));
usr.sbin/ppp/bundle.c
1430
log_Printf(LogERROR, "Failed recvmsg: %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1483
log_Printf(LogERROR, "Failed write: %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1496
log_Printf(LogERROR, "Failed write: %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1606
strerror(errno));
usr.sbin/ppp/bundle.c
1609
strerror(errno));
usr.sbin/ppp/bundle.c
1617
sun->sun_path, strerror(errno));
usr.sbin/ppp/bundle.c
1635
sun->sun_path, strerror(errno));
usr.sbin/ppp/bundle.c
1642
sun->sun_path, strerror(errno));
usr.sbin/ppp/bundle.c
1737
log_Printf(LogERROR, "pipe: %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1742
log_Printf(LogERROR, "fork: %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1751
log_Printf(LogERROR, "pipe(2): %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1756
log_Printf(LogERROR, "fork(2): %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
569
log_Printf(LogWARN, "%s: read: %s\n", bundle->dev.Name, strerror(errno));
usr.sbin/ppp/bundle.c
681
pidfile, strerror(errno));
usr.sbin/ppp/bundle.c
729
else if (errno == ENXIO || errno == ENOENT) {
usr.sbin/ppp/bundle.c
741
if (errno != ENOENT || ++enoentcount > 2) {
usr.sbin/ppp/bundle.c
742
err = errno;
usr.sbin/ppp/bundle.c
746
err = errno;
usr.sbin/ppp/bundle.c
777
strerror(errno));
usr.sbin/ppp/bundle.c
785
strerror(errno));
usr.sbin/ppp/bundle.c
793
strerror(errno));
usr.sbin/ppp/bundle.c
848
log_Printf(LogALERT, "Cannot create data link: %s\n", strerror(errno));
usr.sbin/ppp/chap.c
269
log_Printf(LogERROR, "Chap: pipe: %s\n", strerror(errno));
usr.sbin/ppp/chap.c
274
log_Printf(LogERROR, "Chap: pipe: %s\n", strerror(errno));
usr.sbin/ppp/chap.c
283
log_Printf(LogERROR, "Chap: fork: %s\n", strerror(errno));
usr.sbin/ppp/chap.c
311
_PATH_DEVNULL, strerror(errno));
usr.sbin/ppp/chap.c
322
printf("exec() of %s failed: %s\n", nargv[0], strerror(errno));
usr.sbin/ppp/chap.c
355
log_Printf(LogERROR, "Chap: wait: %s\n", strerror(errno));
usr.sbin/ppp/chap.c
430
log_Printf(LogERROR, "Chap: Read: %s\n", strerror(errno));
usr.sbin/ppp/chat.c
528
if (errno != EINTR) {
usr.sbin/ppp/chat.c
529
log_Printf(LogWARN, "chat_Write: %s\n", strerror(errno));
usr.sbin/ppp/chat.c
731
strerror(errno));
usr.sbin/ppp/chat.c
754
fprintf(stderr, "execvp: %s: %s\n", argv[0], strerror(errno));
usr.sbin/ppp/command.c
2223
log_Printf(LogWARN, "%s: %s\n", argp, strerror(errno));
usr.sbin/ppp/command.c
663
_PATH_DEVNULL, strerror(errno));
usr.sbin/ppp/command.c
690
log_Printf(LogERROR, "%ld: daemon: %s\n", (long)p, strerror(errno));
usr.sbin/ppp/command.c
705
strerror(errno));
usr.sbin/ppp/command.c
710
log_Printf(LogERROR, "Fork failed: %s\n", strerror(errno));
usr.sbin/ppp/defs.c
77
if (errno == EINTR)
usr.sbin/ppp/ether.c
512
strerror(errno));
usr.sbin/ppp/ether.c
527
path, strerror(errno));
usr.sbin/ppp/ether.c
535
strerror(errno));
usr.sbin/ppp/ether.c
595
etherid, strerror(errno));
usr.sbin/ppp/ether.c
617
"nodes: %s\n", strerror(errno));
usr.sbin/ppp/ether.c
635
connectpath, strerror(errno));
usr.sbin/ppp/ether.c
651
connectpath, strerror(errno));
usr.sbin/ppp/ether.c
705
p->link.name, strerror(errno));
usr.sbin/ppp/exec.c
252
p->link.name, strerror(errno));
usr.sbin/ppp/exec.c
262
strerror(errno));
usr.sbin/ppp/exec.c
279
strerror(errno));
usr.sbin/ppp/exec.c
287
strerror(errno));
usr.sbin/ppp/exec.c
309
ret = errno;
usr.sbin/ppp/exec.c
311
strerror(errno));
usr.sbin/ppp/exec.c
339
child_status = errno; /* Only works for vfork() */
usr.sbin/ppp/exec.c
351
while ((wret = waitpid(pid, &stat, 0)) == -1 && errno == EINTR)
usr.sbin/ppp/exec.c
355
strerror(errno));
usr.sbin/ppp/exec.c
387
p->link.name, strerror(errno));
usr.sbin/ppp/iface.c
118
strerror(errno));
usr.sbin/ppp/iface.c
123
fprintf(stderr, "iface_Create: malloc failed: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
128
err = errno;
usr.sbin/ppp/iface.c
147
fprintf(stderr, "iface_Create: malloc: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
223
saved_errno = errno;
usr.sbin/ppp/iface.c
240
saved_errno = errno;
usr.sbin/ppp/iface.c
301
saved_errno = errno;
usr.sbin/ppp/iface.c
327
saved_errno = errno;
usr.sbin/ppp/iface.c
361
log_Printf(LogWARN, "iface name: strdup failed: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
366
log_Printf(LogERROR, "iface name: socket(): %s\n", strerror(errno));
usr.sbin/ppp/iface.c
375
name, newname, strerror(errno));
usr.sbin/ppp/iface.c
397
log_Printf(LogERROR, "iface descr: sysctl failed: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
408
log_Printf(LogERROR, "iface descr: malloc failed: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
429
log_Printf(LogERROR, "iface descr: socket(): %s\n", strerror(errno));
usr.sbin/ppp/iface.c
440
descr, strerror(errno));
usr.sbin/ppp/iface.c
488
log_Printf(LogERROR, "iface_Clear: socket(): %s\n", strerror(errno));
usr.sbin/ppp/iface.c
519
log_Printf(LogERROR, "iface_Add: socket(): %s\n", strerror(errno));
usr.sbin/ppp/iface.c
564
log_Printf(LogERROR, "iface_inAdd: realloc: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
602
log_Printf(LogERROR, "iface_Delete: socket(): %s\n", strerror(errno));
usr.sbin/ppp/iface.c
636
log_Printf(LogERROR, "iface_ChangeFlags: socket: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
645
strerror(errno));
usr.sbin/ppp/iface.c
666
strerror(errno));
usr.sbin/ppp/iface.c
704
log_Printf(LogERROR, "iface_Destroy: socket(): %s\n", strerror(errno));
usr.sbin/ppp/iface.c
709
iface->name, strerror(errno));
usr.sbin/ppp/ip.c
948
l->name, nb, strerror(errno));
usr.sbin/ppp/ipcp.c
203
(unsigned long)st.st_size, _PATH_RESCONF, strerror(errno));
usr.sbin/ppp/ipcp.c
206
(unsigned long)st.st_size, _PATH_RESCONF, strerror(errno));
usr.sbin/ppp/ipcp.c
212
_PATH_RESCONF, strerror(errno));
usr.sbin/ppp/ipcp.c
277
_PATH_RESCONF, strerror(errno));
usr.sbin/ppp/ipcp.c
319
strerror(errno));
usr.sbin/ppp/ipcp.c
325
strerror(errno));
usr.sbin/ppp/ipcp.c
343
_PATH_RESCONF, strerror(errno));
usr.sbin/ppp/ipcp.c
351
strerror(errno));
usr.sbin/ppp/ipcp.c
354
strerror(errno));
usr.sbin/ppp/main.c
441
log_Printf(LogERROR, "pipe: %s\n", strerror(errno));
usr.sbin/ppp/main.c
447
log_Printf(LogERROR, "fork: %s\n", strerror(errno));
usr.sbin/ppp/main.c
593
if (i < 0 && errno != EINTR) {
usr.sbin/ppp/main.c
594
log_Printf(LogERROR, "DoLoop: select(): %s\n", strerror(errno));
usr.sbin/ppp/mp.c
1122
log_Printf(LogERROR, "mpserver: snprintf(): %s\n", strerror(errno));
usr.sbin/ppp/mp.c
1138
log_Printf(LogERROR, "mpserver: socket(): %s\n", strerror(errno));
usr.sbin/ppp/mp.c
1152
if (errno != EADDRINUSE) {
usr.sbin/ppp/mp.c
1154
s->socket.sun_path, strerror(errno));
usr.sbin/ppp/mp.c
1165
s->socket.sun_path, strerror(errno));
usr.sbin/ppp/mp.c
1166
if (errno == ECONNREFUSED)
usr.sbin/ppp/mp.c
1191
strerror(errno));
usr.sbin/ppp/ncp.c
394
strerror(errno));
usr.sbin/ppp/netgraph.c
137
dev->dev.name, len + 4, strerror(errno));
usr.sbin/ppp/netgraph.c
156
dev->dev.name, path, fmt, data, strerror(errno));
usr.sbin/ppp/netgraph.c
199
dev->dev.name, strerror(errno));
usr.sbin/ppp/netgraph.c
488
strerror(errno));
usr.sbin/ppp/netgraph.c
585
p->link.name, path, strerror(errno));
usr.sbin/ppp/netgraph.c
593
p->link.name, strerror(errno));
usr.sbin/ppp/netgraph.c
641
path, nodetype, strerror(errno));
usr.sbin/ppp/netgraph.c
654
p->link.name, path, strerror(errno));
usr.sbin/ppp/netgraph.c
662
p->link.name, strerror(errno));
usr.sbin/ppp/netgraph.c
673
p->link.name, path, strerror(errno));
usr.sbin/ppp/netgraph.c
703
"nodes: %s\n", path, strerror(errno));
usr.sbin/ppp/netgraph.c
727
p->link.name, strerror(errno));
usr.sbin/ppp/physical.c
1022
err = errno;
usr.sbin/ppp/physical.c
1034
strerror(errno));
usr.sbin/ppp/physical.c
367
p->link.name, fn, strerror(errno));
usr.sbin/ppp/physical.c
406
if (errno == EAGAIN)
usr.sbin/ppp/physical.c
408
else if (errno != ENOBUFS) {
usr.sbin/ppp/physical.c
410
p->fd, p->out->m_len, strerror(errno));
usr.sbin/ppp/physical.c
534
strerror(errno));
usr.sbin/ppp/physical.c
977
p->link.name, fn, strerror(errno));
usr.sbin/ppp/prompt.c
253
log_Printf(LogWARN, "error writing to modem: %s\n", strerror(errno));
usr.sbin/ppp/prompt.c
293
log_Printf(LogWARN, "error writing to modem: %s\n", strerror(errno));
usr.sbin/ppp/radius.c
1023
log_Printf(LogERROR, "rad_put: gethostname(): %s\n", strerror(errno));
usr.sbin/ppp/radius.c
1119
log_Printf(LogERROR, "rad_auth_open: %s\n", strerror(errno));
usr.sbin/ppp/radius.c
1208
log_Printf(LogERROR, "rad_put: gethostname(): %s\n", strerror(errno));
usr.sbin/ppp/radius.c
923
log_Printf(LogERROR, "rad_auth_open: %s\n", strerror(errno));
usr.sbin/ppp/route.c
233
strerror(errno));
usr.sbin/ppp/route.c
261
log_Printf(LogDEBUG, "Index2Nam: %s\n", strerror(errno));
usr.sbin/ppp/route.c
342
log_Printf(LogERROR, "route_Show: sysctl: estimate: %s\n", strerror(errno));
usr.sbin/ppp/route.c
349
log_Printf(LogERROR, "route_Show: sysctl: getroute: %s\n", strerror(errno));
usr.sbin/ppp/route.c
399
strerror(errno));
usr.sbin/ppp/route.c
409
strerror(errno));
usr.sbin/ppp/route.c
489
strerror(errno));
usr.sbin/ppp/route.c
499
strerror(errno));
usr.sbin/ppp/route.c
750
log_Printf(LogERROR, "rt_Set: socket(): %s\n", strerror(errno));
usr.sbin/ppp/route.c
818
(rtmes.m_rtm.rtm_errno == 0 && errno == EEXIST))) {
usr.sbin/ppp/route.c
830
(rtmes.m_rtm.rtm_errno == 0 && errno == ESRCH))) {
usr.sbin/ppp/route.c
835
if (!quiet || errno != ENETUNREACH)
usr.sbin/ppp/route.c
837
ncprange_ntoa(dst), strerror(errno));
usr.sbin/ppp/route.c
870
log_Printf(LogERROR, "rt_Update: socket(): %s\n", strerror(errno));
usr.sbin/ppp/route.c
930
ncprange_ntoa(&ncpdst), strerror(errno));
usr.sbin/ppp/server.c
105
log_Printf(LogERROR, "server_Read: accept(): %s\n", strerror(errno));
usr.sbin/ppp/server.c
265
log_Printf(LogERROR, "Local: socket: %s\n", strerror(errno));
usr.sbin/ppp/server.c
274
log_Printf(LogWARN, "Local: bind: %s\n", strerror(errno));
usr.sbin/ppp/server.c
345
log_Printf(LogERROR, "Tcp: socket: %s\n", strerror(errno));
usr.sbin/ppp/server.c
358
log_Printf(LogWARN, "Tcp: bind: %s\n", strerror(errno));
usr.sbin/ppp/server.c
364
strerror(errno));
usr.sbin/ppp/tcp.c
91
log_Printf(LogWARN, "%s: connect: %s\n", name, strerror(errno));
usr.sbin/ppp/timer.c
288
log_Printf(LogERROR, "Unable to set itimer (%s)\n", strerror(errno));
usr.sbin/ppp/timer.c
300
log_Printf(LogERROR, "Unable to set itimer (%s)\n", strerror(errno));
usr.sbin/ppp/tty.c
296
strerror(errno));
usr.sbin/ppp/tty.c
305
strerror(errno));
usr.sbin/ppp/tty.c
342
strerror(errno));
usr.sbin/ppp/tty.c
349
p->link.name, ngc.path, strerror(errno));
usr.sbin/ppp/tty.c
354
p->link.name, ngc.path, strerror(errno));
usr.sbin/ppp/tty.c
758
p->link.name, strerror(errno));
usr.sbin/ppp/tun.c
101
strerror(errno));
usr.sbin/ppp/tun.c
117
strerror(errno));
usr.sbin/ppp/tun.c
93
log_Printf(LogERROR, "tun_configure: socket(): %s\n", strerror(errno));
usr.sbin/ppp/udp.c
100
if (ret == -1 && errno == EISCONN) {
usr.sbin/ppp/udp.c
207
p->link.name, strerror(errno));
usr.sbin/ppp/udp.c
241
log_Printf(LogWARN, "%s: connect: %s\n", p->name.full, strerror(errno));
usr.sbin/ppp/udp.c
243
log_Printf(LogWARN, "%s: socket: %s\n", p->name.full, strerror(errno));
usr.sbin/ppp/udp.c
302
p->link.name, strerror(errno));
usr.sbin/pppctl/pppctl.c
191
err = Result == -1 ? errno : 0;
usr.sbin/pppctl/pppctl.c
465
if (errno)
usr.sbin/pppctl/pppctl.c
531
save_errno = errno;
usr.sbin/pppctl/pppctl.c
534
errno = save_errno;
usr.sbin/pppctl/pppctl.c
542
if (errno)
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
140
if (errno == ENOENT)
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
365
} else if (errno == ENOENT) {
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
469
if (errno == ENOENT)
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
96
if (errno == ENOENT)
usr.sbin/pstat/pstat.c
265
if (errno != ENOMEM)
usr.sbin/pstat/pstat.c
585
if (errno != ENOENT)
usr.sbin/pw/cpdir.c
58
if (errno != EEXIST) {
usr.sbin/pw/pwupd.c
70
i = errno;
usr.sbin/pw/rm_r.c
104
if (errno == EBUSY && skipped == false)
usr.sbin/pw/strtounum.c
44
errno = EINVAL;
usr.sbin/pw/strtounum.c
48
errno = 0;
usr.sbin/pw/strtounum.c
51
errno = EINVAL;
usr.sbin/pw/strtounum.c
56
errno = ERANGE;
usr.sbin/pw/strtounum.c
60
if (errno == ERANGE || ret > maxval) {
usr.sbin/pw/strtounum.c
61
errno = ERANGE;
usr.sbin/pwd_mkdb/pwd_mkdb.c
566
fmt: errno = EFTYPE; /* XXX */
usr.sbin/pwd_mkdb/pwd_mkdb.c
586
int sverrno = errno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
589
errno = sverrno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
594
int sverrno = errno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
597
errno = sverrno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
618
int sverrno = errno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
620
errno = sverrno;
usr.sbin/pwm/pwm.c
146
device_name, strerror(errno));
usr.sbin/quot/quot.c
454
switch (errno = sbget(fd, &fs, UFS_STDSB, UFS_NOCSUM)) {
usr.sbin/rarpd/rarpd.c
385
} while ((fd == -1) && (errno == EBUSY));
usr.sbin/rarpd/rarpd.c
539
if (errno == EINTR)
usr.sbin/rarpd/rarpd.c
551
if ((cc == -1) && (errno == EINTR))
usr.sbin/rarpd/rarpd.c
742
errno = 0;
usr.sbin/rarpd/rarpd.c
743
if ((write(r, rt, rt->rtm_msglen) == -1) && (errno != ESRCH)) {
usr.sbin/rarpd/rarpd.c
791
errno = 0;
usr.sbin/rarpd/rarpd.c
792
if ((write(r, rt, rt->rtm_msglen) == -1) && (errno != EEXIST)) {
usr.sbin/rarpd/rarpd.c
975
str, strerror(errno));
usr.sbin/rarpd/rarpd.c
978
errno = ENOMEM;
usr.sbin/rarpd/rarpd.c
989
errno = ENOMEM;
usr.sbin/rmt/rmt.c
194
error(errno);
usr.sbin/rmt/rmt.c
82
errno = 0;
usr.sbin/route6d/route6d.c
1090
trace(1, "sendmsg: %s\n", strerror(errno));
usr.sbin/route6d/route6d.c
1091
return errno;
usr.sbin/route6d/route6d.c
2869
if (errno == EEXIST) {
usr.sbin/route6d/route6d.c
2877
strerror(errno));
usr.sbin/route6d/route6d.c
2880
strerror(errno));
usr.sbin/route6d/route6d.c
2935
if (errno == ESRCH) {
usr.sbin/route6d/route6d.c
2943
strerror(errno));
usr.sbin/route6d/route6d.c
2946
strerror(errno));
usr.sbin/route6d/route6d.c
2975
if (errno == ESRCH) /* No such route found */
usr.sbin/route6d/route6d.c
3196
errno = 0;
usr.sbin/route6d/route6d.c
3199
if (errno || !*p || *ep || plen > sizeof(iffp->iff_addr) * 8) {
usr.sbin/route6d/route6d.c
3265
errno = EINVAL;
usr.sbin/route6d/route6d.c
3475
if (errno)
usr.sbin/route6d/route6d.c
3476
syslog(LOG_ERR, "%s: %s", buf, strerror(errno));
usr.sbin/route6d/route6d.c
491
if (errno != EINTR) {
usr.sbin/rpc.lockd/kern.c
210
syslog((errno == EPIPE ? LOG_INFO :
usr.sbin/rpc.lockd/kern.c
216
if (errno != EAGAIN) {
usr.sbin/rpc.lockd/kern.c
569
syslog(((errno == EPIPE || errno == ESRCH) ?
usr.sbin/rpc.lockd/lockd.c
353
errno = EADDRINUSE;
usr.sbin/rpc.lockd/lockd.c
446
strerror(errno));
usr.sbin/rpc.lockd/lockd.c
682
if (errno == EADDRINUSE && mallocd_svcport != 0) {
usr.sbin/rpc.lockd/lockd_lock.c
1065
fl->client_name, strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
1067
switch (errno) {
usr.sbin/rpc.lockd/lockd_lock.c
1089
fl->client_name, strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
1092
switch (errno) {
usr.sbin/rpc.lockd/lockd_lock.c
1919
syslog(LOG_NOTICE, "lock allocate failed: %s", strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
2263
syslog(LOG_WARNING, "siglock failed: %s", strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
2276
syslog(LOG_WARNING, "sigunlock failed: %s", strerror(errno));
usr.sbin/rpc.statd/file.c
180
if ((status_fd < 0) && (errno == ENOENT))
usr.sbin/rpc.statd/file.c
323
syslog(LOG_ERR, "Unable to fork notify process - %s", strerror(errno));
usr.sbin/rpc.statd/file.c
65
syslog(LOG_ERR, "msync() failed: %s", strerror(errno));
usr.sbin/rpc.statd/procs.c
407
syslog(LOG_ERR, "Unable to fork notify process - %s", strerror(errno));
usr.sbin/rpc.statd/statd.c
226
errno = EADDRINUSE;
usr.sbin/rpc.statd/statd.c
483
if (errno == EADDRINUSE && mallocd_svcport != 0) {
usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c
125
if (errno == EEXIST)
usr.sbin/rpc.tlsservd/rpc.tlscommon.c
106
if (errno == EINTR) {
usr.sbin/rpc.tlsservd/rpc.tlsservd.c
151
if (errno == EEXIST)
usr.sbin/rpc.umntall/mounttab.c
84
if (errno == ENOENT)
usr.sbin/rpc.umntall/mounttab.c
95
errno = 0;
usr.sbin/rpc.yppasswdd/yppasswdd_main.c
239
yp_error("can't get local hostname: %s", strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
261
yp_error("opendir(%s) failed: %s", yp_dir, strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
270
strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
362
maps[i], strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
430
maps[i],strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
693
strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
699
yp_error("fork() failed: %s", strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
921
strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
927
yp_error("fork() failed: %s", strerror(errno));
usr.sbin/rpc.ypupdated/yp_dbupdate.c
60
strerror(errno));
usr.sbin/rpc.ypupdated/yp_dbupdate.c
64
yp_error("fork() failed: %s", strerror(errno));
usr.sbin/rpc.ypupdated/ypupdated_main.c
145
if (errno == EINTR) {
usr.sbin/rpc.ypxfrd/ypxfrd_main.c
148
if (errno == EINTR) {
usr.sbin/rpc.ypxfrd/ypxfrd_main.c
168
saved_errno = errno;
usr.sbin/rpc.ypxfrd/ypxfrd_main.c
172
errno = saved_errno;
usr.sbin/rpc.ypxfrd/ypxfrd_main.c
184
errno = saved_errno;
usr.sbin/rpc.ypxfrd/ypxfrd_server.c
67
yp_error("read error: %s", strerror(errno));
usr.sbin/rpcbind/rpcb_svc_com.c
1255
} while (inlen < 0 && errno == EINTR);
usr.sbin/rpcbind/rpcb_svc_com.c
400
uaddr = strerror(errno);
usr.sbin/rpcbind/rpcbind.c
173
if (flock(rpcbindlockfd, LOCK_EX|LOCK_NB) != 0 && errno == EWOULDBLOCK)
usr.sbin/rpcbind/rpcbind.c
348
syslog(errno == EAFNOSUPPORT ? LOG_DEBUG : LOG_ERR,
usr.sbin/rpcbind/rpcbind.c
409
if (errno == EAFNOSUPPORT &&
usr.sbin/rpcbind/rpcbind.c
930
int save_errno = errno;
usr.sbin/rpcbind/rpcbind.c
934
errno = save_errno;
usr.sbin/rrenumd/rrenumd.c
165
__func__, ifname, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
172
__func__, ifname, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
284
strerror(errno));
usr.sbin/rrenumd/rrenumd.c
302
__func__, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
311
__func__, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
334
__func__, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
343
__func__, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
368
strerror(errno));
usr.sbin/rrenumd/rrenumd.c
398
__func__, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
407
__func__, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
459
strerror(errno));
usr.sbin/rrenumd/rrenumd.c
493
strerror(errno));
usr.sbin/rrenumd/rrenumd.c
639
__func__, strerror(errno));
usr.sbin/rtadvd/advcap.c
131
"<%s> open: %s", __func__, strerror(errno));
usr.sbin/rtadvd/config.c
1325
strerror(errno));
usr.sbin/rtadvd/config.c
1331
strerror(errno));
usr.sbin/rtadvd/config.c
1371
ifindex, strerror(errno));
usr.sbin/rtadvd/config.c
646
strerror(errno));
usr.sbin/rtadvd/config.c
653
__func__, ifi->ifi_ifname, strerror(errno));
usr.sbin/rtadvd/config.c
661
__func__, ifi->ifi_ifname, strerror(errno));
usr.sbin/rtadvd/control.c
142
__func__, strerror(errno));
usr.sbin/rtadvd/control.c
148
if (n < 0 && errno == EAGAIN) {
usr.sbin/rtadvd/control.c
205
"<%s> write failed: (%d)%s", __func__, errno,
usr.sbin/rtadvd/control.c
206
strerror(errno));
usr.sbin/rtadvd/control.c
234
if (errno != EWOULDBLOCK && errno != EINTR)
usr.sbin/rtadvd/control.c
236
syslog(LOG_WARNING, "<%s> Xaccept: %s", __func__, strerror(errno));
usr.sbin/rtadvd/control.c
303
if (errno != ENOENT) {
usr.sbin/rtadvd/control.c
86
__func__, strerror(errno));
usr.sbin/rtadvd/control.c
92
if (n < 0 && errno == EAGAIN) {
usr.sbin/rtadvd/if.c
398
if (errno != EPFNOSUPPORT)
usr.sbin/rtadvd/if.c
447
if (errno != ENOMEM || ++ntry >= MAX_SYSCTL_TRY) {
usr.sbin/rtadvd/if.c
649
strerror(errno));
usr.sbin/rtadvd/if.c
684
strerror(errno));
usr.sbin/rtadvd/if.c
722
strerror(errno));
usr.sbin/rtadvd/if.c
760
__func__, mif, strerror(errno));
usr.sbin/rtadvd/rrenum.c
169
errno != EADDRNOTAVAIL)
usr.sbin/rtadvd/rrenum.c
171
strerror(errno));
usr.sbin/rtadvd/rrenum.c
205
errno != EADDRNOTAVAIL)
usr.sbin/rtadvd/rrenum.c
207
strerror(errno));
usr.sbin/rtadvd/rrenum.c
268
strerror(errno));
usr.sbin/rtadvd/rrenum.c
298
if (errno == ENXIO)
usr.sbin/rtadvd/rrenum.c
300
else if (errno) {
usr.sbin/rtadvd/rrenum.c
302
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1552
syslog(LOG_ERR, "<%s> socket: %s", __func__, strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1560
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1568
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1580
__func__, strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1612
"<%s> socket: %s", __func__, strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1753
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
249
if (errno == EEXIST)
usr.sbin/rtadvd/rtadvd.c
268
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
293
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
338
if (errno != EINTR)
usr.sbin/rtadvd/rtadvd.c
340
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
358
strerror(errno));
usr.sbin/rtadvd/rtadvd.h
42
__func__, strerror(errno)); \
usr.sbin/rtprio/rtprio.c
131
errno = 0;
usr.sbin/rtprio/rtprio.c
133
if (errno != 0 || endp == str || *endp != '\0')
usr.sbin/rtsold/cap_llflags.c
109
errno = error;
usr.sbin/rtsold/cap_llflags.c
134
errno = error;
usr.sbin/rtsold/cap_llflags.c
154
return (errno);
usr.sbin/rtsold/cap_llflags.c
74
error = errno;
usr.sbin/rtsold/cap_llflags.c
96
error = errno;
usr.sbin/rtsold/cap_script.c
106
errno = error;
usr.sbin/rtsold/cap_script.c
145
errno = error;
usr.sbin/rtsold/cap_script.c
167
return (errno);
usr.sbin/rtsold/cap_script.c
194
return (errno);
usr.sbin/rtsold/cap_script.c
198
error = errno;
usr.sbin/rtsold/cap_sendmsg.c
209
return (errno);
usr.sbin/rtsold/cap_sendmsg.c
212
errno = error;
usr.sbin/rtsold/cap_sendmsg.c
234
return (errno);
usr.sbin/rtsold/cap_sendmsg.c
237
errno = error;
usr.sbin/rtsold/cap_sendmsg.c
245
if (error != 0 && (errno != ENETDOWN || dflag > 0)) {
usr.sbin/rtsold/cap_sendmsg.c
246
error = errno;
usr.sbin/rtsold/cap_sendmsg.c
248
ifinfo->ifname, strerror(errno));
usr.sbin/rtsold/cap_sendmsg.c
249
errno = error;
usr.sbin/rtsold/cap_sendmsg.c
277
return (errno);
usr.sbin/rtsold/dump.c
141
dumpfile, strerror(errno));
usr.sbin/rtsold/dump.c
148
dumpfile, strerror(errno));
usr.sbin/rtsold/dump.c
66
warnmsg(LOG_ERR, __func__, "fseek(): %s", strerror(errno));
usr.sbin/rtsold/if.c
105
strerror(errno));
usr.sbin/rtsold/if.c
112
"ioctl(SIOCSIFFLAGS): %s", strerror(errno));
usr.sbin/rtsold/if.c
117
strerror(errno));
usr.sbin/rtsold/if.c
122
strerror(errno));
usr.sbin/rtsold/if.c
135
strerror(errno));
usr.sbin/rtsold/if.c
152
strerror(errno));
usr.sbin/rtsold/if.c
199
ifname, strerror(errno));
usr.sbin/rtsold/if.c
215
if (errno != EINVAL) {
usr.sbin/rtsold/if.c
218
ifname, strerror(errno));
usr.sbin/rtsold/if.c
77
strerror(errno));
usr.sbin/rtsold/if.c
82
strerror(errno));
usr.sbin/rtsold/rtsock.c
84
error = errno;
usr.sbin/rtsold/rtsock.c
86
errno = error;
usr.sbin/rtsold/rtsol.c
109
warnmsg(LOG_ERR, __func__, "socket: %s", strerror(errno));
usr.sbin/rtsold/rtsol.c
118
strerror(errno));
usr.sbin/rtsold/rtsol.c
127
strerror(errno));
usr.sbin/rtsold/rtsol.c
137
strerror(errno));
usr.sbin/rtsold/rtsol.c
144
strerror(errno));
usr.sbin/rtsold/rtsol.c
197
warnmsg(LOG_ERR, __func__, "recvmsg: %s", strerror(errno));
usr.sbin/rtsold/rtsol.c
438
strerror(errno));
usr.sbin/rtsold/rtsol.c
497
strerror(errno));
usr.sbin/rtsold/rtsol.c
752
"failed to run %s: %s", argv[0], strerror(errno));
usr.sbin/rtsold/rtsol.c
764
strerror(errno));
usr.sbin/rtsold/rtsol.c
773
warnmsg(LOG_ERR, __func__, "wait(): %s", strerror(errno));
usr.sbin/rtsold/rtsol.c
95
strerror(errno)); \
usr.sbin/rtsold/rtsold.c
219
errx(1, "failed to open pidfile: %s", strerror(errno));
usr.sbin/rtsold/rtsold.c
242
strerror(errno));
usr.sbin/rtsold/rtsold.c
258
warnmsg(LOG_ERR, __func__, "kevent(): %s", strerror(errno));
usr.sbin/rtsold/rtsold.c
281
"failed to open pidfile: %s", strerror(errno));
usr.sbin/rtsold/rtsold.c
288
warnmsg(LOG_ERR, __func__, "caph_enter(): %s", strerror(errno));
usr.sbin/rtsold/rtsold.c
324
if (error < 0 && errno != EINTR)
usr.sbin/rtsold/rtsold.c
326
strerror(errno));
usr.sbin/rwhod/rwhod.c
270
if (errno == ENOSYS) {
usr.sbin/rwhod/rwhod.c
369
if (cc < 0 && errno != EINTR)
usr.sbin/sa/db.c
70
if (errno == ENOENT)
usr.sbin/sa/pdb.c
75
errno = EFTYPE;
usr.sbin/sa/usrdb.c
73
errno = EFTYPE;
usr.sbin/services_mkdb/services_mkdb.c
291
errno = 0;
usr.sbin/services_mkdb/services_mkdb.c
297
if ((errno == ERANGE && pnum == ULONG_MAX) || pnum > PMASK) {
usr.sbin/sesutil/sesutil.c
239
if (errno == EACCES && g.gl_pathc > 1) {
usr.sbin/sesutil/sesutil.c
457
if (errno == EACCES && g.gl_pathc > 1) {
usr.sbin/sesutil/sesutil.c
760
if (errno == EACCES && g.gl_pathc > 1) {
usr.sbin/sesutil/sesutil.c
913
if (errno == EACCES && g.gl_pathc > 1) {
usr.sbin/setfib/setfib.c
74
errno = 0;
usr.sbin/setfib/setfib.c
76
if (ep == optarg || *ep != '\0' || errno ||
usr.sbin/setfib/setfib.c
91
errno = 0;
usr.sbin/setfib/setfib.c
95
err(errno == ENOENT ? 127 : 126, "%s", *argv);
usr.sbin/setfmac/setfmac.c
143
while (errno = 0, (ftsent = fts_read(fts)) != NULL) {
usr.sbin/setfmac/setfmac.c
177
if (errno != 0)
usr.sbin/setfmac/setfmac.c
478
if (errno == EOPNOTSUPP) {
usr.sbin/smbmsg/smbmsg.c
333
savederrno = errno;
usr.sbin/smbmsg/smbmsg.c
335
errno = savederrno;
usr.sbin/sndctl/sndctl.c
355
errno = 0;
usr.sbin/sndctl/sndctl.c
357
if (errno == EINVAL || errno == ERANGE) {
usr.sbin/spi/spi.c
339
dev_name, errno);
usr.sbin/spi/spi.c
452
errno);
usr.sbin/spi/spi.c
502
err, errno);
usr.sbin/spi/spi.c
735
errno);
usr.sbin/spi/spi.c
798
fprintf(stderr, "Error writing to stdout, errno=%d\n", errno);
usr.sbin/syslogd/syslogd.c
1310
errno = 0;
usr.sbin/syslogd/syslogd.c
1312
if (errno == 0 && *q == msg[i] && n >= 0 && n <= INT_MAX) {
usr.sbin/syslogd/syslogd.c
1355
if (i < 0 && errno != EINTR && errno != EAGAIN) {
usr.sbin/syslogd/syslogd.c
1396
errno = 0;
usr.sbin/syslogd/syslogd.c
1398
if (*q == '>' && n >= 0 && n < INT_MAX && errno == 0) {
usr.sbin/syslogd/syslogd.c
1822
int e = errno;
usr.sbin/syslogd/syslogd.c
1824
errno = e;
usr.sbin/syslogd/syslogd.c
1825
switch (errno) {
usr.sbin/syslogd/syslogd.c
1858
if (errno != ENOSPC) {
usr.sbin/syslogd/syslogd.c
1859
int e = errno;
usr.sbin/syslogd/syslogd.c
1861
errno = e;
usr.sbin/syslogd/syslogd.c
1912
errno = 0; /* ttymsg() only sometimes returns an errno */
usr.sbin/syslogd/syslogd.c
2191
"%s: %s", device, strerror(errno));
usr.sbin/syslogd/syslogd.c
2249
if (errno != 0) {
usr.sbin/syslogd/syslogd.c
2251
strerror(errno));
usr.sbin/syslogd/syslogd.c
2254
errno = 0;
usr.sbin/syslogd/syslogd.c
2276
errno = 0;
usr.sbin/syslogd/syslogd.c
2283
strerror(errno));
usr.sbin/syslogd/syslogd.c
2358
strerror(errno));
usr.sbin/syslogd/syslogd.c
3035
if (errno == EADDRINUSE && lai != NULL) {
usr.sbin/syslogd/syslogd.c
3804
errno = 0; /* Keep strerror() stuff out of logerror messages. */
usr.sbin/syslogd/syslogd.c
3879
dprintf("fchmod %s: %s\n", name, strerror(errno));
usr.sbin/syslogd/syslogd.c
3914
if (shutdown(s, SHUT_RD) < 0 && errno != ENOTCONN) {
usr.sbin/syslogd/syslogd.c
458
errno = 0;
usr.sbin/syslogd/syslogd.c
498
dprintf("madvise() failed: %s\n", strerror(errno));
usr.sbin/syslogd/syslogd.c
662
if (errno == EEXIST)
usr.sbin/syslogd/syslogd.c
680
dprintf("can't open %s (%d)\n", _PATH_KLOG, errno);
usr.sbin/syslogd/syslogd.c
771
if (errno != EINTR)
usr.sbin/syslogd/syslogd.c
844
if (errno != EINTR)
usr.sbin/syslogd/syslogd_cap_log.c
115
errno = error;
usr.sbin/syslogd/syslogd_cap_log.c
180
errno = error;
usr.sbin/syslogd/syslogd_cap_log.c
56
errno = error;
usr.sbin/traceroute/as.c
133
*status = errno;
usr.sbin/traceroute/as.c
138
*status = errno;
usr.sbin/traceroute/findsaddr-socket.c
100
sprintf(errbuf, "socket: %.128s", strerror(errno));
usr.sbin/traceroute/findsaddr-socket.c
120
sprintf(errbuf, "write: %.128s", strerror(errno));
usr.sbin/traceroute/findsaddr-socket.c
135
sprintf(errbuf, "read: %.128s", strerror(errno));
usr.sbin/traceroute/ifaddrlist.c
117
if (errno == ENXIO)
usr.sbin/traceroute/ifaddrlist.c
121
strerror(errno));
usr.sbin/traceroute/ifaddrlist.c
139
device, strerror(errno));
usr.sbin/traceroute/ifaddrlist.c
78
(void)sprintf(errbuf, "socket: %s", strerror(errno));
usr.sbin/traceroute/ifaddrlist.c
86
if (errno == EINVAL)
usr.sbin/traceroute/ifaddrlist.c
92
strerror(errno));
usr.sbin/traceroute/traceroute.c
1240
if (error == -1 && errno == EINVAL) {
usr.sbin/traceroute/traceroute.c
1286
prog, ttl, strerror(errno));
usr.sbin/traceroute/traceroute.c
1295
prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
1929
Fprintf(stderr, "%s: calloc %s\n", prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
1939
prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
1966
Fprintf(stderr, "%s: calloc %s\n", prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
510
prog, devnull, strerror(errno));
usr.sbin/traceroute/traceroute.c
522
sockerrno = errno;
usr.sbin/traceroute/traceroute.c
524
sockerrno = errno;
usr.sbin/traceroute/traceroute.c
751
Fprintf(stderr, "%s: malloc: %s\n", prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
798
errno = sockerrno;
usr.sbin/traceroute/traceroute.c
799
Fprintf(stderr, "%s: icmp socket: %s\n", prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
818
errno = sockerrno;
usr.sbin/traceroute/traceroute.c
819
Fprintf(stderr, "%s: raw socket: %s\n", prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
826
Fprintf(stderr, "%s: SO_SNDBUF: %s\n", prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
833
Fprintf(stderr, "%s: IP_HDRINCL: %s\n", prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
841
prog, tos, strerror(errno));
usr.sbin/traceroute/traceroute.c
926
prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
942
Fprintf(stderr, "%s: connect: %s\n", prog, strerror(errno));
usr.sbin/traceroute/traceroute.c
963
if (errno != ENOSYS) {
usr.sbin/traceroute/traceroute.c
965
strerror(errno));
usr.sbin/traceroute/traceroute.c
975
strerror(errno));
usr.sbin/traceroute/traceroute.c
982
strerror(errno));
usr.sbin/traceroute6/traceroute6.c
422
errno = 0;
usr.sbin/traceroute6/traceroute6.c
424
if (errno || !*optarg || *ep || first_hop > 255) {
usr.sbin/traceroute6/traceroute6.c
467
errno = 0;
usr.sbin/traceroute6/traceroute6.c
469
if (errno || !*optarg || *ep || max_hops > 255) {
usr.sbin/traceroute6/traceroute6.c
483
errno = 0;
usr.sbin/traceroute6/traceroute6.c
485
if (errno || !*optarg || *ep) {
usr.sbin/traceroute6/traceroute6.c
498
errno = 0;
usr.sbin/traceroute6/traceroute6.c
500
if (errno || !*optarg || *ep) {
usr.sbin/traceroute6/traceroute6.c
526
errno = 0;
usr.sbin/traceroute6/traceroute6.c
528
if (errno || !*optarg || *ep || ltclass > 255) {
usr.sbin/traceroute6/traceroute6.c
546
errno = 0;
usr.sbin/traceroute6/traceroute6.c
548
if (errno || !*optarg || *ep) {
usr.sbin/traceroute6/traceroute6.c
657
errno = 0;
usr.sbin/traceroute6/traceroute6.c
659
if (errno || *ep) {
usr.sbin/traceroute6/traceroute6.c
781
strerror(errno));
usr.sbin/traceroute6/traceroute6.c
920
fprintf(stderr, "connect: %s\n", strerror(errno));
usr.sbin/traceroute6/traceroute6.c
930
fprintf(stderr, "caph_enter_casper: %s\n", strerror(errno));
usr.sbin/traceroute6/traceroute6.c
937
strerror(errno));
usr.sbin/traceroute6/traceroute6.c
943
strerror(errno));
usr.sbin/trim/trim.c
160
if (errno == ENOENT && path[0] != '/') {
usr.sbin/trim/trim.c
228
if (errno == EOPNOTSUPP && verbose && !candelete(fd))
usr.sbin/tzsetup/tzsetup.c
545
errno = 0;
usr.sbin/tzsetup/tzsetup.c
547
if (errno != 0)
usr.sbin/tzsetup/tzsetup.c
759
strerror(errno));
usr.sbin/tzsetup/tzsetup.c
763
if (unlink(path_localtime) < 0 && errno != ENOENT) {
usr.sbin/tzsetup/tzsetup.c
766
path_localtime, strerror(errno));
usr.sbin/tzsetup/tzsetup.c
774
strerror(errno));
usr.sbin/uhsoctl/uhsoctl.c
1508
if (running && errno == EINTR)
usr.sbin/uhsoctl/uhsoctl.c
622
} while (error <= 0 && errno == EINTR);
usr.sbin/uhsoctl/uhsoctl.c
927
logger(LOG_ERR, "getifaddrs: %s", strerror(errno));
usr.sbin/uhsoctl/uhsoctl.c
945
logger(LOG_ERR, "socket PF_ROUTE: %s", strerror(errno));
usr.sbin/uhsoctl/uhsoctl.c
977
strerror(errno));
usr.sbin/usbconfig/usbconfig.c
233
errno = 0;
usr.sbin/usbconfig/usbconfig.c
235
if (errno) {
usr.sbin/usbconfig/usbconfig.c
250
errno = 0;
usr.sbin/usbconfig/usbconfig.c
252
if (errno) {
usr.sbin/usbdump/usbdump.c
698
switch (errno) {
usr.sbin/usbdump/usbdump.c
702
fprintf(stderr, "read: %s\n", strerror(errno));
usr.sbin/usbdump/usbdump.c
875
errno = 0;
usr.sbin/usbdump/usbdump.c
878
if (snapshot == 0 && errno == EINVAL)
usr.sbin/valectl/valectl.c
189
if (errno == ENOENT)
usr.sbin/valectl/valectl.c
192
fprintf(stderr, "failed to list all: %s\n", strerror(errno));
usr.sbin/valectl/valectl.c
303
action, a->name, strerror(errno));
usr.sbin/vidcontrol/vidcontrol.c
141
save_errno = errno;
usr.sbin/vidcontrol/vidcontrol.c
171
errno = save_errno;
usr.sbin/vidcontrol/vidcontrol.c
843
save_errno = errno;
usr.sbin/vidcontrol/vidcontrol.c
851
errno = save_errno;
usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c
404
if (errno != EINTR && errno != EAGAIN)
usr.sbin/virtual_oss/virtual_oss/httpd.c
756
} else if (read(fd, buf, sizeof(buf)) != -1 || errno != EWOULDBLOCK) {
usr.sbin/virtual_oss/virtual_oss/main.c
2556
if (kldload("cuse.ko") < 0 && errno != EEXIST)
usr.sbin/watchdogd/watchdogd.c
147
if (errno == EEXIST) {
usr.sbin/watchdogd/watchdogd.c
484
errno = 0;
usr.sbin/watchdogd/watchdogd.c
486
if ((p != NULL && *p != '\0') || errno != 0)
usr.sbin/ypbind/ypbind.c
398
if (flock(yplockfd, LOCK_EX|LOCK_NB) == -1 && errno == EWOULDBLOCK)
usr.sbin/ypbind/ypbind.c
495
if (errno != EINTR)
usr.sbin/ypldap/aldap.c
751
errno = EINVAL;
usr.sbin/ypldap/aldap.c
761
errno = EINVAL;
usr.sbin/ypldap/ber.c
1011
errno = ERANGE;
usr.sbin/ypldap/ber.c
1038
errno = ERANGE;
usr.sbin/ypldap/ber.c
1051
errno = ERANGE;
usr.sbin/ypldap/ber.c
1057
errno = EINVAL;
usr.sbin/ypldap/ber.c
1090
errno = ECANCELED;
usr.sbin/ypldap/ber.c
1194
errno = ECANCELED;
usr.sbin/ypldap/ber.c
1266
if (errno == EINTR || errno == EAGAIN)
usr.sbin/ypldap/ldapclient.c
170
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
176
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
266
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
272
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/log.c
100
logit(LOG_CRIT, "%s", strerror(errno));
usr.sbin/ypldap/log.c
145
logit(LOG_CRIT, "fatal: %s", strerror(errno));
usr.sbin/ypldap/log.c
147
if (errno)
usr.sbin/ypldap/log.c
149
emsg, strerror(errno));
usr.sbin/ypldap/log.c
159
errno = 0;
usr.sbin/ypldap/log.c
93
logit(LOG_CRIT, "%s", strerror(errno));
usr.sbin/ypldap/log.c
97
if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
usr.sbin/ypldap/ypldap.c
364
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap.c
370
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap_dns.c
143
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap_dns.c
149
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/yppush/yppush_main.c
242
if (errno == EINTR)
usr.sbin/yppush/yppush_main.c
244
yp_error("select failed: %s", strerror(errno));
usr.sbin/yppush/yppush_main.c
305
strerror(errno));
usr.sbin/yppush/yppush_main.c
566
strerror(errno));
usr.sbin/yppush/yppush_main.c
576
strerror(errno));
usr.sbin/ypserv/yp_access.c
129
if (errno == ENOENT) {
usr.sbin/ypserv/yp_access.c
136
yp_error("fopen(%s) failed: %s", path, strerror(errno));
usr.sbin/ypserv/yp_dblookup.c
405
switch (errno) {
usr.sbin/ypserv/yp_dnslookup.c
362
yp_error("recvfrom failed: %s", strerror(errno));
usr.sbin/ypserv/yp_dnslookup.c
419
yp_error("getsockopt failed: %s", strerror(errno));
usr.sbin/ypserv/yp_dnslookup.c
477
yp_error("getsockopt failed: %s", strerror(errno));
usr.sbin/ypserv/yp_main.c
157
if (errno == EINTR) {
usr.sbin/ypserv/yp_main.c
193
saved_errno = errno;
usr.sbin/ypserv/yp_main.c
200
errno = saved_errno;
usr.sbin/ypserv/yp_main.c
211
errno = saved_errno;
usr.sbin/ypserv/yp_main.c
292
if (errno == EAFNOSUPPORT)
usr.sbin/ypserv/yp_main.c
300
strerror(errno));
usr.sbin/ypserv/yp_main.c
305
if ((errno != EPERM) ||
usr.sbin/ypserv/yp_main.c
311
strerror(errno));
usr.sbin/ypserv/yp_main.c
323
strerror(errno));
usr.sbin/ypserv/yp_main.c
346
strerror(errno));
usr.sbin/ypserv/yp_main.c
358
strerror(errno));
usr.sbin/ypserv/yp_main.c
370
strerror(errno));
usr.sbin/ypserv/yp_main.c
384
_msgout("malloc failed: %s", strerror(errno));
usr.sbin/ypserv/yp_main.c
410
" %s", nconf->nc_netid, strerror(errno));
usr.sbin/ypserv/yp_main.c
417
nconf->nc_netid, strerror(errno));
usr.sbin/ypserv/yp_main.c
527
_msgout("madvise(): %s", strerror(errno));
usr.sbin/ypserv/yp_server.c
398
yp_error("ypxfr execl(%s): %s", ypxfr_command, strerror(errno));
usr.sbin/ypserv/yp_server.c
410
yp_error("ypxfr fork(): %s", strerror(errno));
usr.sbin/ypserv/yp_server.c
534
yp_error("ypall fork(): %s", strerror(errno));
usr.sbin/ypserv/yp_server.c
62
errno = EEXIST;
usr.sbin/ypserv/yp_server.c
691
yp_error("opendir(%s) failed: %s", yp_mapdir, strerror(errno));
usr.sbin/ypserv/yp_server.c
710
yp_error("strdup() failed: %s",strerror(errno));