Re: [Xen-devel] [PATCH v2] flask: sort io{port,mem}con entries

2018-10-05 Thread nicolas . poirot
> -Daniel De Graaf wrote: - > To: xen-devel@lists.xenproject.org, Nicolas Poirot > From: Daniel De Graaf > Date: 05/10/2018 18:33 > Cc: George Dunlap , Jan Beulich , > Daniel De Graaf > Subject: [PATCH v2] flask: sort io{port,mem}con entries > > These entries are not always sorted by

Re: [Xen-devel] [PATCH v2] flask: sort io{port,mem}con entries

2018-10-05 Thread nicolas . poirot
> -Daniel De Graaf wrote: - > To: xen-devel@lists.xenproject.org, Nicolas Poirot > From: Daniel De Graaf > Date: 10/05/2018 06:33PM > Cc: George Dunlap , Jan Beulich , > Daniel De Graaf > Subject: [PATCH v2] flask: sort io{port,mem}con entries > > These entries are not always sorted

[Xen-devel] [PATCH v2] flask: sort io{port,mem}con entries

2018-10-05 Thread Daniel De Graaf
These entries are not always sorted by checkpolicy, so sort them during policy load (as is already done for later ocontext additions). Reported-by: Nicolas Poirot Signed-off-by: Daniel De Graaf --- xen/xsm/flask/ss/policydb.c | 35 +-- 1 file changed, 29