The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=9e0c051249e3832e0f6a0067058ff9735677f3d5
commit 9e0c051249e3832e0f6a0067058ff9735677f3d5 Author: Mark Johnston <ma...@freebsd.org> AuthorDate: 2021-09-20 16:07:29 +0000 Commit: Mark Johnston <ma...@freebsd.org> CommitDate: 2021-09-20 16:07:29 +0000 opencrypto: Allow kern.crypto.allow_soft to be specified as a tunable MFC after: 1 week Sponsored by: The FreeBSD Foundation --- 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 9a992100f222..ef8422d5f32c 100644 --- a/sys/opencrypto/crypto.c +++ b/sys/opencrypto/crypto.c @@ -189,11 +189,11 @@ SYSCTL_INT(_kern, OID_AUTO, crypto_workers_num, CTLFLAG_RDTUN, static uma_zone_t cryptop_zone; 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 _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"