!251 [sync] PR-249: make EFI_LOADER_DATA executable again

From: @openeuler-sync-bot 
Reviewed-by: @caojinhuahw 
Signed-off-by: @caojinhuahw
This commit is contained in:
openeuler-ci-bot 2024-08-19 02:14:39 +00:00 committed by Gitee
commit ded4bb082a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7,7 +7,7 @@
Name: edk2
Version: %{stable_date}
Release: 8
Release: 9
Summary: EFI Development Kit II
License: BSD-2-Clause-Patent and OpenSSL and MIT
URL: https://github.com/tianocore/edk2
@ -152,6 +152,8 @@ make -C BaseTools %{?_smp_mflags} EXTRA_OPTFLAGS="%{optflags}" EXTRA_LDFLAGS="%{
COMMON_FLAGS="-D NETWORK_IP6_ENABLE"
%ifarch aarch64
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
%ifarch x86_64
@ -312,6 +314,9 @@ chmod +x %{buildroot}%{_bindir}/Rsa2048Sha256GenerateKeys
%endif
%changelog
* Wed Aug 14 2024 Jiabo Feng<fengjiabo1@huawei.com> - 202308-9
- make EFI_LOADER_DATA executable again.
* Thu Jul 11 2024 shenyage<shenyage1@huawei.com> - 202308-8
- fix CVE-2024-5535