Commit 322f317d authored by David Howells's avatar David Howells Committed by Linus Torvalds

[PATCH] keys: new error codes for Alpha, MIPS, PA-RISC, Sparc & Sparc64

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: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c6ac5ab1
......@@ -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
......@@ -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 */
......
......@@ -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. */
......
......@@ -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
......@@ -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) */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment