From owner-cvs-all@FreeBSD.ORG Thu Oct 18 01:26:08 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D05D16A41A; Thu, 18 Oct 2007 01:26:08 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 0841F13C4B2; Thu, 18 Oct 2007 01:26:05 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9I1Q3lD082706; Thu, 18 Oct 2007 05:26:03 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1192670763; bh=DjWDnfZ7irRPqIOrocKLslRJhG+0ZCnxZvricx1 w4AQ=; l=1029; h=Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:User-Agent; b=Z8RGiNz3WhUIRpQrJIik tPpx2CbcwuXVkKU7zhi9luBnljmHpdoMiFXf0vXc5DbqoggYEE2Q+PwrCvbM59aqEo2 dxpJGLW/DLIJnvHE7DEpEjpnDX5/tj+RLGVCIuXDdzH3IPjr03v32Ym96jUZFqHdvhy JR3bEPCXbCYkUvmos= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9I1Q32i082704; Thu, 18 Oct 2007 05:26:03 +0400 (MSD) (envelope-from ache) Date: Thu, 18 Oct 2007 05:26:03 +0400 From: Andrey Chernov To: "Constantine A. Murenin" Message-ID: <20071018012602.GB82493@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , "Constantine A. Murenin" , John Baldwin , Alexander Leidinger , Wilko Bulte , Poul-Henning Kamp , src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-src@FreeBSD.ORG References: <200710161809.10755.jhb@freebsd.org> <47153F62.1080709@FreeBSD.org> <200710170903.31724.jhb@freebsd.org> <4716AAF2.5040209@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4716AAF2.5040209@FreeBSD.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: src-committers@FreeBSD.ORG, Alexander Leidinger , John Baldwin , cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Poul-Henning Kamp , Wilko Bulte Subject: Re: cvs commit: src/etc Makefile sensorsd.conf src/etc/defaults rc.conf src/etc/rc.d Makefile sensorsd src/lib/libc/gen sysctl.3 src/sbin/sysctl sysctl.8 sysctl.c src/share/man/man5 rc.conf.5 src/share/man/man9 Makefile sensor_attach.9 src/sys/conf f X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 01:26:08 -0000 On Wed, Oct 17, 2007 at 08:38:10PM -0400, Constantine A. Murenin wrote: > Thus the two-layered version of the framework (sensordev/sensor) defines > its own namespace. Granted, on OpenBSD this is much more valuable than it > is on FreeBSD, since FreeBSD already has dynamic sysctl mechanism (which is > quite polluted by irrelevant and unused values, IMHO). However, many people > are quite certain that the sensor framework is nonetheless valuable even on > FreeBSD, too. It provides something that the plain FreeBSD dynamic sysctl > interface doesn't provide -- simplicity of use for sensor-like devices and > a common namespace with clearly defined restrictions. You can't define enough level of restriction using sysctl framework, f.e. different permissions for different user groups. And with DEVFS it is an easy thing (I don't advocate for completely userland modules, kernel loadable modules are good enough, just dislike idea of using sysctls as poor man devices). -- http://ache.pp.ru/