xsm/flask: clean interdomain event channel hook
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Wed, 29 Feb 2012 13:47:11 +0000 (13:47 +0000)
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>
Wed, 29 Feb 2012 13:47:11 +0000 (13:47 +0000)
commit4e7cbab278a563e9a162a758cf2dc2ea5052d25c
tree06fa5b75aa61e98b56b015f84bb37307d35f2355
parentb34f2c375070e72b634e59c763716b9aa40d83c8
xsm/flask: clean interdomain event channel hook

Don't attempt to relabel the already-bound half of the event channel
pair created by an interdomain event channel. This relabeling also
performed an incorrect check that the destination domain is permitted
to create the reverse event channel, which may not be true if the
unbound channel was created by the domain builder (like the xenstore
channel).

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
xen/xsm/flask/hooks.c