All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
To: weiming <zephyr.zhao@gmail.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: bug in dom create script regarding xenstore permission?
Date: Tue, 14 Jul 2009 18:45:07 +0100	[thread overview]
Message-ID: <4A5CC423.1080604@eu.citrix.com> (raw)
In-Reply-To: <add59a3f0907141040re927e54j9fbe311b1988c75f@mail.gmail.com>

weiming wrote:
> Hi,
> 
> I upgraded from xen 3.2 to xen 3.4 and found that in 3.4, I can't write 
> xenstore in domU.
> Then, I found that the owner of the /local/domain/<domid> is 0.
> That is:
> When I used xs_get_permissions to get the permission of 
> "/local/domain/1", I got
> (0,0), (1,1)   (dom, perm)
> which implies that dom0 is the owner, and dom1 has read-only perm.
> 
> in xen 3.2, it returns (1,0), which is correct.
> 
> So I guess it might be a bug in the dom create scripts, but I can't find 
> where.

Hi weiming,

it's not a bug. the behavior that you are seeing in 3.2 was a security 
issue. 3.4 got the issue fixed.

Cheers,
-- 
Vincent

  reply	other threads:[~2009-07-14 17:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14 17:40 bug in dom create script regarding xenstore permission? weiming
2009-07-14 17:45 ` Vincent Hanquez [this message]
2009-07-14 18:05   ` weiming
2009-07-15 10:30     ` Vincent Hanquez
2009-07-15 12:52       ` weiming

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=4A5CC423.1080604@eu.citrix.com \
    --to=vincent.hanquez@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=zephyr.zhao@gmail.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.