public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: test11-pre5 breaks vmware
@ 2000-11-15 22:39 Petr Vandrovec
  0 siblings, 0 replies; 9+ messages in thread
From: Petr Vandrovec @ 2000-11-15 22:39 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: linux-kernel

On 15 Nov 00 at 12:12, H. Peter Anvin wrote:
> Also, if a piece of software needs raw CPUID information (unlike the
> "cooked" one provided by recent kernels) it should use
> /dev/cpu/*/cpuid.

There are two problems, first breaking procfs field name for no good reason 
(you can name x86 features as 'flags' and amd/cyrix/...
as you named... There is certainly fewer apps which search 'flags'
for AMD feature than apps which search 'flags' for x86 feature;
you can also emulate old flags field by merging all features together,
but I'm not asking for this).

Second problem is that I know no system which has /dev/cpu/*/* file.
Maybe it is just my problem...

But if you could modify cpuid/msr registration interface so that they'll
appear on my /devfs, it would be much nicer. Currently there is only 
'microcode' and 'mtrr' in /devfs/cpu, and no 0,1 subdirectories...
                                                Thanks,
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                                                                    
-
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/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: test11-pre5 breaks vmware
@ 2000-11-15 17:57 Petr Vandrovec
  0 siblings, 0 replies; 9+ messages in thread
From: Petr Vandrovec @ 2000-11-15 17:57 UTC (permalink / raw)
  To: tigran; +Cc: linux-kernel

On 15 Nov 00 at 17:47, Petr Vandrovec wrote:
> On 15 Nov 00 at 1:59, Tigran Aivazian wrote:
> 
> > You probably noticed this already but I just wanted to bring it to your
> > attention that /usr/bin/vmware-config.pl script needs updating since the
> > flags in /proc/cpuinfo is now called "features" so it otherwise fails
> > complaining that my 2xP6 has no tsc. Trivial change but still worthy of
> > propagating into your latest .tar.gz file for 2.4.x
> 
> Oh. I did not compiled 11-test5, as G450 finally arrived ;-) OK,
                                      ^ Matrox G450 for innocents
                                      
> I'll release patch for vmware, as I cannot stop kernel developers
> from changing field names :-)

                                                     Petr Vandrovec
                                                     vandrove@vc.cvut.cz
                                                     
-
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/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: test11-pre5 breaks vmware
@ 2000-11-15 17:47 Petr Vandrovec
  2000-11-15 20:05 ` Scott Murray
  0 siblings, 1 reply; 9+ messages in thread
From: Petr Vandrovec @ 2000-11-15 17:47 UTC (permalink / raw)
  To: Tigran Aivazian; +Cc: linux-kernel

On 15 Nov 00 at 1:59, Tigran Aivazian wrote:

> You probably noticed this already but I just wanted to bring it to your
> attention that /usr/bin/vmware-config.pl script needs updating since the
> flags in /proc/cpuinfo is now called "features" so it otherwise fails
> complaining that my 2xP6 has no tsc. Trivial change but still worthy of
> propagating into your latest .tar.gz file for 2.4.x

Oh. I did not compiled 11-test5, as G450 finally arrived ;-) OK,
I'll release patch for vmware, as I cannot stop kernel developers
from changing field names :-)
                                       Thanks for reporting,
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                    
-
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/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: More modutils: It's probably worse.
@ 2000-11-14 12:47 Petr Vandrovec
  2000-11-15  1:59 ` test11-pre5 breaks vmware Tigran Aivazian
  0 siblings, 1 reply; 9+ messages in thread
From: Petr Vandrovec @ 2000-11-14 12:47 UTC (permalink / raw)
  To: David Schleef; +Cc: Michal Zalewski, BUGTRAQ, linux-kernel

On 14 Nov 00 at 2:04, David Schleef wrote:
> On Tue, Nov 14, 2000 at 09:59:22AM +0100, Olaf Kirch wrote:
> > On Tue, Nov 14, 2000 at 12:06:32AM +0100, Michal Zalewski wrote:
> > > Maybe I am missing something, but at least for me, modprobe
> > > vulnerabilities are exploitable via privledged networking services,
> > > nothing more.
> > 
> > Maybe not. ncpfs for instance has an ioctl that seems to allow
> > unprivileged users to specify a character set (codepage in m$speak)
> > that's requested via load_nls(), which in turn does a

> Then it looks like the driver is broken, not modutils.

Well, you can use this ioctl only before ncp filesystem gets to life,
but yes, as this call is always done by mount process, I'll add

if (!capable(CAP_SYS_ADMIN))
  return -EPERM;

here. But I still do not see any problem, as ncpfs limits charset/codepage
length to 20 chars (+ NUL terminator), and nobody told me that it is
not possible to use " or - in codepage name ;-)
                                                    Best regards,
                                                        Petr Vandrovec
                                                        vandrove@vc.cvut.cz
-
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/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2000-11-16  0:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-15 22:39 test11-pre5 breaks vmware Petr Vandrovec
  -- strict thread matches above, loose matches on Subject: below --
2000-11-15 17:57 Petr Vandrovec
2000-11-15 17:47 Petr Vandrovec
2000-11-15 20:05 ` Scott Murray
2000-11-15 20:12   ` H. Peter Anvin
2000-11-15 20:49     ` Michel LESPINASSE
2000-11-15 20:50       ` H. Peter Anvin
2000-11-16  0:29     ` Albert D. Cahalan
2000-11-14 12:47 More modutils: It's probably worse Petr Vandrovec
2000-11-15  1:59 ` test11-pre5 breaks vmware Tigran Aivazian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox