* [PATCH] New error codes for Alpha, MIPS, PA-RISC, Sparc & Sparc64 [not found] <20040830232445.0b5aad79.akpm@osdl.org> @ 2004-08-31 15:12 ` David Howells 2004-08-31 15:12 ` David Howells 1 sibling, 0 replies; 6+ messages in thread From: David Howells @ 2004-08-31 15:12 UTC (permalink / raw) To: Andrew Morton, rth, linux-mips, parisc-linux, sparclinux; +Cc: linux-kernel The attached patch adds the new error codes I added for key-related errors to those archs that don't make use of <asm-generic/errno.h>, including Alpha, MIPS, PA-RISC, Sparc and Sparc64. This is required to compile with CONFIG_KEYS on those platforms. Signed-Off-By: David Howells <dhowells@redhat.com> --- warthog>diffstat keys-errors-2681mm4.diff asm-alpha/errno.h | 4 ++++ asm-mips/errno.h | 4 ++++ asm-parisc/errno.h | 4 ++++ asm-sparc/errno.h | 4 ++++ asm-sparc64/errno.h | 4 ++++ 5 files changed, 20 insertions(+) diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-alpha/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-alpha/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-alpha/errno.h 2004-06-18 13:42:21.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-alpha/errno.h 2004-08-31 10:10:11.466082943 +0100 @@ -110,5 +110,9 @@ #define ENOMEDIUM 129 /* No medium found */ #define EMEDIUMTYPE 130 /* Wrong medium type */ +#define ENOKEY 131 /* Required key not available */ +#define EKEYEXPIRED 132 /* Key has expired */ +#define EKEYREVOKED 133 /* Key has been revoked */ +#define EKEYREJECTED 134 /* Key was rejected by service */ #endif diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-mips/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-mips/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-mips/errno.h 2004-06-18 13:42:12.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-mips/errno.h 2004-08-31 10:12:16.492662321 +0100 @@ -110,6 +110,10 @@ */ #define ENOMEDIUM 159 /* No medium found */ #define EMEDIUMTYPE 160 /* Wrong medium type */ +#define ENOKEY 161 /* Required key not available */ +#define EKEYEXPIRED 162 /* Key has expired */ +#define EKEYREVOKED 163 /* Key has been revoked */ +#define EKEYREJECTED 164 /* Key was rejected by service */ #define EDQUOT 1133 /* Quota exceeded */ diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-parisc/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-parisc/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-parisc/errno.h 2004-06-18 13:42:13.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-parisc/errno.h 2004-08-31 10:11:51.478747181 +0100 @@ -67,6 +67,10 @@ #define EREMOTEIO 181 /* Remote I/O error */ #define ENOMEDIUM 182 /* No medium found */ #define EMEDIUMTYPE 183 /* Wrong medium type */ +#define ENOKEY 184 /* Required key not available */ +#define EKEYEXPIRED 185 /* Key has expired */ +#define EKEYREVOKED 186 /* Key has been revoked */ +#define EKEYREJECTED 187 /* Key was rejected by service */ /* We now return you to your regularly scheduled HPUX. */ diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-sparc/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-sparc/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-sparc/errno.h 2004-06-18 13:42:21.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-sparc/errno.h 2004-08-31 10:10:55.134443332 +0100 @@ -101,5 +101,9 @@ #define ENOMEDIUM 125 /* No medium found */ #define EMEDIUMTYPE 126 /* Wrong medium type */ +#define ENOKEY 127 /* Required key not available */ +#define EKEYEXPIRED 128 /* Key has expired */ +#define EKEYREVOKED 129 /* Key has been revoked */ +#define EKEYREJECTED 130 /* Key was rejected by service */ #endif diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-sparc64/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-sparc64/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-sparc64/errno.h 2004-06-18 13:42:22.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-sparc64/errno.h 2004-08-31 10:09:36.730977977 +0100 @@ -101,5 +101,9 @@ #define ENOMEDIUM 125 /* No medium found */ #define EMEDIUMTYPE 126 /* Wrong medium type */ +#define ENOKEY 127 /* Required key not available */ +#define EKEYEXPIRED 128 /* Key has expired */ +#define EKEYREVOKED 129 /* Key has been revoked */ +#define EKEYREJECTED 130 /* Key was rejected by service */ #endif /* !(_SPARC64_ERRNO_H) */ ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] New error codes for Alpha, MIPS, PA-RISC, Sparc & Sparc64 @ 2004-08-31 15:12 ` David Howells 0 siblings, 0 replies; 6+ messages in thread From: David Howells @ 2004-08-31 15:12 UTC (permalink / raw) To: Andrew Morton, rth, linux-mips, parisc-linux, sparclinux; +Cc: linux-kernel The attached patch adds the new error codes I added for key-related errors to those archs that don't make use of <asm-generic/errno.h>, including Alpha, MIPS, PA-RISC, Sparc and Sparc64. This is required to compile with CONFIG_KEYS on those platforms. Signed-Off-By: David Howells <dhowells@redhat.com> --- warthog>diffstat keys-errors-2681mm4.diff asm-alpha/errno.h | 4 ++++ asm-mips/errno.h | 4 ++++ asm-parisc/errno.h | 4 ++++ asm-sparc/errno.h | 4 ++++ asm-sparc64/errno.h | 4 ++++ 5 files changed, 20 insertions(+) diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-alpha/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-alpha/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-alpha/errno.h 2004-06-18 13:42:21.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-alpha/errno.h 2004-08-31 10:10:11.466082943 +0100 @@ -110,5 +110,9 @@ #define ENOMEDIUM 129 /* No medium found */ #define EMEDIUMTYPE 130 /* Wrong medium type */ +#define ENOKEY 131 /* Required key not available */ +#define EKEYEXPIRED 132 /* Key has expired */ +#define EKEYREVOKED 133 /* Key has been revoked */ +#define EKEYREJECTED 134 /* Key was rejected by service */ #endif diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-mips/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-mips/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-mips/errno.h 2004-06-18 13:42:12.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-mips/errno.h 2004-08-31 10:12:16.492662321 +0100 @@ -110,6 +110,10 @@ */ #define ENOMEDIUM 159 /* No medium found */ #define EMEDIUMTYPE 160 /* Wrong medium type */ +#define ENOKEY 161 /* Required key not available */ +#define EKEYEXPIRED 162 /* Key has expired */ +#define EKEYREVOKED 163 /* Key has been revoked */ +#define EKEYREJECTED 164 /* Key was rejected by service */ #define EDQUOT 1133 /* Quota exceeded */ diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-parisc/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-parisc/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-parisc/errno.h 2004-06-18 13:42:13.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-parisc/errno.h 2004-08-31 10:11:51.478747181 +0100 @@ -67,6 +67,10 @@ #define EREMOTEIO 181 /* Remote I/O error */ #define ENOMEDIUM 182 /* No medium found */ #define EMEDIUMTYPE 183 /* Wrong medium type */ +#define ENOKEY 184 /* Required key not available */ +#define EKEYEXPIRED 185 /* Key has expired */ +#define EKEYREVOKED 186 /* Key has been revoked */ +#define EKEYREJECTED 187 /* Key was rejected by service */ /* We now return you to your regularly scheduled HPUX. */ diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-sparc/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-sparc/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-sparc/errno.h 2004-06-18 13:42:21.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-sparc/errno.h 2004-08-31 10:10:55.134443332 +0100 @@ -101,5 +101,9 @@ #define ENOMEDIUM 125 /* No medium found */ #define EMEDIUMTYPE 126 /* Wrong medium type */ +#define ENOKEY 127 /* Required key not available */ +#define EKEYEXPIRED 128 /* Key has expired */ +#define EKEYREVOKED 129 /* Key has been revoked */ +#define EKEYREJECTED 130 /* Key was rejected by service */ #endif diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-sparc64/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-sparc64/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-sparc64/errno.h 2004-06-18 13:42:22.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-sparc64/errno.h 2004-08-31 10:09:36.730977977 +0100 @@ -101,5 +101,9 @@ #define ENOMEDIUM 125 /* No medium found */ #define EMEDIUMTYPE 126 /* Wrong medium type */ +#define ENOKEY 127 /* Required key not available */ +#define EKEYEXPIRED 128 /* Key has expired */ +#define EKEYREVOKED 129 /* Key has been revoked */ +#define EKEYREJECTED 130 /* Key was rejected by service */ #endif /* !(_SPARC64_ERRNO_H) */ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [parisc-linux] [PATCH] New error codes for Alpha, MIPS, PA-RISC, Sparc & Sparc64 2004-08-31 15:12 ` David Howells @ 2004-08-31 17:00 ` Alan Cox -1 siblings, 0 replies; 6+ messages in thread From: Alan Cox @ 2004-08-31 17:00 UTC (permalink / raw) To: David Howells Cc: Andrew Morton, rth, linux-mips, HPPA List, sparclinux, Linux Kernel Mailing List On Maw, 2004-08-31 at 16:12, David Howells wrote: > The attached patch adds the new error codes I added for key-related errors to > those archs that don't make use of <asm-generic/errno.h>, including Alpha, > MIPS, PA-RISC, Sparc and Sparc64. This is required to compile with CONFIG_KEYS > on those platforms. The patch seems to be mixing the fixups for remapping these error codes into sparc, hpux, osf/1 and other compatibility layers on the platforms ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [parisc-linux] [PATCH] New error codes for Alpha, MIPS, @ 2004-08-31 17:00 ` Alan Cox 0 siblings, 0 replies; 6+ messages in thread From: Alan Cox @ 2004-08-31 17:00 UTC (permalink / raw) To: David Howells Cc: Andrew Morton, rth, linux-mips, HPPA List, sparclinux, Linux Kernel Mailing List On Maw, 2004-08-31 at 16:12, David Howells wrote: > The attached patch adds the new error codes I added for key-related errors to > those archs that don't make use of <asm-generic/errno.h>, including Alpha, > MIPS, PA-RISC, Sparc and Sparc64. This is required to compile with CONFIG_KEYS > on those platforms. The patch seems to be mixing the fixups for remapping these error codes into sparc, hpux, osf/1 and other compatibility layers on the platforms ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [parisc-linux] [PATCH] New error codes for Alpha, MIPS, PA-RISC, Sparc & Sparc64 2004-08-31 15:12 ` David Howells (?) (?) @ 2004-08-31 17:00 ` Alan Cox -1 siblings, 0 replies; 6+ messages in thread From: Alan Cox @ 2004-08-31 17:00 UTC (permalink / raw) To: David Howells Cc: Andrew Morton, linux-mips, sparclinux, rth, Linux Kernel Mailing List, HPPA List On Maw, 2004-08-31 at 16:12, David Howells wrote: > The attached patch adds the new error codes I added for key-related errors to > those archs that don't make use of <asm-generic/errno.h>, including Alpha, > MIPS, PA-RISC, Sparc and Sparc64. This is required to compile with CONFIG_KEYS > on those platforms. The patch seems to be mixing the fixups for remapping these error codes into sparc, hpux, osf/1 and other compatibility layers on the platforms _______________________________________________ parisc-linux mailing list parisc-linux@lists.parisc-linux.org http://lists.parisc-linux.org/mailman/listinfo/parisc-linux ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] New error codes for Alpha, MIPS, PA-RISC, Sparc & Sparc64 [not found] <20040830232445.0b5aad79.akpm@osdl.org> 2004-08-31 15:12 ` David Howells @ 2004-08-31 15:12 ` David Howells 1 sibling, 0 replies; 6+ messages in thread From: David Howells @ 2004-08-31 15:12 UTC (permalink / raw) To: Andrew Morton, rth, linux-mips, parisc-linux, sparclinux; +Cc: linux-kernel The attached patch adds the new error codes I added for key-related errors to those archs that don't make use of <asm-generic/errno.h>, including Alpha, MIPS, PA-RISC, Sparc and Sparc64. This is required to compile with CONFIG_KEYS on those platforms. Signed-Off-By: David Howells <dhowells@redhat.com> --- warthog>diffstat keys-errors-2681mm4.diff asm-alpha/errno.h | 4 ++++ asm-mips/errno.h | 4 ++++ asm-parisc/errno.h | 4 ++++ asm-sparc/errno.h | 4 ++++ asm-sparc64/errno.h | 4 ++++ 5 files changed, 20 insertions(+) diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-alpha/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-alpha/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-alpha/errno.h 2004-06-18 13:42:21.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-alpha/errno.h 2004-08-31 10:10:11.466082943 +0100 @@ -110,5 +110,9 @@ #define ENOMEDIUM 129 /* No medium found */ #define EMEDIUMTYPE 130 /* Wrong medium type */ +#define ENOKEY 131 /* Required key not available */ +#define EKEYEXPIRED 132 /* Key has expired */ +#define EKEYREVOKED 133 /* Key has been revoked */ +#define EKEYREJECTED 134 /* Key was rejected by service */ #endif diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-mips/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-mips/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-mips/errno.h 2004-06-18 13:42:12.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-mips/errno.h 2004-08-31 10:12:16.492662321 +0100 @@ -110,6 +110,10 @@ */ #define ENOMEDIUM 159 /* No medium found */ #define EMEDIUMTYPE 160 /* Wrong medium type */ +#define ENOKEY 161 /* Required key not available */ +#define EKEYEXPIRED 162 /* Key has expired */ +#define EKEYREVOKED 163 /* Key has been revoked */ +#define EKEYREJECTED 164 /* Key was rejected by service */ #define EDQUOT 1133 /* Quota exceeded */ diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-parisc/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-parisc/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-parisc/errno.h 2004-06-18 13:42:13.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-parisc/errno.h 2004-08-31 10:11:51.478747181 +0100 @@ -67,6 +67,10 @@ #define EREMOTEIO 181 /* Remote I/O error */ #define ENOMEDIUM 182 /* No medium found */ #define EMEDIUMTYPE 183 /* Wrong medium type */ +#define ENOKEY 184 /* Required key not available */ +#define EKEYEXPIRED 185 /* Key has expired */ +#define EKEYREVOKED 186 /* Key has been revoked */ +#define EKEYREJECTED 187 /* Key was rejected by service */ /* We now return you to your regularly scheduled HPUX. */ diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-sparc/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-sparc/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-sparc/errno.h 2004-06-18 13:42:21.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-sparc/errno.h 2004-08-31 10:10:55.134443332 +0100 @@ -101,5 +101,9 @@ #define ENOMEDIUM 125 /* No medium found */ #define EMEDIUMTYPE 126 /* Wrong medium type */ +#define ENOKEY 127 /* Required key not available */ +#define EKEYEXPIRED 128 /* Key has expired */ +#define EKEYREVOKED 129 /* Key has been revoked */ +#define EKEYREJECTED 130 /* Key was rejected by service */ #endif diff -uNrp linux-2.6.8.1-mm4-keys/include/asm-sparc64/errno.h linux-2.6.8.1-mm4-keys-read/include/asm-sparc64/errno.h --- linux-2.6.8.1-mm4-keys/include/asm-sparc64/errno.h 2004-06-18 13:42:22.000000000 +0100 +++ linux-2.6.8.1-mm4-keys-read/include/asm-sparc64/errno.h 2004-08-31 10:09:36.730977977 +0100 @@ -101,5 +101,9 @@ #define ENOMEDIUM 125 /* No medium found */ #define EMEDIUMTYPE 126 /* Wrong medium type */ +#define ENOKEY 127 /* Required key not available */ +#define EKEYEXPIRED 128 /* Key has expired */ +#define EKEYREVOKED 129 /* Key has been revoked */ +#define EKEYREJECTED 130 /* Key was rejected by service */ #endif /* !(_SPARC64_ERRNO_H) */ ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-08-31 18:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20040830232445.0b5aad79.akpm@osdl.org>
2004-08-31 15:12 ` [PATCH] New error codes for Alpha, MIPS, PA-RISC, Sparc & Sparc64 David Howells
2004-08-31 15:12 ` David Howells
2004-08-31 17:00 ` [parisc-linux] " Alan Cox
2004-08-31 17:00 ` [parisc-linux] [PATCH] New error codes for Alpha, MIPS, Alan Cox
2004-08-31 17:00 ` [parisc-linux] [PATCH] New error codes for Alpha, MIPS, PA-RISC, Sparc & Sparc64 Alan Cox
2004-08-31 15:12 ` David Howells
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.