Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2023 11:55:54 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 94c98df08d94 - stable/13 - linuxkpi: Define ENOKEY to 126.
Message-ID:  <202302161155.31GBtsqY055277@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <dumbbell@FreeBSD.org>
AuthorDate: 2023-01-20 17:14:25 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302161155.31GBtsqY055277>