Fix the hardening issue "FAIL: bind-now test because not linked with -Wl,-z,now"
Resolves: rhbz#2028717 Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
This commit is contained in:
parent
c3934f376f
commit
b8d17181b7
@ -3,7 +3,7 @@
|
|||||||
Summary: Gcore extension module for the crash utility
|
Summary: Gcore extension module for the crash utility
|
||||||
Name: crash-gcore-command
|
Name: crash-gcore-command
|
||||||
Version: 1.6.2
|
Version: 1.6.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Source0: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
URL: https://github.com/fujitsu/crash-gcore
|
URL: https://github.com/fujitsu/crash-gcore
|
||||||
@ -21,7 +21,7 @@ running in a kernel dump file.
|
|||||||
%autosetup -n %{reponame}-%{version}
|
%autosetup -n %{reponame}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build -C src -f gcore.mk
|
%make_build CFLAGS="%{optflags} -Wl,-z,now" -C src -f gcore.mk
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions
|
install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions
|
||||||
@ -34,6 +34,9 @@ install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{repona
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 07 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-4
|
||||||
|
- Fix the hardening issue "FAIL: bind-now test because not linked with -Wl,-z,now"
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-3
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-3
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user