Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2008 15:37:54 -0700
From:      "Peter Wemm" <peter@wemm.org>
To:        "Stanislav Sedov" <stas@freebsd.org>
Cc:        Kostik Belousov <kostikbel@gmail.com>, cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: 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 ...
Message-ID:  <e7db6d980808081537kda402b0lc71c8a8741bc5d1@mail.gmail.com>
In-Reply-To: <20080809020838.d63be5da.stas@FreeBSD.org>
References:  <200808081631.m78GVG9i088754@repoman.freebsd.org> <200808081427.42536.jhb@freebsd.org> <20080808185133.GG97161@deviant.kiev.zoral.com.ua> <200808081459.54735.jhb@freebsd.org> <e7db6d980808081402w676f91n8570df2e83b1c65d@mail.gmail.com> <20080809020838.d63be5da.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 8, 2008 at 3:08 PM, Stanislav Sedov <stas@freebsd.org> wrote:
> On Fri, 8 Aug 2008 14:02:19 -0700
> "Peter Wemm" <peter@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@wemm.org; peter@FreeBSD.org; peter@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



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