]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sysctl(9): fix handling string tunables.
authorkaktus <kaktus@FreeBSD.org>
Wed, 15 Apr 2020 16:33:55 +0000 (16:33 +0000)
committerkaktus <kaktus@FreeBSD.org>
Wed, 15 Apr 2020 16:33:55 +0000 (16:33 +0000)
commitaa6f926f8cffd008d9ee47a24d485b872a219b50
tree8b777552c33bf045c84bd711224728d061d86f0c
parent016a30fb17a95e5a0fc5c7d0a12a0e93280b5f0c
sysctl(9): fix handling string tunables.

r357614 changed internals of handling string sysctls, and inadvertently
broke setting string tunables.  Take them into account.

PR: 245463
Reported by: jhb, np
Reviewed by: imp, jhb, kib
Approved by: kib (mentor)
Differential Revision: https://reviews.freebsd.org/D24429
sys/kern/kern_sysctl.c