All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] Add some key management specific error codes
Date: Tue, 24 Aug 2004 20:20:56 +0100	[thread overview]
Message-ID: <25002.1093375256@redhat.com> (raw)


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

                 reply	other threads:[~2004-08-24 19:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25002.1093375256@redhat.com \
    --to=dhowells@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.