Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2021 11:21:07 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2fc0550ec438 - stable/12 - opencrypto: add kern.crypto sysctl node
Message-ID:  <202109161121.18GBL7Sq024725@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=2fc0550ec438e35b9562104c0fd69ef765f459bd

commit 2fc0550ec438e35b9562104c0fd69ef765f459bd
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-09-15 13:23:48 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-09-16 11:20:35 +0000

    opencrypto: add kern.crypto sysctl node
    
    This is a direct commit to facilitate upcoming merges.
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/opencrypto/crypto.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/opencrypto/crypto.c b/sys/opencrypto/crypto.c
index dfd22662e87f..348bcfbbed17 100644
--- a/sys/opencrypto/crypto.c
+++ b/sys/opencrypto/crypto.c
@@ -151,6 +151,9 @@ static	struct mtx crypto_q_mtx;
 #define	CRYPTO_Q_LOCK()		mtx_lock(&crypto_q_mtx)
 #define	CRYPTO_Q_UNLOCK()	mtx_unlock(&crypto_q_mtx)
 
+SYSCTL_NODE(_kern, OID_AUTO, crypto, CTLFLAG_RW, 0,
+    "In-kernel cryptography");
+
 /*
  * Taskqueue used to dispatch the crypto requests
  * that have the CRYPTO_F_ASYNC flag



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