xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Keir Fraser <keir@xen.org>, Tim Deegan <tim@xen.org>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <Ian.Campbell@eu.citrix.com>,
	Jan Beulich <JBeulich@suse.com>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v2] domctl: tighten XEN_DOMCTL_*_permission
Date: Fri, 15 Aug 2014 15:22:20 +0300	[thread overview]
Message-ID: <CAH_mUMOBhfD3coznFHumTLnyA0s2wSby+fb38-avW+8gN81-1w@mail.gmail.com> (raw)
In-Reply-To: <53EDF6BF.70106@citrix.com>

Hi Andrew,

>>  But in current implementation pirq_access_permitted() returns
>> 0 if resource is not found.
>
> Correct, and that is the point.
>
> If the current domain does not have permissions to use a certain pirq,
> it does not have permission to alter the permission of another domain,
> with respect to this pirq.  Note that by permitting/denying access to a
> target domain, the current domain does not loose its existing permissions.
>

Thank you. This is the answer for my question. Now got it.

Regards,
Andrii


-- 

Andrii Tseglytskyi | Embedded Dev
GlobalLogic
www.globallogic.com

      reply	other threads:[~2014-08-15 12:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 13:08 [PATCH v2] domctl: tighten XEN_DOMCTL_*_permission Jan Beulich
2014-05-08 11:20 ` Tim Deegan
2014-08-15 10:00 ` Andrii Tseglytskyi
2014-08-15 10:36   ` Andrew Cooper
2014-08-15 11:02     ` Andrii Tseglytskyi
2014-08-15 12:02       ` Andrew Cooper
2014-08-15 12:22         ` Andrii Tseglytskyi [this message]

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=CAH_mUMOBhfD3coznFHumTLnyA0s2wSby+fb38-avW+8gN81-1w@mail.gmail.com \
    --to=andrii.tseglytskyi@globallogic.com \
    --cc=Ian.Campbell@eu.citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=keir@xen.org \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xenproject.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;
as well as URLs for NNTP newsgroup(s).