From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (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 C318A8034A for ; Wed, 8 Mar 2017 01:43:43 -0800 (PST) Received: by mail-it0-x22a.google.com with SMTP id m27so34773662iti.0 for ; Wed, 08 Mar 2017 01:43:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=81NSIdHVVxSnY5GAWvT6FpKSpLwkSzoy+Ts3W/JwryA=; b=JwdMDJP44CmrnsXI2d9T+Gxa0V1rd3A/ZXw1U5XYO5nQjfA45foeoJkOdPjQ73fRkO MSMk2xeJBLOWntC0jR2/bNp50yfn9mD25XWBV6zQP4G7Tnz/SQAt4Vzi/Kdkwcj4Ft3T E6cq0+LRvWgyb+nBf1GUCjvy8+0XY1osf5bRE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=81NSIdHVVxSnY5GAWvT6FpKSpLwkSzoy+Ts3W/JwryA=; b=EOYEmN4ObRAmqlIItH5kZJP/4aej7hRy02OaEvOoynIjfTlKQeLqIDwTsKz7/lNfi9 i7D9ecLDlsRpKWGLqwa064l35BnpxN915ssg941bCGq6vDM96lqOroYLtSPIBjJJV18Y wGgNL0wRufLH3Utp6cX/XZ7xQaCrSprFVh0FOBh4iEPeeKKEVR/kyLWouHCPtgDtjk/Y MqKsp7iqn25WkCRfnE1gzPRJkld47V3uKO82uLS9X/VnT+U4TmOYPEUvS7BZNcJU5RXb Sd1k2aOgPZOYOrU1bFYxXVb5rM0gGtRcW3SfsYs4VP+S2+WNtWRvOjsFON4jN/b7SAgf Qo6w== X-Gm-Message-State: AMke39lBaOe5Gb4tzCTd7/WgjRTdRyQuVl8MlBAMLn817y2Gn7kuq3ql6xLfgSd1sYQL7T69E0dODgYhre4KJCxf X-Received: by 10.36.23.74 with SMTP id 71mr24277579ith.37.1488966222820; Wed, 08 Mar 2017 01:43:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.10.27 with HTTP; Wed, 8 Mar 2017 01:43:42 -0800 (PST) In-Reply-To: <31678655-c1d6-0e4c-ec58-8b3b15b488bd@redhat.com> References: <1488885897-10345-1-git-send-email-ard.biesheuvel@linaro.org> <31678655-c1d6-0e4c-ec58-8b3b15b488bd@redhat.com> From: Ard Biesheuvel Date: Wed, 8 Mar 2017 10:43:42 +0100 Message-ID: To: Laszlo Ersek Cc: "edk2-devel@lists.01.org" Subject: Re: [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: Wed, 08 Mar 2017 09:43:44 -0000 Content-Type: text/plain; charset=UTF-8 On 7 March 2017 at 14:56, Laszlo Ersek wrote: > On 03/07/17 12:24, Ard Biesheuvel wrote: >> 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] >> > > Reviewed-by: Laszlo Ersek Thanks, pushed.