The domain roles approach changed the idea of how the default XSM policy module
is configured. This makes the minor adjustment for that change.

Signed-off-by: Daniel P. Smith <dpsm...@apertussolutions.com>
---
 xen/xsm/flask/flask_op.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/xsm/flask/flask_op.c b/xen/xsm/flask/flask_op.c
index 01e52138a1..63c263ebed 100644
--- a/xen/xsm/flask/flask_op.c
+++ b/xen/xsm/flask/flask_op.c
@@ -244,7 +244,7 @@ static int flask_disable(void)
     flask_disabled = 1;
 
     /* Reset xsm_ops to the original module. */
-    xsm_ops = &dummy_xsm_ops;
+    xsm_ops = NULL;
 
     return 0;
 }
-- 
2.20.1


Reply via email to