Commit graph

2340 commits

Author SHA1 Message Date
Andrea Mazzoleni
b4d370e9ed Document handle_close failures 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
e2740e2a66 Fix typo in monothread implementation 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
1539a57f93 Fix leak on error in state_write 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
ebea76c8ed Fix leak on error in argutf8 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
42632f5d45 Avoid floating point underflow in thermal computation 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
0e48c2e3ab Introduce nalloc_nofail 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
ac94cff7f7 Fix strtrim to correctly trim strings containing only whitespace 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
bad5d68c7a Prevent integer wrap-around when checking string length in sgetbs 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
8add1ea48f Sanitize addr2line binary path via strspn whitelist before system call 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
78c26f1b19 Sync the OS interface with the daemon 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
98caef576f Run PowerShell commands safely via base64 encoded strings 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
8b5d17b073 Pass element count instead of byte count to WCHAR buffer bounds 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
c2d7b043ee Synchronize child_process updates using interlocked Win32 APIs 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
02276ba5a6 Avoid 100% CPU utlization in thread_yield 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
cd044f6e21 Document why thread_yield is used 2026-07-19 18:23:45 +02:00
Andrea Mazzoleni
5a8a851a70 Abort on privilege switch failures unless errno is EPERM 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
8b457a4338 Allocate minimum 1 byte in malloc_nofail when size is 0 to prevent process abort 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
7cdfbea192 Use sig_atomic_t 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
e9a746e074 Clarify comment about reading uuids 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
7db8e03c35 Align data disk UUID validation and write logic with parity splits using content_uuid 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
fd1c00f07f Optimize redundant devuuid() calls by storing content file UUIDs in a dedicated field 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
fbd84e81c4 Update TODO 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
6ea0b1752a Fix translation inconsistencies 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
6dadd62394 Add support for specifying case-insensitive SMART attribute names in the smartignore option 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
53c844ab77 Avoid some hardcoded string sizes 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
a2813dd19f Merge the CLI and Daemon portable interface 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
5ed1d7e010 Avoid a folding VLA warning in clang 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
a4055deda6 Fix translation inconsistencies 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
72efb9079b Add Translation section to manual translations 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
00441693d6 New target make doc 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
9239a8b826 Localize section headers and update content commands in translations 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
7de7a19e0d Update manual description of content file commands to include all available options 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
37495691ce Fail Btrfs device listing if an unexpeced error happens 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
42b76bc978 Fix file descriptor leak in os_spawn by enabling O_CLOEXEC for compiled binaries 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
db6d686241 Add support for custom smartctl info options using a [info: ...] tag 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
bb99a2eb59 Skip spinup and spindown for non-rotational devices 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
d87112536e Refactor portable support 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
6597e4470c Allow tools to be symlinks and hardlinks 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
27b4a96cfa Rename randomize to os_randomize 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
7712a263cc Use uniform ending on files for parity implementation 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
a92a013855 Fix building on x86 for missing AVX512 support 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
2a146e5677 Update translations 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
2eebd3c463 More CPU info 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
98f8c78a59 Add CRC support for macOS 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
4b20aefe0f In the speed test, set the CPU affinity to the expected best core 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
0871178223 Run the speed test with and without displacement 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
938e5ef7a2 Allow to specify the wrap size in allocation 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
d2179bca24 Refactor and reorganize parity generation functions using inline templates 2026-07-19 18:23:44 +02:00
Andrea Mazzoleni
cebb57c81b Add AArch64 NEON parity generation and recovery functions 2026-07-19 18:23:43 +02:00
Andrea Mazzoleni
c2caddc97a Use vpternlogq in raid_gen3-6_avx512bw to fuse sequential vpxorq instructions into single 3-way XORs 2026-07-19 18:23:43 +02:00