From: guenther Date: Sun, 10 Aug 2014 00:20:55 +0000 (+0000) Subject: Add newer errnos X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=25a144cb01af76d0dade2e436a842d9b443bb83e;p=openbsd Add newer errnos --- 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 * 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 * 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} };