diff --git a/grub.macros b/grub.macros index f7a1b9b..d5da50a 100644 --- a/grub.macros +++ b/grub.macros @@ -14,7 +14,7 @@ %global ccpath %{__cc} %endif -%global cc_equals "CC=%{ccpath} -fPIE" +%global cc_equals "CC=%{ccpath} -fPIE -Wl,-z,noexecstack" %global cflags_sed \\\ sed \\\ diff --git a/grub2.spec b/grub2.spec index de88415..4fbdde0 100644 --- a/grub2.spec +++ b/grub2.spec @@ -14,7 +14,7 @@ Name: grub2 Epoch: 1 Version: 2.06 -Release: 31 +Release: 32 Summary: Bootloader with support for Linux, Multiboot and more License: GPLv3+ URL: http://www.gnu.org/software/grub/ @@ -440,6 +440,12 @@ fi %{_datadir}/man/man* %changelog +* Mon Jul 17 2023 zhangqiumiao - 1:2.06-32 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:Override the linker and force noexecstack stacks + * Mon Jul 3 2023 zhangqiumiao - 1:2.06-31 - Type:bugfix - CVE:NA