2003-08-10 09:16:17

by Andrey Borzenkov

[permalink] [raw]
Subject: [PATCH][2.6.0-test3] i386 cpuid.c devfs support 2/2

the same question about default permissions as for msr.c; the same problem
with module unload.

-andrey


Attachments:
(No filename) (104.00 B)
2.6.0-test3-cpuid_devfs.patch (957.00 B)
Download all attachments

2003-08-10 14:00:16

by Dave Jones

[permalink] [raw]
Subject: Re: [PATCH][2.6.0-test3] i386 cpuid.c devfs support 2/2

On Sun, Aug 10, 2003 at 12:52:26PM +0400, Andrey Borzenkov wrote:
> the same question about default permissions as for msr.c; the same problem
> with module unload.

cpuid is less harmful than msr, but it's possible some admins may not
want their users being able to read things like CPU serial numbers
(if enabled).

Dave

--
Dave Jones http://www.codemonkey.org.uk

2003-08-10 14:18:26

by Andrey Borzenkov

[permalink] [raw]
Subject: Re: [PATCH][2.6.0-test3] i386 cpuid.c devfs support 2/2

On Sunday 10 August 2003 17:59, Dave Jones wrote:
> On Sun, Aug 10, 2003 at 12:52:26PM +0400, Andrey Borzenkov wrote:
> > the same question about default permissions as for msr.c; the same
> > problem with module unload.
>
> cpuid is less harmful than msr, but it's possible some admins may not
> want their users being able to read things like CPU serial numbers
> (if enabled).
>

should it be 400 or 440 by default? Microcode sets permissions to 640.

-andrey