From patchwork Sat Dec 7 16:52:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Cooper X-Patchwork-Id: 11277671 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BFC47112B for ; Sat, 7 Dec 2019 16:54:19 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9C37724673 for ; Sat, 7 Dec 2019 16:54:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="bnbRwxp5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C37724673 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iddKF-0001Sb-7I; Sat, 07 Dec 2019 16:52:59 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iddKE-0001SW-6Z for xen-devel@lists.xenproject.org; Sat, 07 Dec 2019 16:52:58 +0000 X-Inumbo-ID: 0472a1a8-1912-11ea-88e7-bc764e2007e4 Received: from esa4.hc3370-68.iphmx.com (unknown [216.71.155.144]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 0472a1a8-1912-11ea-88e7-bc764e2007e4; Sat, 07 Dec 2019 16:52:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1575737576; h=from:to:cc:subject:date:message-id:mime-version; bh=3F6Hp3l5+l7fiaJ2yzqkxjeielInh5D/zoMiMEZl95s=; b=bnbRwxp58wO7SYfHzKEDE0hDcklHv7mwyUgK7KGeWze+6ShF5XfFpZcu JpNB6D6X5Yz7ixm6XHF0RyM73vOhRGSA1JWBYHHW9mt9ooSIGbQY0Xk6l 3/9Ll5XA+mTXc6OrKmM+75bxxHzj2i6tuVSRJM8VBwJc9FwGfCFo/+74+ Q=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=andrew.cooper3@citrix.com; spf=Pass smtp.mailfrom=Andrew.Cooper3@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of andrew.cooper3@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="andrew.cooper3@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa4.hc3370-68.iphmx.com: domain of Andrew.Cooper3@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="Andrew.Cooper3@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: J5b6nVJymKT+OZ92aDPRrmbbt6Te4j2WPzM/1iwZh/3CL/m3wasAbWxjsx3Xr6ScDLZdtivf4p vVDDHFD/ZDOK06q/s5GLidKSnvQkLQsmjZCwAcz2U+pXBHe3cyfbzixsGfneaHvjOWNTp3WRZf 4ogiHhTF6lhDJUfmYpyK5Wi8HQJS5VOXRkHi/tGjwP8xPA2WN0/kA/HAtZ+EvTvCZfgNW5vbj8 ZAMi3SHt0zQvBZ8gCkr24GGtRE0m75IeZxDdZC/E0ROeN3IooXBBBot1BqIopSU5u7iwuMeCSA I/4= X-SBRS: 2.7 X-MesageID: 9905135 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.69,288,1571716800"; d="scan'208";a="9905135" From: Andrew Cooper To: Xen-devel Date: Sat, 7 Dec 2019 16:52:50 +0000 Message-ID: <20191207165252.1045-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH for-4.13 0/2] xen: Build fixes related to Python3 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Steven Haigh , Jan Beulich , Ian Jackson , Daniel De Graaf Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Patch 2 is a fix for a problem reported on IRC. It is a very-nice-to-have considering our attempt to make Xen 4.13 Py3-clean. While testing patch 2, it became apparent that XSM/Flask isn't Py3-clean, and this is a blocker. It is addressed in patch 1. Andrew Cooper (2): xen/flask: Fix Python 3 problems with gen-policy.py xen/build: Automatically locate a suitable python interpreter xen/Makefile | 2 ++ xen/xsm/flask/Makefile | 6 ++---- xen/xsm/flask/flask-policy.S | 20 ++++++++++++++++++++ xen/xsm/flask/gen-policy.py | 23 ----------------------- 4 files changed, 24 insertions(+), 27 deletions(-) create mode 100644 xen/xsm/flask/flask-policy.S delete mode 100644 xen/xsm/flask/gen-policy.py