git: 720177158ccd - stable/13 - opencrypto: Allow kern.crypto.allow_soft to be specified as a tunable
Mark Johnston
markj at FreeBSD.org
Mon Sep 27 00:25:07 UTC 2021
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=720177158ccdfe2b706ed232126621f5cb73aef3
commit 720177158ccdfe2b706ed232126621f5cb73aef3
Author: Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-09-20 16:07:29 +0000
Commit: Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-09-27 00:25:00 +0000
opencrypto: Allow kern.crypto.allow_soft to be specified as a tunable
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 9e0c051249e3832e0f6a0067058ff9735677f3d5)
---
sys/opencrypto/crypto.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/opencrypto/crypto.c b/sys/opencrypto/crypto.c
index 0316eb35361a..59c74c86de00 100644
--- a/sys/opencrypto/crypto.c
+++ b/sys/opencrypto/crypto.c
@@ -214,11 +214,11 @@ SYSCTL_INT(_kern, OID_AUTO, userasymcrypto, CTLFLAG_RW,
#endif
int crypto_devallowsoft = 0;
-SYSCTL_INT(_kern_crypto, OID_AUTO, allow_soft, CTLFLAG_RW,
+SYSCTL_INT(_kern_crypto, OID_AUTO, allow_soft, CTLFLAG_RWTUN,
&crypto_devallowsoft, 0,
"Enable use of software crypto by /dev/crypto");
#ifdef COMPAT_FREEBSD12
-SYSCTL_INT(_kern, OID_AUTO, cryptodevallowsoft, CTLFLAG_RW,
+SYSCTL_INT(_kern, OID_AUTO, cryptodevallowsoft, CTLFLAG_RWTUN,
&crypto_devallowsoft, 0,
"Enable/disable use of software crypto by /dev/crypto");
#endif
More information about the dev-commits-src-all
mailing list