All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH 3 of 7] xen: allows more hypercalls from stubdoms
Date: Mon, 12 Oct 2009 19:50:51 +0100	[thread overview]
Message-ID: <C6F9391B.17412%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <20091012181912.GB5730@const.famille.thibault.fr>

On 12/10/2009 19:19, "Samuel Thibault" <samuel.thibault@ens-lyon.org> wrote:

>> BTW: it cannot be worse than opening /dev/mem O_RDWR in qemu-xen, that
>> is exactly what happens at the moment.
> 
> Sure, but the difference is that qemu-xen is known to be run as root
> in dom0, while allowing things from the hypervisor potentially hides
> security leaks in its source code.

Also, one of the advantages of stubdom is supposed to be that it contains
qemu's large attack surface within a deprivileged environment.

The hard thing about passthru in a stubdom is that every relevant hypercall
really needs to be audited and potentially redesigned so that it all works
but according to principle of least privilege.

The alternative is rather undesirable, but perhaps acceptable if we make
that choice with our eyes open to it.

 -- Keir

  reply	other threads:[~2009-10-12 18:50 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-12 17:20 [PATCH 3 of 7] xen: allows more hypercalls from stubdoms Stefano Stabellini
2009-10-12 17:33 ` Samuel Thibault
2009-10-12 18:10   ` Stefano Stabellini
2009-10-12 18:14     ` Stefano Stabellini
2009-10-12 18:19       ` Samuel Thibault
2009-10-12 18:50         ` Keir Fraser [this message]
2009-10-12 18:17     ` Samuel Thibault
2009-10-12 18:56 ` Keir Fraser
2009-10-13 12:00   ` Stefano Stabellini
2009-10-13 12:05     ` Samuel Thibault
2009-10-13 12:10       ` Stefano Stabellini
2009-10-13 12:15         ` Samuel Thibault
2009-10-13 12:18           ` Stefano Stabellini
2009-10-13 12:25             ` Samuel Thibault
2009-10-13 12:32     ` Keir Fraser
2009-10-13 12:42       ` Samuel Thibault
2009-10-13 14:24       ` Stefano Stabellini
2009-10-13 14:36         ` Samuel Thibault
2009-10-13 14:40           ` Stefano Stabellini
2009-10-13 14:42             ` Samuel Thibault
2009-10-13 14:50               ` Samuel Thibault
2009-10-13 15:51           ` Keir Fraser
2009-10-14  7:53         ` Keir Fraser

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=C6F9391B.17412%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.