cvs commit: src/share/man/man4 Makefile cpuctl.4 src/sys/amd64/amd64 support.S src/sys/amd64/conf NOTES src/sys/amd64/include cpufunc.h specialreg.h src/sys/conf files.amd64 files.i386 src/sys/dev/cpuctl cpuctl.c ...

Peter Wemm peter at wemm.org
Fri Aug 8 22:37:54 UTC 2008


On Fri, Aug 8, 2008 at 3:08 PM, Stanislav Sedov <stas at freebsd.org> wrote:
> On Fri, 8 Aug 2008 14:02:19 -0700
> "Peter Wemm" <peter at wemm.org> mentioned:
>
>>
>> I just don't think it is particularly useful to add a restriction /
>> priv check for information that is available in an unprivileged
>> fashion by other means.  I think the priv check should go away since
>> it doesn't achieve anything.
>>
>
> Yeah, that's why cpuctl(4) has priv checks only for wrmsr and update
> features. Using this checks one can control how much to grant to the
> root user.

Serves me right for responding to what I thought I read vs actually
reading the code then.. :)

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; KI6FJV
"All of this is for nothing if we don't go to the stars" - JMS/B5
"If Java had true garbage collection, most programs would delete
themselves upon execution." -- Robert Sewell


More information about the cvs-all mailing list