Commit graph

2348 commits

Author SHA1 Message Date
Andrea Mazzoleni
c4a3b0b094 Move safe memory helper functions to dedicated memory.c and memory.h 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
c863bab80b Update HISTORY 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
95af0541e7 Update TODO 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
bb72ac348f Make os_abort to log to os_syslog 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
4626e863ff Fail if the PowerShell command is too long 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
d2a41a5711 Fix documentation of windows_guid_is_valid 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
a08bd8a7b8 Document handle_close failures 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
82745d27f9 Fix typo in monothread implementation 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
6870c4ab17 Fix leak on error in state_write 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
f3eb28fdae Fix leak on error in argutf8 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
25963f6a74 Avoid floating point underflow in thermal computation 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
2a1c67c5fd Introduce nalloc_nofail 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
db6f8df3e5 Fix strtrim to correctly trim strings containing only whitespace 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
c5a093d1d0 Prevent integer wrap-around when checking string length in sgetbs 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
56aa8a1076 Sanitize addr2line binary path via strspn whitelist before system call 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
4ff75ca0cc Sync the OS interface with the daemon 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
65a7aa9bcb Run PowerShell commands safely via base64 encoded strings 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
204eec0029 Pass element count instead of byte count to WCHAR buffer bounds 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
ae98176236 Synchronize child_process updates using interlocked Win32 APIs 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
7afa3f75d6 Avoid 100% CPU utlization in thread_yield 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
3a54bc5cf5 Document why thread_yield is used 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
78e3c1bc1c Abort on privilege switch failures unless errno is EPERM 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
551d660913 Allocate minimum 1 byte in malloc_nofail when size is 0 to prevent process abort 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
8c101ffd01 Use sig_atomic_t 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
01bfd70e6a Clarify comment about reading uuids 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
53a12e9986 Align data disk UUID validation and write logic with parity splits using content_uuid 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
784fc7bf1f Optimize redundant devuuid() calls by storing content file UUIDs in a dedicated field 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
9419bd349b Update TODO 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
b5f0b2c53d Fix translation inconsistencies 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
4c74b3d7c1 Add support for specifying case-insensitive SMART attribute names in the smartignore option 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
d3be81691b Avoid some hardcoded string sizes 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
c20b1d5762 Merge the CLI and Daemon portable interface 2026-07-29 16:49:01 +02:00
Andrea Mazzoleni
d4caf84448 Avoid a folding VLA warning in clang 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
1afce3e736 Fix translation inconsistencies 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
1c888f645f Add Translation section to manual translations 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
b61413d7e2 New target make doc 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
1253fe412a Localize section headers and update content commands in translations 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
c41cd7d127 Update manual description of content file commands to include all available options 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
c0b7900f4c Fail Btrfs device listing if an unexpeced error happens 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
e010c8e88c Fix file descriptor leak in os_spawn by enabling O_CLOEXEC for compiled binaries 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
b9d181d9cb Add support for custom smartctl info options using a [info: ...] tag 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
7c9473027c Skip spinup and spindown for non-rotational devices 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
d11c872fb6 Refactor portable support 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
60daeb6dfa Allow tools to be symlinks and hardlinks 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
130aaddbd0 Rename randomize to os_randomize 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
525d789f57 Use uniform ending on files for parity implementation 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
7af3efa1c0 Fix building on x86 for missing AVX512 support 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
90b2aa827c Update translations 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
ca0f3545bf More CPU info 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
e7c85a1af3 Add CRC support for macOS 2026-07-29 16:46:27 +02:00