On Thu, May 31, 2001 at 09:50:07PM -0700, Dima Dorfman wrote:
Please review the attached patch to fix the sysctl interface to accept
data of zero length. This fixes the case where one wants to clear a
string exported via sysctl, as in:
Right now, the above will do nothing. With this patch, it will clear
(i.e., set to "") "kern.hostname".
About time, too! Hope this one gets committed soon :)
FWIW, I've been running it here for a couple of months (ever since it
came up back in January), and there have been no adverse effects
of setting string sysctl's to empty strings.
If this sentence didn't exist, somebody would have invented it.
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message