!222 make EFI_LOADER_DATA executable again

From: @jiangdongxu1 
Reviewed-by: @caojinhuahw 
Signed-off-by: @caojinhuahw
This commit is contained in:
openeuler-ci-bot 2024-04-24 08:05:45 +00:00 committed by Gitee
commit 2fccc7f97e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7,7 +7,7 @@
Name: edk2 Name: edk2
Version: %{stable_date} Version: %{stable_date}
Release: 6 Release: 7
Summary: EFI Development Kit II Summary: EFI Development Kit II
License: BSD-2-Clause-Patent and OpenSSL and MIT License: BSD-2-Clause-Patent and OpenSSL and MIT
URL: https://github.com/tianocore/edk2 URL: https://github.com/tianocore/edk2
@ -145,6 +145,8 @@ make -C BaseTools %{?_smp_mflags} EXTRA_OPTFLAGS="%{optflags}" EXTRA_LDFLAGS="%{
COMMON_FLAGS="-D NETWORK_IP6_ENABLE" COMMON_FLAGS="-D NETWORK_IP6_ENABLE"
%ifarch aarch64 %ifarch aarch64
BUILD_OPTION="$BUILD_OPTION -a AARCH64 -p ArmVirtPkg/ArmVirtQemu.dsc --cmd-len=65536 $COMMON_FLAGS" BUILD_OPTION="$BUILD_OPTION -a AARCH64 -p ArmVirtPkg/ArmVirtQemu.dsc --cmd-len=65536 $COMMON_FLAGS"
# In order to be compatible with old os, make EFI_LOADER_DATA executable again.
BUILD_OPTION="$BUILD_OPTION --pcd PcdDxeNxMemoryProtectionPolicy=0xC000000000007FD1"
%endif %endif
%ifarch x86_64 %ifarch x86_64
@ -305,6 +307,9 @@ chmod +x %{buildroot}%{_bindir}/Rsa2048Sha256GenerateKeys
%endif %endif
%changelog %changelog
* Wed Apr 17 2024 jiangdongxu<jiangdongxu1@huawei.com> - 202308-7
- make EFI_LOADER_DATA executable again.
* Mon Apr 15 2024 shenyage<shenyage1@huawei.com> - 202308-6 * Mon Apr 15 2024 shenyage<shenyage1@huawei.com> - 202308-6
- fix CVE-2023-6237、CVE-2024-2511 - fix CVE-2023-6237、CVE-2024-2511