Repository navigation
Releases
Releases · LuHaoran1981/taskhealth
taskhealth 0.2.2
TaskHealth 0.2.2
Changes since 0.2.1:
- Fix Unix domain socket permissions: allow non-root clients to connect (relax socket mode to 0666, drop the same-uid accept gate), with SO_PEERCRED anti-spoofing checks
- Fix a use-after-free in the demo mutex teardown path
- Packaging: add %check (make check-daemon check-integration), sync hardened systemd unit, Fedora spec review fixes
Full changelog: v0.2.1...v0.2.2
TaskHealth v0.2.1
What's new in v0.2.1
Features
- Process-crash detection — a client process that disconnects without a
clean shutdown (i.e. crashes) now emits an UNEXPECTED_EXIT alert, on top of
the existing per-thread exit detection.
Documentation
- Man pages for
taskhealthd(8),taskhealth(7), andtaskhealth-demo(1). - A
taskhealthd.servicesystemd unit.
Packaging
- Debian install file lists for all four binary packages.
- Yocto recipe renamed to
taskhealth_0.2.1.bbwith the v0.2.1 tarball sha256. - Upstream contact email switched to
luhaoran1981@icloud.com.
TaskHealth v0.2.0
What's new in v0.2.0
Features
- Lock-name resolution — DEADLOCK / LOCK_WAIT alerts now resolve the blocked
futex address to a registered mutex name (via the client's cooperative
MSG_MUTEX_REGISTERhook), so alerts readlock=lock-Ainstead of a bare address.
Fixes & hardening
- Watchdog snapshot/write-back —
/procprobes and alert emission no longer
hold the registry lock, so slow probes don't block client registration. - Heartbeat recovery — deadlock / lock-wait flags reset when a thread
heartbeats again, so a new episode re-alerts. - Error distinction — register now distinguishes table-full vs
already-registered (distinct error codes). - Client response timeout — the synchronous register response wait is bounded
(2s) so a hung daemon can't block the caller indefinitely.
Packaging
- SPDX license identifiers on all source files (MIT for
src/+include/,
GPL-2.0-or-later fordaemon/+demo/+test/). - Fixed Debian install paths (
usr/include/taskhealth/protocol.h,
usr/bin/taskhealth-demo) and3.0 (quilt)source format.
v0.1.0
首个 client-daemon 架构版本。
- taskhealthd 守护进程:跨进程线程健康监控(epoll + Unix domain socket)
- libtaskhealth 客户端库:注册 / 心跳 / 注销
- 检测:线程意外退出、futex 死锁、锁等待超时
- 打包:Debian / RPM / Yocto