summaryrefslogtreecommitdiff
path: root/bin/systrace
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-08-10 00:20:56 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-08-10 00:20:56 +0000
commit4a0f3a0407a3c7ed475819d157dff320e4dcf995 (patch)
tree013ad93ad51648b1e735eda92dad3ed771f63e7d /bin/systrace
parent2adc8708854273065221d48a0b3bb3af9b1a0a9c (diff)
Add newer errnos
Diffstat (limited to 'bin/systrace')
-rw-r--r--bin/systrace/systrace-errno.h12
-rw-r--r--bin/systrace/systrace-error.c12
2 files changed, 20 insertions, 4 deletions
diff --git a/bin/systrace/systrace-errno.h b/bin/systrace/systrace-errno.h
index a80a1ce84ad..49c4af356ed 100644
--- a/bin/systrace/systrace-errno.h
+++ b/bin/systrace/systrace-errno.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: systrace-errno.h,v 1.1 2002/06/04 17:20:04 provos Exp $ */
+/* $OpenBSD: systrace-errno.h,v 1.2 2014/08/10 00:20:55 guenther Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -115,6 +115,14 @@
#define SYSTRACE_EAUTH 80
#define SYSTRACE_ENEEDAUTH 81
#define SYSTRACE_EIPSEC 82
-#define SYSTRACE_ELAST 82
+#define SYSTRACE_ENOATTR 83
+#define SYSTRACE_EILSEQ 84
+#define SYSTRACE_ENOMEDIUM 85
+#define SYSTRACE_EMEDIUMTYPE 86
+#define SYSTRACE_EOVERFLOW 87
+#define SYSTRACE_ECANCELED 88
+#define SYSTRACE_EIDRM 89
+#define SYSTRACE_ENOMSG 90
+#define SYSTRACE_ENOTSUP 91
#endif
diff --git a/bin/systrace/systrace-error.c b/bin/systrace/systrace-error.c
index e95f0f38098..90ef58c9c52 100644
--- a/bin/systrace/systrace-error.c
+++ b/bin/systrace/systrace-error.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: systrace-error.c,v 1.2 2002/12/05 19:39:27 fgsch Exp $ */
+/* $OpenBSD: systrace-error.c,v 1.3 2014/08/10 00:20:55 guenther Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -128,7 +128,15 @@ struct systrace_error {
{ "EAUTH", SYSTRACE_EAUTH },
{ "ENEEDAUTH", SYSTRACE_ENEEDAUTH },
{ "EIPSEC", SYSTRACE_EIPSEC },
- { "ELAST", SYSTRACE_ELAST },
+ { "ENOATTR", SYSTRACE_ENOATTR },
+ { "EILSEQ", SYSTRACE_EILSEQ },
+ { "ENOMEDIUM", SYSTRACE_ENOMEDIUM },
+ { "EMEDIUMTYPE", SYSTRACE_EMEDIUMTYPE },
+ { "EOVERFLOW", SYSTRACE_EOVERFLOW },
+ { "ECANCELED", SYSTRACE_ECANCELED },
+ { "EIDRM", SYSTRACE_EIDRM },
+ { "ENOMSG", SYSTRACE_ENOMSG },
+ { "ENOTSUP", SYSTRACE_ENOTSUP },
{ NULL, 0}
};