From nobody Thu Feb 16 11:55:54 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PHYLL4pXjz3q5l8; Thu, 16 Feb 2023 11:55:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PHYLL44gmz49T1; Thu, 16 Feb 2023 11:55:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548554; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5XWGLcjW52iSTCz5+Jzn+Xaz9rpXqYFMirmPtDfJjWM=; b=yToSw+EPV2KBy6GDBw2MtdImcq6jvm7JWZ1d5Iy00uPqpsA60b6pLC646Wrh6rXJ5F3NbI tlaJXPsmjEN3AXkaqSBMPiaBfqhUKsNbQE8qEOgFNwGjthKXqzMJ7sd91QUJDzXu3X3gn7 2RlDnJ6Q1OebvQkNrOdRf5UaL1UEr0qg9PMrwLwGoeZVUmk+j16/5Yjc9L2XQ9AN7Kkz+I p9fbc3SdSvBAQrMjHLxK9RPw++cH9sfsTAttq/D4n1ziOw7dFv0aUQ8huP7Xw6FMyMaGpQ oLjlIGZ4zDA3mRS743Xye7XXbPACaLw4w2HObdNAmW4R8cL8epkhGxxYB9Cizw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548554; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5XWGLcjW52iSTCz5+Jzn+Xaz9rpXqYFMirmPtDfJjWM=; b=sJj2k0LA6iqCWB+P6dQ4ZtBIWD5j05aWRixJXsKhJhEYkLi3XUBjDhSnuABICOjWePxcg4 h150i1WFSEuHINKzVjFpDWCZl6ZSKWrC4ydOoFccDhM2BrhoWqDC55+vUOJuf5320tOK+p MiyisdC2XxyZG7BGuPGiuK/4KVcSTV2b0CZaBE2H3k/Yqld+XtpKZw2aUZhehHLHeTd9Gs AD26LeXScnPhPwp5KDorPkeOLBNIXsIqhzVx/BTwtIJR55Fi3KU4oYQ9zflRki56KEEZWh m4t/CZKT0gKkK8bWPXJwBSVTaHxGlYXkPHLCR4MRAXelWvAeQMJxced7VaQZCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676548554; a=rsa-sha256; cv=none; b=eBQcMNSjt8W4Enq+CokKFRZhZl8DXa/9v9xfclvuMpOQVqtHvTy37NoYLLJ/x3bVrzVB0f Dn4Kv8DGt5KPJKblixv3WtPoit586vcy9eMafPJQ57Thzv8g7EF0Su6dRqdrwS/jC6o6xD SdPDDC5J64mmHE3E69rTWcxiWqbmLTbKHCWYpc6Jwuo7KUrGx9kG6n8FJPtfxQrdXx4wL4 VKX/liuXOs3cI1gSyxonMqIANS26BPRN9OXWx+ziImpmWHtxCFRMN7TsrxlJO3k83G03Wj cOy2/Iw8hq6mPe4ysMYRXcc33tlGspLFaGILXZh4a5O2MbLCtSWviFwzUjsgMQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PHYLL2vn2z12hy; Thu, 16 Feb 2023 11:55:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31GBtsDV055278; Thu, 16 Feb 2023 11:55:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GBtsqY055277; Thu, 16 Feb 2023 11:55:54 GMT (envelope-from git) Date: Thu, 16 Feb 2023 11:55:54 GMT Message-Id: <202302161155.31GBtsqY055277@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: 94c98df08d94 - stable/13 - linuxkpi: Define ENOKEY to 126. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 94c98df08d942d19c3fb71d38e17ec59a355b1eb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=94c98df08d942d19c3fb71d38e17ec59a355b1eb commit 94c98df08d942d19c3fb71d38e17ec59a355b1eb Author: Jean-Sébastien Pédron AuthorDate: 2023-01-20 17:14:25 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-16 11:55:14 +0000 linuxkpi: Define ENOKEY to 126. This is the same error code as Linux. This value is unused on FreeBSD. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38149 (cherry picked from commit f27b1399d68585f5edd83645c2a37a1580e7fb93) --- sys/compat/linuxkpi/common/include/linux/errno.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/errno.h b/sys/compat/linuxkpi/common/include/linux/errno.h index 796203422d23..d00dbec86b5a 100644 --- a/sys/compat/linuxkpi/common/include/linux/errno.h +++ b/sys/compat/linuxkpi/common/include/linux/errno.h @@ -35,6 +35,7 @@ #define EBADRQC 56 /* Bad request code */ #define EBADSLT 57 /* Invalid slot */ +#define ENOKEY 126 /* Required key not available */ #define ECHRNG EDOM #define ETIME ETIMEDOUT