From nobody Wed May 1 08:07:56 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1488885907695328.6808157003602; Tue, 7 Mar 2017 03:25:07 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id D46548034D; Tue, 7 Mar 2017 03:25:03 -0800 (PST) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 373C68034C for ; Tue, 7 Mar 2017 03:25:02 -0800 (PST) Received: by mail-wm0-x22e.google.com with SMTP id n11so86922314wma.1 for ; Tue, 07 Mar 2017 03:25:02 -0800 (PST) Received: from ards-macbook-pro.c.hoisthospitality.com ([109.74.56.122]) by smtp.gmail.com with ESMTPSA id e6sm30700106wrc.30.2017.03.07.03.24.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Mar 2017 03:24:59 -0800 (PST) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=UfR9MqKnA5Qkoh7whYgFgFRYfBffB9XKe0jaYy3e/8A=; b=FZ8CV3QPcRKi1Uxo7LlaTcOzVeUSTOj5aKVzzBCfvDNJM1gAq4EvXhSevvaZoWM4se 9o6x0WG69YIQqJYwgK86Ow3ZJ1Ob8lB7VVHuMDGkvNpGnhha+TOeRv8K4bcqloUEe6vl NAz8wcUGg84ER+Jfvyh054552aZtJFbNZdb4A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UfR9MqKnA5Qkoh7whYgFgFRYfBffB9XKe0jaYy3e/8A=; b=J0cowL6ov/GYN5H8YkghhcUgIVVoNchA//9plH59fnCz93ZZKCKv9a+jgwFeVMLlrA j6rFmpZ1+2k2D7I2BoFRLCE9SuL9YZ2tCvUoviQ/l4r7n1KUA12rl0z49v9fhnujMPEA Yi4PfqnpUiujf0E9Yf2P3Jz8P11RUQlh/gQyG07wfqFe5O+DA49R6VeWNFQzWo6zqvG5 j351v5juoXikUTBtAxFRVXSKayygvqo6wJr8HzfBZCVwhOHrDp3Y6WWPLVrCab0Ot0iL 9/LLYqCAFNbqDJ0hV70SbahfCwvRS6g/jzIyDTT+01mQDSjSIZcIcv6I5psBuwlB7V5H 4sBA== X-Gm-Message-State: AMke39kZqwP44sQOkHPC27/rPqjoW8EFP8GhZFNO2IyiJ74hVe/nfJXea93SHdv7xfzcWyRK X-Received: by 10.28.209.75 with SMTP id i72mr16605224wmg.31.1488885900457; Tue, 07 Mar 2017 03:25:00 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, lersek@redhat.com Date: Tue, 7 Mar 2017 12:24:57 +0100 Message-Id: <1488885897-10345-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH] ArmVirtPkg: apply PE/COFF memory protection to DxeCore as well X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Include DXE_CORE in the BuildOptions that are set to force 4 KB section alignment for PE/COFF images in order to allow them to be mapped with strict memory permissions. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- ArmVirtPkg/ArmVirt.dsc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index e2d3dcce7945..f61fd0680612 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -17,7 +17,7 @@ [Defines] DEFINE DEBUG_PRINT_ERROR_LEVEL =3D 0x8000004F DEFINE TTY_TERMINAL =3D FALSE =20 -[BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVE= R,BuildOptions.common.EDKII.UEFI_APPLICATION] +[BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,B= uildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICA= TION] GCC:*_*_*_DLINK_FLAGS =3D -z common-page-size=3D0x1000 =20 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel