|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 6/7] xsm: add platform QoS related xsm policies
On 11/29/2013 12:48 AM, dongxiao.xu@xxxxxxxxx wrote: From: Dongxiao Xu <dongxiao.xu@xxxxxxxxx> Add xsm policies for attach/detach pqos services and get CQM info hypercalls. Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx> --- tools/flask/policy/policy/modules/xen/xen.if | 2 +- tools/flask/policy/policy/modules/xen/xen.te | 5 ++++- xen/xsm/flask/hooks.c | 7 +++++++ xen/xsm/flask/policy/access_vectors | 17 ++++++++++++++--- 4 files changed, 26 insertions(+), 5 deletions(-) [...] The domain_has_xen helper function assumes SECCLASS_XEN, but this call needs to pass SECCLASS_XEN2. The easy fix is to change this call to avc_current_has_perm(SECINITSID_XEN, SECCLASS_XEN2, XEN2__PQOS_OP, NULL) Otherwise, a class parameter would need to be added to domain_has_xen. With this changed, Acked-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> -- Daniel De Graaf National Security Agency _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |