|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xen/xsm/flask: Fix flask_tbufcontrol hook
# HG changeset patch
# User James Carter <jwcart2@xxxxxxxxxxxxx>
# Date 1309248664 -3600
# Node ID 819c315a919daec434f80ffb6e790ac492cbd2a7
# Parent 1a20a85860483b2e34f2ff728aa9a58e5ed4103b
xen/xsm/flask: Fix flask_tbufcontrol hook
The flask_tbufcontrol hook currently calls domain_has_xen with the
second argument being a class (SECCLASS_XEN) instead of a permission.
This patch fixes the hook so that it passes the XEN__TBUFCONTROL
permission instead.
Signed-off-by: James Carter <jwcart2@xxxxxxxxxxxxx>
---
diff -r 1a20a8586048 -r 819c315a919d xen/xsm/flask/hooks.c
--- a/xen/xsm/flask/hooks.c Tue Jun 28 09:10:43 2011 +0100
+++ b/xen/xsm/flask/hooks.c Tue Jun 28 09:11:04 2011 +0100
@@ -564,7 +564,7 @@
static int flask_tbufcontrol(void)
{
- return domain_has_xen(current->domain, SECCLASS_XEN);
+ return domain_has_xen(current->domain, XEN__TBUFCONTROL);
}
static int flask_readconsole(uint32_t clear)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xen/xsm/flask: Fix flask_tbufcontrol hook,
Xen patchbot-unstable <=
|
|
|
|
|