Re: [Xen-devel] [PATCH v5 1/2] xsm: rework policy_buffer globals

2016-07-08 Thread Jan Beulich
(Re-sending, as I got two bounces) >>> On 07.07.16 at 17:35, wrote: > --- a/xen/xsm/flask/hooks.c > +++ b/xen/xsm/flask/hooks.c > @@ -1815,7 +1815,7 @@ static struct xsm_operations flask_ops = { > .xen_version = flask_xen_version, > }; > > -__init void flask_init(void) > +__init void flas

Re: [Xen-devel] [PATCH v5 1/2] xsm: rework policy_buffer globals

2016-07-08 Thread Jan Beulich
>>> On 07.07.16 at 17:35, wrote: > --- a/xen/xsm/flask/hooks.c > +++ b/xen/xsm/flask/hooks.c > @@ -1815,7 +1815,7 @@ static struct xsm_operations flask_ops = { > .xen_version = flask_xen_version, > }; > > -__init void flask_init(void) > +__init void flask_init(const void *policy_buffer, si

[Xen-devel] [PATCH v5 1/2] xsm: rework policy_buffer globals

2016-07-07 Thread Daniel De Graaf
This makes the buffers function parameters instead of globals, in preparation for adding alternate locations for the policy. Signed-off-by: Daniel De Graaf --- This patch is new in v5. xen/include/xsm/xsm.h| 13 ++--- xen/xsm/flask/hooks.c| 2 +- xen/xsm/flask/