Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2007 00:23:12 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Alexander Leidinger <netchild@FreeBSD.ORG>
Cc:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>, src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Poul-Henning Kamp <phk@phk.freebsd.dk>, Wilko Bulte <wb@freebie.xs4all.nl>
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 ...
Message-ID:  <20071017202312.GA78324@nagual.pp.ru>
In-Reply-To: <20071016184047.8zh3fl90gksks40c@webmail.leidinger.net>
References:  <20071015152408.10kvgtog6cooc4wc@webmail.leidinger.net> <48258.1192460507@critter.freebsd.dk> <20071015210909.1b6b693b@deskjail> <20071015202115.GP39759@funkthat.com> <20071016184047.8zh3fl90gksks40c@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071017202312.GA78324>