From 029b2b13132f3ef8466ee8da994e9076c70a09dc Mon Sep 17 00:00:00 2001 From: Chris White Date: Tue, 28 May 2024 13:51:49 -0700 Subject: [PATCH] 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 --- .gitignore | 1 + sources | 2 +- stalld.spec | 8 ++++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1390359..0e4196d 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /stalld-1.19.tar.bz2 /stalld-1.19.1.tar.bz2 /stalld-1.19.2.tar.bz2 +/stalld-1.19.3.tar.bz2 diff --git a/sources b/sources index 8846157..f094f9e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (stalld-1.19.2.tar.bz2) = ec2eca67cd6862c6fbf682cb44bd852be1ef3ef053ac59e631e2a7784bc3867d01e94aa445c749ab8068198939d8558ff1d41f9c54e4e83e41c3faeefad59bad +SHA512 (stalld-1.19.3.tar.bz2) = f8dcd9ce8bdc2443e21168d8b2193e08c3155d5cae2bb4f132a3f77be5c07e61d55ca3d1f2ce58a12f03553d565c78fd5b19f380bd10c188447c4178f027c825 diff --git a/stalld.spec b/stalld.spec index 197259e..96f569b 100644 --- a/stalld.spec +++ b/stalld.spec @@ -1,5 +1,5 @@ Name: stalld -Version: 1.19.2 +Version: 1.19.3 Release: 1%{?dist} 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 %build -%make_build CFLAGS="%{optflags} %{build_cflags} -DVERSION="\\\"%{version}\\\""" LDFLAGS="%{build_ldflags}" +%make_build CFLAGS="%{optflags} %{build_cflags} -DVERSION="\\\"%{version}\\\""" %install %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 %changelog +* Fri May 10 2024 Chris White - 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 - 1.19.2 - stalld.conf: Fix stalld service start fail - throttling.c: null terminate input buffer