From owner-cvs-all@FreeBSD.ORG Wed Oct 17 20:23:15 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 60B2016A420; Wed, 17 Oct 2007 20:23:15 +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 C537313C4B3; Wed, 17 Oct 2007 20:23:14 +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 l9HKNDuG078408; Thu, 18 Oct 2007 00:23:13 +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=1192652593; bh=yjSlUGM5p/pBlUd33aI41lVjxXx+Vc2J/anh0wK C+Vs=; l=1054; h=Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:User-Agent; b=M7jdOf7YY8rfm5KZgl5e AFi76shuUhXW7fKSg2RjKvGKybYDBUHGOUtuhQ9qHvKSi2mPOKwlqMWCjJM5/k4B6FZ 8u8I4JYvp1zxUd2WhkfFmY6yjgvyRTM/DQjIToD7AZEfo6upCbJ3niTCsJ8WLWPmO2l Nk+itdgr0XpqPRboI= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9HKNCSV078407; Thu, 18 Oct 2007 00:23:12 +0400 (MSD) (envelope-from ache) Date: Thu, 18 Oct 2007 00:23:12 +0400 From: Andrey Chernov To: Alexander Leidinger Message-ID: <20071017202312.GA78324@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Alexander Leidinger , John-Mark Gurney , Poul-Henning Kamp , Wilko Bulte , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <20071015152408.10kvgtog6cooc4wc@webmail.leidinger.net> <48258.1192460507@critter.freebsd.dk> <20071015210909.1b6b693b@deskjail> <20071015202115.GP39759@funkthat.com> <20071016184047.8zh3fl90gksks40c@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071016184047.8zh3fl90gksks40c@webmail.leidinger.net> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: John-Mark Gurney , src-committers@FreeBSD.ORG, 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 files ... 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: Wed, 17 Oct 2007 20:23:15 -0000 gOn Tue, Oct 16, 2007 at 06:40:47PM +0200, Alexander Leidinger wrote: >> like /var/run/log or /var/run/devd.pipe, that a userland daemon running >> as root that has access to ISA I/O and related resources... It's >> that simple... > > And the code doesn't exists. And when it is written, when will it be > bugfree enough? The sysctl way of exporting integer data already has a good > track record, and porting the existing lm sensor (from a project which is > known to take much care about security) was easier to get right. The > project also was not about the lm sensor (I don't go and count the size for > the small lm sensor now). The lm sensor was one example of using it. I > don't think objection to the lm sensor driver should lead to removal of the > framework itself. One possible reaction could be to say that the lm sensor > should move to ports. Why not to put them under DEVFS like /dev/sensors/* ? They are devices after all. I agree that putting devices under sysctl.* is bad idea. -- http://ache.pp.ru/