From owner-cvs-all Sat Aug 10 12:56:52 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58ADF37B400; Sat, 10 Aug 2002 12:56:47 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9CB143E84; Sat, 10 Aug 2002 12:56:45 -0700 (PDT) (envelope-from mux@FreeBSD.org) Received: from freefall.freebsd.org (mux@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7AJujJU004552; Sat, 10 Aug 2002 12:56:45 -0700 (PDT) (envelope-from mux@freefall.freebsd.org) Received: (from mux@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7AJujNp004551; Sat, 10 Aug 2002 12:56:45 -0700 (PDT) Message-Id: <200208101956.g7AJujNp004551@freefall.freebsd.org> From: Maxime Henrion Date: Sat, 10 Aug 2002 12:56:45 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sysctl.c src/sys/sys sysctl.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mux 2002/08/10 12:56:45 PDT Modified files: sys/kern kern_sysctl.c sys/sys sysctl.h Log: Introduce a new sysctl flag, CTLFLAG_SKIP, which will cause sysctl_sysctl_next() to skip this sysctl. The sysctl is still available, but doesn't appear in a "sysctl -a". This is especially useful when you want to deprecate a sysctl, and add a warning into it to warn users that they are using an old interface. Without this flag, the warning would get echoed when running "sysctl -a" (which happens at boot). Revision Changes Path 1.131 +3 -0 src/sys/kern/kern_sysctl.c 1.108 +1 -0 src/sys/sys/sysctl.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message