Debian Codegraph @

ChangeLog

raw
1 v1.9.26 (Jun 24, 2026) [Jirka Hladky]
2 * Fix 100% CPU spin when --no-command is used (BZ#2492029)
3 * Initialize socket_fd to -1 so daemon loop skips accept() correctly
4
5 v1.9.25 (Jun 24, 2026) [Jirka Hladky]
6 * Add haveged-initramfs.service for use inside the initramfs (BZ#2491739)
7 * Update dracut module to use initramfs-specific service file
8 * Fix: --no-command in initramfs broke switch-root handoff, causing
9 emergency mode on systems where haveged was started but not enabled
10
11 v1.9.24 (Jun 19, 2026) [Jirka Hladky]
12 * Add --no-command / -C flag to disable command mode at runtime
13 * Disable command mode in haveged.service and haveged-once.service
14 * Enable PrivateNetwork=true and remove ReadWritePaths=/dev/shm in service files
15
16 v1.9.23 (Jun 18, 2026) [Jirka Hladky]
17 * Use O_EXCL with sem_open to prevent semaphore pre-planting attacks [pyllyukko]
18 * Recover stale semaphores after SIGKILL by unlinking and retrying
19 * Add sem_close before sem_unlink for proper cleanup ordering
20 * Fix compilation when NO_COMMAND_MODE is defined
21 * Fix out-of-bounds memory access in safein()/safeout() on socket errors
22 * Reject command socket connections from different user namespaces
23 * Use O_NOFOLLOW for PID file to prevent symlink attacks
24 * Open random device with O_CLOEXEC to prevent fd leak across execv
25 * Restrict semaphore permissions from 0644 to 0600
26
27 v1.9.22 (May 21, 2026) [Jirka Hladky]
28 * Add ReadWritePaths=/dev/shm to systemd service for semaphore creation
29 under ProtectSystem=full sandboxing
30
31 v1.9.21 (May 14, 2026) [Jirka Hladky]
32 * Fix privilege escalation via command socket (CVE-2026-41054)
33 * Check peer credentials before reading command (CVE-2026-41054)
34 * Handle failing opening of semaphore [Werner Fink]
35 * Fix /dev/shm permissions to use sticky bit [Dirk Müller]
36 * Use chmod after mkdir to ensure correct /dev/shm permissions
37 * Update libtool: add lib64 search paths, remove dead code
38
39 v1.9.20 (Apr 29, 2026) [Jirka Hladky]
40 * Only warn when creating of named semaphore fails
41 * Creating /dev/shm if its not existing, otherwise haveged fails to start
42 * Fixed several typos
43
44 v1.9.19 (Oct 02, 2024) [Jirka Hladky]
45 * Added --time_interval N to add entropy unconditionally every N seconds
46
47 v1.9.18 (Apr 09, 2022) [Jirka Hladky]
48 * Round bits up and target full pool size [Jason A. Donenfeld]
49 * Specify right kernel commit in README [Jason A. Donenfeld]
50
51 v1.9.17 (Jan 08, 2022)
52 * Added new verbose mode [Jirka Hladky]
53 * haveged-once.service - use @SBIN_DIR@ instead of hard-coded path [Jirka Hladky]
54
55 v1.9.16 (Jan 02, 2022)
56 * Allow newuname syscall [Jirka Hladky]
57 * Fix: haveged cannot be run as an application if also running as a daemon [Günther Brunthaler]
58 * Add entropy unconditionally at the start and then every 60 seconds [Jirka Hladky]
59 * New parameter --once to refill entropy once and quit immediately [Jirka Hladky]
60 * Added haveged-once.service to provide entropy once (intended for initramfs) [Jirka Hladky]
61
62 v1.9.15 (Sep 30, 2021)
63 * Check for sys/auxv.h before using it. [Peter Seiderer]
64 * fix build on uclibc (origin/pr/58) [Pierre-Jean Texier]
65 * Improved make check tests [Jirka Hladky]
66 * Removed old init.d files. Configs are under contrib directory [Jirka Hladky]
67 * Support for Linux kernel LRNG patch set
68
69 v1.9.14 (Jan 01, 2021)
70 * made enttest configurable
71 * havegecmd.c - new command added to close the communication socket [Werner Fink]
72
73 v1.9.13 (Jun 28, 2020)
74 * added support for --version [Jirka Hladky]
75 * updated systemd service file [Jirka Hladky]
76
77 v1.9.12 (Jun 18, 2020)
78 * fix a memory leak in havege_destroy [Anakin Zhang]
79
80 v1.9.11 (Jun 11, 2020)
81 * updated version reported by program [Jirka Hladky]
82
83 v1.9.10 (Jun 11, 2020)
84 * fix ordering cycle with private tmp [Christian Hesse]
85
86 v1.9.9 (Jun 9, 2020)
87 * Updated systemd service file [nicoo]
88 * Bump soname [nicoo]
89 * Fix crash on shutdown in threaded mode [Sergei Trofimovich]
90 * Fix compilation with --enable-threads [Lars Wendler]
91
92 v1.9.8 (Sep 30, 2019)
93 * Fix for Unresolved symbol error_exit in libhavege #20 by pld-gitsync [Jirka Hladky]
94 * order after systemd-tmpfiles-setup-dev.service (origin/pr/21) [Christian Hesse]
95 * use systemd security features [Christian Hesse]
96 * do not run in container [Christian Hesse]
97 * do not use carriage return in line break [Christian Hesse]
98 * Fixed invalid UTF-8 codes in ChangeLog [Jirka Hladky]
99
100
101 v1.9.5 (Aug 20, 2019)
102 * Added test for /dev/random symlink [Jirka Hladky]
103 * Update to automake 1.16 [Jirka Hladky]
104 * Fix segv at start [Andrew]
105 * Fixed built issue on Cygwin [jbaker6953]
106 * Fix segfault on arm machines (origin/pr/7) [Natanael Copa]
107 * init.d/Makefile.am - add missing dependency [Jackie Huang]
108 * service.redhat - update PIDFile [Pierre-Jean Texier]
109 * Fix type mismatch in get_poolsize [Andreas Schwab]
110 * Fixup upstream changelog [Nicolas Braud-Santoni]
111 * Remove support for CPUID on ia64 (origin/pr/19) [Jeremy Bobbio]
112 * Output some progress during CUSUM and RANDOM EXCURSION test [Sven Hartge]
113 * Diagnostics capture mode now works correctly [Ethan Rahn]
114
115 v1.9.4 (Aug 11, 2018)
116 * Avoid misleading message if cmd socket is in use
117
118 v1.9.3 (Aug 10, 2018)
119 * Implemented a command mode and use it for chroot - contributed Dr. Werner Fink
120
121 v1.9.2 (Nov 16, 2017)
122 * Add cross compile fixes contributed by Robert Schwebel
123 * Limit watermark max to less than pool size to avoid 100% cpu condition
124 * Add service.suse init script contributed by Tomas Chvatal
125
126 v1.9.1 (Feb 11, 2014)
127 * Documentation and sample file touch-up for v1.9.
128
129 v1.9 (Feb 10, 2014)
130 * Fix dead man limit in test procedure B. Fix broken AIS retry logic.
131 * Correct online test defaults
132 * Improve diagnostic display of test results, output summary, testing retries
133 * Add test/output summary to all abnormal app terminations
134 * Add required <stddef.h> include to havege.h. Add quick version check for lib users.
135 * Improve diagnostic build for testing online tests. Fix broken inject features.
136 * Rework major portions of havegetest,c for better performance with -fpic
137 * Correct test procedure B to match independent clean room implementation of reference
138 * Tweak configure.ac for arm build, make --disable-clock_gettime consistent
139 * Major edit of man pages, haveged.8 and libhavege.3
140 * Many other documentation changes: havege.h, README, etc...
141
142 v1.8 (Jan 02, 2014)
143 * Fix return code for signalled termination.
144 * Update init.d/service.fedora - new return code + simple, not forking
145 * Add --enable_unitdir as DESTDIR for systemd install
146
147 v1.7c (Jun 08, 2013)
148 * Fix alignment fault on mips in havegetest.c, procedure B.
149
150 v1.7b (Jun 06, 2013)
151 * Fix alignment fault on sparc in havegetest.c, procedure A, test5XOR().
152 * Fix build ppc detection in configure.ac
153
154 v1.7a (Feb 13, 2013)
155 * Fix parallel build (LDADD fix + VPATH fixes to test programs)
156 * Fix check target for automake v1.13 and previous (use check-local)
157 * Add option to suppress tuning code build
158 * Improve sample spec file for library
159
160 v1.7 (Jan 15, 2013)
161 * Add havege_status_dump() as basis for haveged diagnostics
162 * Provide sample spec to build haveged and haveged-devel
163 * Add contrib/build to provide build support
164 * Modify build to use libtool
165 * Rename base types to alias stdint.h types to allow 'fixes' if necessary
166 * Rename all public functions to follow havege_* naming convention
167 * Sanitize havege.h to be include file for devel package
168 * Add destroy() to havege for library use.
169 * Move all remaining static vars to allocated memory.
170 * Rework include file structure to eliminate include sequence errors.
171 * Fix (rare) segfault in test0 caused by 1.6 alignment fix
172
173 v1.6a (Dec 18, 2012)
174 * Fix typo in configure.ac
175
176 v1.6 (Dec 15, 2012)
177 * Correct makefile encoding and defaults description
178 * Make clock_gettime a build option and correct dependencies when used.
179 * Fix alignment fault on arm64 in procedure A test0.
180
181 v1.5 (Aug 12, 2012)
182 * Add online tests based on AIS-31 controlled by --enable-olt build option
183 * Add -o option to specify online tests to perform
184 * Add -p option to specify the pid location.
185 * Fix -F option to not take argument - i.e. now a switch
186 * Factor diagnostic methods for capture and inject for better performance
187 * Fix install target, move to bin and eliminate script if not daemon, now use sysv and systemd templates
188
189 v1.4 (Feb 07, 2012)
190 * Add s390 architecture. Thanks to Dan Horak and Jiri Hladky
191 * Add generic architecture with clock_gettime() timer.
192 * Rewrite collection loop to support multiple instances and new diagnostics
193 * Rewrite tuning mechanism to add virtual file system mining and correct cpuid bugs
194 * Add prototype multi-thread collection option
195 * Reduce collection buffer size to .5MB
196 * Improve/correct build and install
197 * Add new invocation options to support new features.
198
199 v1.3 (Oct 23, 2011)
200 * Integrate contributions by Jirka Hladky to fine tune collection implementation.
201 * Add non-daemon interface with option to send continuous stream of output to stdout.
202
203 v1.2 (June 26, 2011))
204 * Address compiler issues by using compiler intrinsics.
205 * Fix cpuid pic issues once again.
206
207 v1.01 (Jan 04,2011)
208 * Add detached option for those who use a supervising daemon
209 * Build cleanup for non-cpuid environments
210
211 v1.0 (Nov 28,2010)
212 * Fix gcc 4.5 optimization of HARDCLOCK
213 * Add contrib section
214
215 v0.9 (Sep 01, 2009)
216 * Refine collection for gcc 4.4 on Intel i7 (gentoo)
217 * Update auto tune to Intel latest cpuid spec
218 * Add check for cpuid instruction on i386
219 * Add man(8) page
220 * Cleanup check target to build with -Wall
221
222 v0.8 (Jul 30, 2009)
223 * Correct pool size related calculations.
224
225 v0.7 (May 1, 2009)
226 * More package contents confusion.
227
228 v0.6 (Apr 29, 2009)
229 * Correct mix up in package contents
230
231 v0.5 (Apr 28, 2009)
232 * Migrated project to GNU build
233
234 v04 (Apr 26, 2009)
235 * Fix documentation typos!
236
237 v03 (Apr 24, 2009)
238 * Reworked build/test for more general install.
239 * Integrate init script changes from A Bartlett
240
241 v02 (Jan 19, 2009)
242 * Reworked daemon with run-time loop tuning.
243 * Submitted to freshmeat
244
245 v (Jan 10, 2009)
246 * Original daemon based on libhavege.