From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) 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) 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) From: Ard Biesheuvel To: edk2-devel@lists.01.org, lersek@redhat.com Cc: Ard Biesheuvel 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: [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: , X-List-Received-Date: Tue, 07 Mar 2017 11:25:02 -0000 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 --- 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 = 0x8000004F DEFINE TTY_TERMINAL = FALSE -[BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION] +[BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION] GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] -- 2.7.4