]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Restore the behavior of allowing empty string in a string sysctl
authorlwhsu <lwhsu@FreeBSD.org>
Mon, 10 Feb 2020 20:53:59 +0000 (20:53 +0000)
committerlwhsu <lwhsu@FreeBSD.org>
Mon, 10 Feb 2020 20:53:59 +0000 (20:53 +0000)
commit9a6525b977321adb4b338eecc0596ad412775058
treebdca9cb486ff0469f2be5b87488a09bceec80af2
parentc27aafcb66a7b68c3ee046d9a05061c8c019ce9a
Restore the behavior of allowing empty string in a string sysctl

Added as a special case to avoid unnecessary memory operations.

Reviewed by: delphij
Sponsored by: The FreeBSD Foundation
sys/kern/kern_sysctl.c