From owner-cvs-src@FreeBSD.ORG Tue Oct 21 12:43:07 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 023EE16A4C0 for ; Tue, 21 Oct 2003 12:43:07 -0700 (PDT) Received: from mail.speakeasy.net (mail7.speakeasy.net [216.254.0.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4496A43F75 for ; Tue, 21 Oct 2003 12:43:04 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 10518 invoked from network); 21 Oct 2003 19:43:03 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 21 Oct 2003 19:43:03 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h9LJgxce088219; Tue, 21 Oct 2003 15:42:59 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200310211648.h9LGmXFK087432@repoman.freebsd.org> Date: Tue, 21 Oct 2003 15:43:11 -0400 (EDT) From: John Baldwin To: Mike Silbersack X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/sys sysctl.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 19:43:07 -0000 On 21-Oct-2003 Mike Silbersack wrote: > silby 2003/10/21 09:48:33 PDT > > FreeBSD src repository > > Modified files: > sys/sys sysctl.h > Log: > Add another sysctl flag, CTLFLAG_TUN, which is a hint to the userland > sysctl that a given variable is tunable. > > Also added is CTLFLAG_RDTUN, which is CTLFLAG_RD|CTLFLAG_TUN; TUN does > not always imply read-only, so RDTUN should be used where RD was used > before. Why have a RDTUN special case flag? You can just add CTLFLAG_TUN to the appropriate places. The TUN flag seems somewhat dubious as well for that matter. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/