From patchwork Mon Mar 7 15:02:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Howells X-Patchwork-Id: 615821 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p27F36UK007177 for ; Mon, 7 Mar 2011 15:03:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754495Ab1CGPCc (ORCPT ); Mon, 7 Mar 2011 10:02:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29097 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754359Ab1CGPCY (ORCPT ); Mon, 7 Mar 2011 10:02:24 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p27F2L9M032006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Mar 2011 10:02:21 -0500 Received: from warthog.procyon.org.uk ([10.3.112.15]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p27F2ItJ022941; Mon, 7 Mar 2011 10:02:19 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells Subject: [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors To: linux-security-module@vger.kernel.org, keyrings@linux-nfs.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, linux-afs@lists.infradead.org, linux-api@vger.kernel.org Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Date: Mon, 07 Mar 2011 15:02:18 +0000 Message-ID: <20110307150218.28218.84916.stgit@warthog.procyon.org.uk> In-Reply-To: <20110307150208.28218.89348.stgit@warthog.procyon.org.uk> References: <20110307150208.28218.89348.stgit@warthog.procyon.org.uk> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 07 Mar 2011 15:03:07 +0000 (UTC) diff --git a/arch/alpha/include/asm/errno.h b/arch/alpha/include/asm/errno.h index 519663c..ee8a3f0 100644 --- a/arch/alpha/include/asm/errno.h +++ b/arch/alpha/include/asm/errno.h @@ -122,5 +122,7 @@ #define ERFKILL 138 /* Operation not possible due to RF-kill */ #define ENOAUTHSERVICE 139 /* Authentication service not available */ +#define ENONAMESERVICE 140 /* Network name service unavailable */ +#define ENAMEUNKNOWN 141 /* Network name unknown */ #endif diff --git a/arch/mips/include/asm/errno.h b/arch/mips/include/asm/errno.h index 5fa7fed..faed965 100644 --- a/arch/mips/include/asm/errno.h +++ b/arch/mips/include/asm/errno.h @@ -121,6 +121,8 @@ #define ERFKILL 167 /* Operation not possible due to RF-kill */ #define ENOAUTHSERVICE 168 /* Authentication service not available */ +#define ENONAMESERVICE 169 /* Network name service unavailable */ +#define ENAMEUNKNOWN 170 /* Network name unknown */ #define EDQUOT 1133 /* Quota exceeded */ diff --git a/arch/parisc/include/asm/errno.h b/arch/parisc/include/asm/errno.h index 6a19346..63ee0bc 100644 --- a/arch/parisc/include/asm/errno.h +++ b/arch/parisc/include/asm/errno.h @@ -122,5 +122,7 @@ #define ERFKILL 256 /* Operation not possible due to RF-kill */ #define ENOAUTHSERVICE 257 /* Authentication service not available */ +#define ENONAMESERVICE 258 /* Network name service unavailable */ +#define ENAMEUNKNOWN 259 /* Network name unknown */ #endif diff --git a/arch/sparc/include/asm/errno.h b/arch/sparc/include/asm/errno.h index ab3a26a..f40d5ae 100644 --- a/arch/sparc/include/asm/errno.h +++ b/arch/sparc/include/asm/errno.h @@ -112,5 +112,7 @@ #define ERFKILL 134 /* Operation not possible due to RF-kill */ #define ENOAUTHSERVICE 135 /* Authentication service not available */ +#define ENONAMESERVICE 136 /* Network name service unavailable */ +#define ENAMEUNKNOWN 137 /* Network name unknown */ #endif diff --git a/include/asm-generic/errno.h b/include/asm-generic/errno.h index bcf1908..25878f1 100644 --- a/include/asm-generic/errno.h +++ b/include/asm-generic/errno.h @@ -108,5 +108,7 @@ #define ERFKILL 132 /* Operation not possible due to RF-kill */ #define ENOAUTHSERVICE 133 /* Authentication service not available */ +#define ENONAMESERVICE 134 /* Network name service unavailable */ +#define ENAMEUNKNOWN 135 /* Network name unknown */ #endif