Rebase to upstream stalld-1.19.3

- Makefile: change build to use FORTIFY_SOURCE=3
- src/utils.c: fix off-by-one error in buffer allocation

Resolves: RHEL-34055

Signed-off-by: Chris White <chwhite@redhat.com>
This commit is contained in:
Chris White 2024-05-28 13:51:49 -07:00
parent 3594367e0e
commit 029b2b1313
3 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@
/stalld-1.19.tar.bz2 /stalld-1.19.tar.bz2
/stalld-1.19.1.tar.bz2 /stalld-1.19.1.tar.bz2
/stalld-1.19.2.tar.bz2 /stalld-1.19.2.tar.bz2
/stalld-1.19.3.tar.bz2

View File

@ -1 +1 @@
SHA512 (stalld-1.19.2.tar.bz2) = ec2eca67cd6862c6fbf682cb44bd852be1ef3ef053ac59e631e2a7784bc3867d01e94aa445c749ab8068198939d8558ff1d41f9c54e4e83e41c3faeefad59bad SHA512 (stalld-1.19.3.tar.bz2) = f8dcd9ce8bdc2443e21168d8b2193e08c3155d5cae2bb4f132a3f77be5c07e61d55ca3d1f2ce58a12f03553d565c78fd5b19f380bd10c188447c4178f027c825

View File

@ -1,5 +1,5 @@
Name: stalld Name: stalld
Version: 1.19.2 Version: 1.19.3
Release: 1%{?dist} Release: 1%{?dist}
Summary: Daemon that finds starving tasks and gives them a temporary boost Summary: Daemon that finds starving tasks and gives them a temporary boost
@ -34,7 +34,7 @@ allow 10 microseconds of runtime for 1 second of clock time.
%autosetup %autosetup
%build %build
%make_build CFLAGS="%{optflags} %{build_cflags} -DVERSION="\\\"%{version}\\\""" LDFLAGS="%{build_ldflags}" %make_build CFLAGS="%{optflags} %{build_cflags} -DVERSION="\\\"%{version}\\\"""
%install %install
%make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version} %make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version}
@ -59,6 +59,10 @@ allow 10 microseconds of runtime for 1 second of clock time.
%systemd_postun_with_restart %{name}.service %systemd_postun_with_restart %{name}.service
%changelog %changelog
* Fri May 10 2024 Chris White <chwhite@redhat.com> - 1.19.3
- Makefile: change build to use FORTIFY_SOURCE=3
- src/utils.c: fix off-by-one error in buffer allocation
* Fri May 10 2024 Chris White <chwhite@redhat.com> - 1.19.2 * Fri May 10 2024 Chris White <chwhite@redhat.com> - 1.19.2
- stalld.conf: Fix stalld service start fail - stalld.conf: Fix stalld service start fail
- throttling.c: null terminate input buffer - throttling.c: null terminate input buffer