lkml.org 
[lkml]   [2000]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mtrr: s/suser/capable/
On Thu, 31 Aug 2000, Andi Kleen wrote:

> On Thu, Aug 31, 2000 at 12:11:31PM +0100, Alan Cox wrote:
> > > > These cases in mtrr.c are clearly CAP_SYS_RAWIO.
> > >
> > > Clearly? How do MTRR changes relate to rawio ?
> >
> > RAWIO is about hardware level access not Stephens O_DIRECT stuff
>
> So why is /proc/kcore access SYS_RAWIO then ?

because via /proc/kcore you can access hardware (with Kanoj's recent patch
i.e.)

>
> And why is nvram access not SYS_RAWIO ?

because it's a bug. I see it uses CAP_SYS_ADMIN but it should really use
CAP_SYS_RAWIO.

Regards,
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.065 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site