Re: [Xen-devel] [PATCH 08/15] flask: remove unused secondary context in ocontext

2016-06-09 Thread Daniel De Graaf
On 06/09/2016 12:01 PM, Jan Beulich wrote: On 09.06.16 at 16:47, wrote: --- a/xen/xsm/flask/ss/policydb.h +++ b/xen/xsm/flask/ss/policydb.h @@ -158,8 +158,8 @@ struct ocontext { u64 high_iomem; } iomem; } u; -struct context context[2];/* security context(s

Re: [Xen-devel] [PATCH 08/15] flask: remove unused secondary context in ocontext

2016-06-09 Thread Jan Beulich
>>> On 09.06.16 at 16:47, wrote: > --- a/xen/xsm/flask/ss/policydb.h > +++ b/xen/xsm/flask/ss/policydb.h > @@ -158,8 +158,8 @@ struct ocontext { > u64 high_iomem; > } iomem; > } u; > -struct context context[2];/* security context(s) */ > -u32 sid[2];/

[Xen-devel] [PATCH 08/15] flask: remove unused secondary context in ocontext

2016-06-09 Thread Daniel De Graaf
This field was originally used in Linux for a default message code for network interfaces. It has never been used in Xen, so remove it. Signed-off-by: Daniel De Graaf --- xen/xsm/flask/ss/policydb.c | 1 - xen/xsm/flask/ss/policydb.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) d