svn commit: r356262 - head/sys/kern

Gleb Smirnoff glebius at freebsd.org
Sat Jan 4 01:54:28 UTC 2020


On Thu, Jan 02, 2020 at 01:23:43AM +0000, Pawel Biernacki wrote:
P> Author: kaktus
P> Date: Thu Jan  2 01:23:43 2020
P> New Revision: 356262
P> URL: https://svnweb.freebsd.org/changeset/base/356262
P> 
P> Log:
P>   sysctl: hide 2.x era compat node
P>   
P>   r23081 introduced kern.dummy oid as a semi ABI compat for kern.maxsockbuf
P>   that was moved to a new namespace.  It never functioned as an alias of any
P>   kind and was just returning 0 unconditionally, hence it was probably
P>   provided to keep some 3rd party programmes happy about sysctl(3) not
P>   reporting an error because of non-existing oid.
P>   After nearly 23 years it seems reasonable to just hide it from sysctl(8)
P>   list not to cause unnecessary confusion as for its purpose.
P>   
P>   Reported by:	Antranig Vartanian <antranigv at freebsd.am>
P>   Reviewed by:	kib (mentor)
P>   Approved by:	kib (mentor)
P>   Differential Revision:	https://reviews.freebsd.org/D22982

Is there any reason to keep it at all even hidden after 23 years?


-- 
Gleb Smirnoff


More information about the svn-src-head mailing list