Commit 11f2cac4 authored by David Howells's avatar David Howells Committed by Linus Torvalds

[PATCH] Shift key-related error codes up and insert ECANCELED

This patch shifts the key-related error codes up by one and inserts an
ECANCELED error code where not already defined.  It seems that has been
defined in glibc without passing it back to the kernel:-/
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 167fac26
......@@ -110,9 +110,10 @@
#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 */
#define ECANCELED 131 /* Operation Cancelled */
#define ENOKEY 132 /* Required key not available */
#define EKEYEXPIRED 133 /* Key has expired */
#define EKEYREVOKED 134 /* Key has been revoked */
#define EKEYREJECTED 135 /* Key was rejected by service */
#endif
......@@ -96,9 +96,10 @@
#define ENOMEDIUM 123 /* No medium found */
#define EMEDIUMTYPE 124 /* Wrong medium type */
#define ENOKEY 125 /* Required key not available */
#define EKEYEXPIRED 126 /* Key has expired */
#define EKEYREVOKED 127 /* Key has been revoked */
#define EKEYREJECTED 128 /* Key was rejected by service */
#define ECANCELED 125 /* Operation Canceled */
#define ENOKEY 126 /* Required key not available */
#define EKEYEXPIRED 127 /* Key has expired */
#define EKEYREVOKED 128 /* Key has been revoked */
#define EKEYREJECTED 129 /* Key was rejected by service */
#endif
......@@ -101,9 +101,10 @@
#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 */
#define ECANCELED 127 /* Operation Cancelled */
#define ENOKEY 128 /* Required key not available */
#define EKEYEXPIRED 129 /* Key has expired */
#define EKEYREVOKED 130 /* Key has been revoked */
#define EKEYREJECTED 131 /* Key was rejected by service */
#endif
......@@ -101,9 +101,10 @@
#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 */
#define ECANCELED 127 /* Operation Cancelled */
#define ENOKEY 128 /* Required key not available */
#define EKEYEXPIRED 129 /* Key has expired */
#define EKEYREVOKED 130 /* Key has been revoked */
#define EKEYREJECTED 131 /* 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