* [PATCH] Add some key management specific error codes
@ 2004-08-24 19:20 David Howells
0 siblings, 0 replies; only message in thread
From: David Howells @ 2004-08-24 19:20 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: Kernel Mailing List
Hi Linus, Andrew,
Here's a patch to add some new error codes specific to key management.
David
Signed-Off-By: David Howells <dhowells@redhat.com>
diff -ur linux-2.6.9-rc1/include/asm-generic/errno.h linux-2.6.9-rc1-keys/include/asm-generic/errno.h
--- linux-2.6.9-rc1/include/asm-generic/errno.h 2004-06-18 13:42:13.000000000 +0100
+++ linux-2.6.9-rc1-keys/include/asm-generic/errno.h 2004-08-24 20:18:44.329494242 +0100
@@ -96,5 +96,9 @@
#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 */
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-24 19:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 19:20 [PATCH] Add some key management specific error codes 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.