From nobody Wed Jan 25 22:15:05 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 4P2J6x6s1hz3bbVs; Wed, 25 Jan 2023 22:15:05 +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 4P2J6x5nf2z468c; Wed, 25 Jan 2023 22:15:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674684905; 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=r/Jq70RtcVMT4c0E0Cp7Vis/K+nReY2piT+OCZZHNJY=; b=bItI+07UyUmzeUJcQVON5qj4Qatcs85tQsNdWoR4s/69hBFhr3Ca0AXAxYgktydGk4R+jL tWmOAGJDplpHvGdwFv1wRz/shvyPjSGptKFOkHhg5FJ6UgOyO8LpB2Xd4P1H1PB6NaD0yC nPtd/Ekr55mMVTdBiWssoLH9rPiUI4O7JZjORWDHsYA6ybC4X1dcyMX8QdsIRcjfhJIpPe 6s4rdD52PZJPRtzH/unGTeXotOJbZUrvWO5hTx2N5IfGGWeGovDfNhOTkxVKTC8q2ceHdm jHbnvkUtGZwDWAOMHE3GjYWkvzwQp8gxnoao2AFnc36iJ0Rc2Yhm8LNQthbO3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674684905; 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=r/Jq70RtcVMT4c0E0Cp7Vis/K+nReY2piT+OCZZHNJY=; b=bulsBWRkWj1ryQ3VuNe6N+E7FTcQbImS/rAeUTi0k3lXLcK6zpTYUioe+YLsH+abIYi/yH 2wfA9FLbe9bN9GYrWXx8fE96mWBTQ7wN7zwhv2suyLSB0f81Z217Oek18FMDwlrRBmCPKa SiWtOgm1zvSr9ijIGdjPsUvYoBQOipIVn4uybDDSSuwkSzEWM2CfNhjY/PIKKA1iMlukCg FF25sj3rY5mhs1ZN396vchhwNC5JgGjKke3WqFFmlLD1xQT4nZ8ZrcdSMh73BJxSRqNC6R ZsoHfYzcqdODqJ+cdlA01b4yL2EJx1VCwPT82b9Br8i6XJdnXyJEX2foT0joaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674684905; a=rsa-sha256; cv=none; b=dHajCRcm28GV+oJr0wmRtQRdGVl+WtO0qD/bNTAlmhgXD3/MTmefn7Vo8+4GwtCgoPqMOb v/eztzwtcQrwF+K9g7jKS+K9GuWGcK2uG5jpFRGiw7O1+9CPXtPrQsglcBOAgmj89xp9QJ sqNHsuIFo3Nl2YoMj89KIUzoMUXNN8Vu4RcwC6/CSuX5Qkpgj4VWLzRGCjABh2pwg3TalR Pl7WxOWyttZ+0N0etUutyenMqHArIZigFuqudeF3oR4A5Thl1QR2QSSuwuq5Y64X7VwNBe 6V0lxNjtDuluLjH9aFh0/1asw/uUn916EjDO2YjPrBW46MvmQxt+ZFhowc+beg== 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 4P2J6x4tcfz15MR; Wed, 25 Jan 2023 22:15:05 +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 30PMF5BP064226; Wed, 25 Jan 2023 22:15:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30PMF5XG064225; Wed, 25 Jan 2023 22:15:05 GMT (envelope-from git) Date: Wed, 25 Jan 2023 22:15:05 GMT Message-Id: <202301252215.30PMF5XG064225@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: f27b1399d685 - main - 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/main X-Git-Reftype: branch X-Git-Commit: f27b1399d68585f5edd83645c2a37a1580e7fb93 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=f27b1399d68585f5edd83645c2a37a1580e7fb93 commit f27b1399d68585f5edd83645c2a37a1580e7fb93 Author: Jean-Sébastien Pédron AuthorDate: 2023-01-20 17:14:25 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-01-25 21:49:53 +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 --- 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