From owner-freebsd-hackers@freebsd.org Wed Mar 13 19:53:43 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3960153FD91 for ; Wed, 13 Mar 2019 19:53:43 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 6D9346D350 for ; Wed, 13 Mar 2019 19:53:42 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (v-critter.freebsd.dk [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 432892025628; Wed, 13 Mar 2019 19:53:41 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id x2DJreYg000887 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 13 Mar 2019 19:53:41 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id x2DJreA5000886; Wed, 13 Mar 2019 19:53:40 GMT (envelope-from phk) To: Warner Losh cc: Alfonso Siciliano , FreeBSD Hackers Subject: Re: kern_sysctl.c interface In-reply-to: From: "Poul-Henning Kamp" References: <20190313013530.d96fc84c362bb489178357eb@gmail.com> <78358.1552464694@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <884.1552506820.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Wed, 13 Mar 2019 19:53:40 +0000 Message-ID: <885.1552506820@critter.freebsd.dk> X-Rspamd-Queue-Id: 6D9346D350 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.73 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.71)[0.713,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.dk]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.72)[0.722,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: phk.freebsd.dk]; NEURAL_SPAM_LONG(0.91)[0.915,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU]; FROM_NEQ_ENVFROM(0.00)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; IP_SCORE(0.09)[ip: (0.17), ipnet: 130.225.0.0/16(0.08), asn: 1835(0.23), country: EU(-0.00)]; FREEMAIL_CC(0.00)[gmail.com] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2019 19:53:43 -0000 -------- In message , Warner Losh writes: >> > * This interface is under work and consideration, and should probably >> > * be killed with a big axe by the first person who can find the time. >> > * (be aware though, that the proper interface isn't as obvious as it >> > * may seem, there are various conflicting requirements. >> >> I think that is a comment I added more than 20 years ago because we, >> or at least I, wondered if the sysctl-OID tree should be moved to >> something SNMP-OID compatible. >> >> I dont know of anything happening after that. > >I suspect after 20ish years the comment can be removed, eh? Well, it's still a butt-ugly and inefficient interface... -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .