Commit graph

2347 commits

Author SHA1 Message Date
Andrea Mazzoleni
180278fbb4 Make os_abort to log to os_syslog 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
19297d6c3d Fail if the PowerShell command is too long 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
ad6ddafd05 Fix documentation of windows_guid_is_valid 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
ebe2bbe76c Document handle_close failures 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
1b2f619852 Fix typo in monothread implementation 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
3a8c5917fd Fix leak on error in state_write 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
ff0a4a444a Fix leak on error in argutf8 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
f17b502652 Avoid floating point underflow in thermal computation 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
bbcdb72a9f Introduce nalloc_nofail 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
8de159289a Fix strtrim to correctly trim strings containing only whitespace 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
760e0660c8 Prevent integer wrap-around when checking string length in sgetbs 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
effc3be9c2 Sanitize addr2line binary path via strspn whitelist before system call 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
d6b51d61e7 Sync the OS interface with the daemon 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
f627f3be80 Run PowerShell commands safely via base64 encoded strings 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
e51a29927a Pass element count instead of byte count to WCHAR buffer bounds 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
5edf0b2c03 Synchronize child_process updates using interlocked Win32 APIs 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
4bbfdc43d9 Avoid 100% CPU utlization in thread_yield 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
dcb7327f15 Document why thread_yield is used 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
056a037761 Abort on privilege switch failures unless errno is EPERM 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
aa53e9f4b7 Allocate minimum 1 byte in malloc_nofail when size is 0 to prevent process abort 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
8fb52b974b Use sig_atomic_t 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
afc643d923 Clarify comment about reading uuids 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
3484965b89 Align data disk UUID validation and write logic with parity splits using content_uuid 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
452adbd8d9 Optimize redundant devuuid() calls by storing content file UUIDs in a dedicated field 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
579a939b9b Update TODO 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
06f4aa027f Fix translation inconsistencies 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
133e527643 Add support for specifying case-insensitive SMART attribute names in the smartignore option 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
3c3d20601b Avoid some hardcoded string sizes 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
00b4cbafd0 Merge the CLI and Daemon portable interface 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
49d5e685c9 Avoid a folding VLA warning in clang 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
8ab9d88a90 Fix translation inconsistencies 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
de61039072 Add Translation section to manual translations 2026-08-18 23:33:55 +02:00
Andrea Mazzoleni
2848c25a6d New target make doc 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
4a5422b81d Localize section headers and update content commands in translations 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
95f30fe3ae Update manual description of content file commands to include all available options 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
44bce00aef Fail Btrfs device listing if an unexpeced error happens 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
818bb61e3b Fix file descriptor leak in os_spawn by enabling O_CLOEXEC for compiled binaries 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
52f7c2184f Add support for custom smartctl info options using a [info: ...] tag 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
d6d1d6d3cd Skip spinup and spindown for non-rotational devices 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
d7c6a27c6d Refactor portable support 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
34103b65ec Allow tools to be symlinks and hardlinks 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
bb401e2e3f Rename randomize to os_randomize 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
8e2b9c03b5 Use uniform ending on files for parity implementation 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
1a3099d7f5 Fix building on x86 for missing AVX512 support 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
1929b0b6b0 Update translations 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
255a54a10a More CPU info 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
2db72e0e7e Add CRC support for macOS 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
b94f7a952c In the speed test, set the CPU affinity to the expected best core 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
fd2dc7810f Run the speed test with and without displacement 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
2dbb25acbd Allow to specify the wrap size in allocation 2026-08-18 23:33:54 +02:00