lkml.org 
[lkml]   [1997]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: MSR support for x86
Date
> 
> I should think you would want it to be crw-r--r--, so that anybody can see
> what they are running on. Perhaps the /dev/msr code should double check
> that root is doing the write, so even if somebody can get past the VFS, they
> still can't fry your CPU.
>
> Also, what will this do on a SMP system? Just die, only set the first CPU,
> set all of them?
>

Yes, there need to be something reasonable. I do *not* think it is
reasonable for random processes to even read the special registers --
on some CPUs that could potentially give away dangerous information.

I think /dev/msr on a multiprocessor should read the CPU the process
is running on.

-hpa


\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site