Util-Linux package development
 help / color / mirror / Atom feed
From: Ruediger Meier <sweet_f_a@gmx.de>
To: Karel Zak <kzak@redhat.com>
Cc: Petr Uzel <petr.uzel@suse.cz>,
	util-linux@vger.kernel.org, Mike Frysinger <vapier@gentoo.org>
Subject: Re: lscpu VMWARE bdoor patch
Date: Fri, 28 Oct 2016 00:06:36 +0200	[thread overview]
Message-ID: <201610280006.36584.sweet_f_a@gmx.de> (raw)
In-Reply-To: <20161027102515.qw47rdgn72qingfi@ws.net.home>

On Thursday 27 October 2016, Karel Zak wrote:
> Hi,
>
> this is lscpu output on my machine:
>
>     Virtualization:        VT-x
>     Hypervisor vendor:     VMware
>     Virtualization type:   full
>
>
> I have nothing like VMWARE. It seem the code (commit b7744730) does
> not work as expected for non-root users. What about to add

Have you checked whether the original code in b7744730 is alreaday 
broken? Not something about the later PIC/PIE patches?

What system are you using?

>     if (getuid() != 0)
>         return 0;
>
> to the is_vmware_platform() function?
>
>     Karel

Yes, if it's broken for a "normal" system then we have to remove that. 
Though would be nice to know what exactly made it stop working.

BTW this code is also in the kernel:
   arch/x86/kernel/cpu/vmware.c

Can't we ask the kernel about vmware somehow?


cu,
Rudi

  reply	other threads:[~2016-10-27 22:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-27 10:25 lscpu VMWARE bdoor patch Karel Zak
2016-10-27 22:06 ` Ruediger Meier [this message]
2016-11-02 12:30   ` Karel Zak
2016-11-03  7:04     ` Ruediger Meier
2016-11-03  9:41       ` Karel Zak
2016-11-10  4:14         ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201610280006.36584.sweet_f_a@gmx.de \
    --to=sweet_f_a@gmx.de \
    --cc=kzak@redhat.com \
    --cc=petr.uzel@suse.cz \
    --cc=util-linux@vger.kernel.org \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox