[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 03/10] xsm: remove the ability to disable flask


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 15 Jul 2021 13:17:27 -0400
  • Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@xxxxxxxxxxxxxxxxxxxx; dmarc=pass header.from=<dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626369450; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=P00peDQKF1/JWeYwaOiCjhKhOHnaRHQkn2dxMd+fkWI=; b=g3WPRMzY5weDIPsI19rpXkMBVFOW7TS8URed23BpXtsTZOi1oe4kWMeccNVa6njT9ZsaaYDAOhb35VZHXGQMHFsSLjGV6AJHCl560FWH/JP7JsFo4GB05TaetaXCi1E7LUldSXlxnHAIkMSA1tb0OoedWG8gJfg9Z7qoliZN+aI=
  • Arc-seal: i=1; a=rsa-sha256; t=1626369450; cv=none; d=zohomail.com; s=zohoarc; b=n6nO8Rm4kgRZf/K6JU/RxWJYs/9T4hA5ikkbT7HrkpdKp7t+LsIM4HlbHI8/4I51JOwKFt4L5PpaupPDPIbQAqmkRLJ1cbgEuD/c4vPIXTYeksMl3LkVG7SuzBriRDMZwQ/pvelURrh3fnsnYsk3gEnuVNss090eYX4t2iJ/p5w=
  • Cc: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
  • Delivery-date: Thu, 15 Jul 2021 17:17:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 7/12/21 7:22 PM, Andrew Cooper wrote:
> On 12/07/2021 21:32, Daniel P. Smith wrote:
>> The flask XSM module provided the ability to switch from flask back to
>> the dummy XSM module during runtime. With this removal the only way to
>> switch between XSM modules is at boot time.
>>
>> Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
> 
> This patch wants reordering ahead of "xsm: refactor xsm_ops handling"
> which will reduce the churn in that patch.

Ack

> In addition, you want:
> 
> diff --git a/xen/include/public/xsm/flask_op.h
> b/xen/include/public/xsm/flask_op.h
> index 16af7bc22f75..b41dd6dac894 100644
> --- a/xen/include/public/xsm/flask_op.h
> +++ b/xen/include/public/xsm/flask_op.h
> @@ -188,7 +188,7 @@ struct xen_flask_op {
>  #define FLASK_SETBOOL           12
>  #define FLASK_COMMITBOOLS       13
>  #define FLASK_MLS               14
> -#define FLASK_DISABLE           15
> +#define FLASK_DISABLE           15 /* No longer implemented */
>  #define FLASK_GETAVC_THRESHOLD  16
>  #define FLASK_SETAVC_THRESHOLD  17
>  #define FLASK_AVC_HASHSTATS     18
> 
> to match the removal of FLASK_USER in c/s 559f439bfa3bf

Ack




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.