Hi Daniel,
> diff --git a/xen/xsm/flask/hooks.c b/xen/xsm/flask/hooks.c
> index 0bf63ffa84..b93101191e 100644
> --- a/xen/xsm/flask/hooks.c
> +++ b/xen/xsm/flask/hooks.c
> @@ -186,6 +186,28 @@ static int cf_check flask_domain_alloc_security(struct
> domain *d)
> return 0;
> }
>
> +static int cf_check flask_set_system_active(void)
> +{
> + struct domain *d = current->domain;
> +
> + ASSERT(d->is_privileged);
> +
> + if ( d->domain_id != DOMID_IDLE )
> + {
> + printk("xsm_set_system_active should only be called by idle
> domain\n");
Sorry I spotted that now, here in the printk probably you mean
“flask_set_system_active”
instead of “xsm_set_system_active”, you can keep my R-by after this change.
Cheers,
Luca