Commit graph

  • fa0a77f84c Add missing esc_tag() in status and parity split log tags Andrea Mazzoleni 2026-08-17 19:02:15 +02:00
  • e5246cc309 Fix io_flush_thread() to wait for in-flight writer tasks before returning Andrea Mazzoleni 2026-08-17 18:13:56 +02:00
  • d592cccffb Set stream state to EOF in sfill when reaching stream size limit Andrea Mazzoleni 2026-08-17 17:26:49 +02:00
  • d4ae953137 Fix sopen_write call signature in HAVE_MT_WRITE block by adding stream flags Andrea Mazzoleni 2026-08-17 17:25:35 +02:00
  • 9ef9155ccf Enforce content file CRC as terminal by rejecting trailing data and terminating parse loop Andrea Mazzoleni 2026-08-17 17:23:47 +02:00
  • db34e93936 Check and report shared physical devices across array disks Andrea Mazzoleni 2026-08-17 11:10:49 +02:00
  • e241b9b43d Add SMHasher3 adapters and validation results for SnapRAID hash functions Andrea Mazzoleni 2026-08-17 15:40:01 +02:00
  • b8ffdbd1f7 Propagate smartctl info options in Windows devtree and thermal monitoring Andrea Mazzoleni 2026-08-17 10:49:47 +02:00
  • 175649e236 Fix spinup and spindown failure when skipping non-rotational devices Andrea Mazzoleni 2026-08-17 10:46:35 +02:00
  • 55f0644004 Handle short read and pread operations in import and search paths Andrea Mazzoleni 2026-08-17 10:16:01 +02:00
  • 608393867a Fix undefined behavior in STREAM buffer bounds checking by avoiding out-of-bounds pointer arithmetic Andrea Mazzoleni 2026-08-17 10:12:03 +02:00
  • 3185e1bf34 Fix undefined behavior in extent file comparison by casting pointers to uintptr_t Andrea Mazzoleni 2026-08-17 10:07:41 +02:00
  • bd856b456b Fix undefined _linux macro typo to __linux__ Andrea Mazzoleni 2026-08-17 10:00:11 +02:00
  • 9c6e3952c5 Remove unused MetroHash implementation and references Andrea Mazzoleni 2026-08-17 09:43:45 +02:00
  • 4ec28b4b58 Redirect uncaptured stdio streams to NUL in os_spawn on Windows Andrea Mazzoleni 2026-08-16 23:00:20 +02:00
  • 87977f28f4 Harden PowerShell execution with safe SearchPathW and os_spawn Andrea Mazzoleni 2026-08-16 22:46:12 +02:00
  • c1fa9e23b6 Remove legacy in-place mtime_nsec migration in multithread scanner Andrea Mazzoleni 2026-08-16 22:07:41 +02:00
  • fd09e72816 Add buffer bounds check before appending wildcard in windows_opendir_find Andrea Mazzoleni 2026-08-16 21:41:02 +02:00
  • f48e406d52 Convert extended UNC paths to standard UNC format in windows_realpath Andrea Mazzoleni 2026-08-16 21:37:32 +02:00
  • f9626f6e3e Normalize negative pre-1970 FILETIME timestamps via windows_time2stat Andrea Mazzoleni 2026-08-16 21:32:42 +02:00
  • a8ffcec127 Accumulate ReadCount and WriteCount into 64-bit count in devstat Andrea Mazzoleni 2026-08-16 21:28:28 +02:00
  • caeb3a9d1b Fix PrintNameOffset WCHAR index scaling and add bounds validation in windows_readlink Andrea Mazzoleni 2026-08-16 21:21:47 +02:00
  • 091e44afed Handle short writes and EINTR in sflush, handle_write, and parity_write Andrea Mazzoleni 2026-08-16 16:09:12 +02:00
  • 712b54ec98 Reject incomplete VPD page 0x80 instead of clamping page_len Andrea Mazzoleni 2026-08-16 15:47:35 +02:00
  • 8707c588a0 Fix 16-bit big-endian length parsing for SCSI VPD page 0x80 Andrea Mazzoleni 2026-08-16 15:43:34 +02:00
  • 3c1772d478 Move user and group resolution before fork for async-signal safety Andrea Mazzoleni 2026-08-15 10:23:20 +02:00
  • e946af060e Update AGENTS.md Andrea Mazzoleni 2026-08-14 11:48:22 +02:00
  • 59f3086841 Track read-only handle fallback to report accurate write permission errors instead of EBADF Andrea Mazzoleni 2026-08-14 11:40:15 +02:00
  • 05778a9a46 Serialize bandwidth rate limiter sleep inside mutex to eliminate parallel worker stall waves Andrea Mazzoleni 2026-08-14 11:31:57 +02:00
  • 9c93cbfcaa Forward configuration file options to spindown on error Andrea Mazzoleni 2026-08-14 11:22:30 +02:00
  • 8c9a91c93b Improve error message when content files are damaged or truncated Andrea Mazzoleni 2026-08-14 11:07:15 +02:00
  • 35b4d4b2ed Remove stale snapshot link if renaming device link fails on Windows Andrea Mazzoleni 2026-08-14 10:47:07 +02:00
  • fa8913a759 Use monotonic clock in os_tick_ms and os_tick_sec on POSIX systems Andrea Mazzoleni 2026-08-14 10:40:54 +02:00
  • cdd8798227 Use unsigned char for character range comparisons in match_class Andrea Mazzoleni 2026-08-14 10:39:07 +02:00
  • 180f7edc2f Decode mountinfo octal escapes during Bcachefs device dereferencing Andrea Mazzoleni 2026-08-14 09:54:28 +02:00
  • 39e55d3002 Fix ZFS dataset discovery when mount paths contain spaces Andrea Mazzoleni 2026-08-14 09:51:50 +02:00
  • 30417d57a5 Exclude snapshot directory only when snapshot mode is enabled Andrea Mazzoleni 2026-08-14 09:47:12 +02:00
  • daf713820e Add os_usleep with bounded sleep loop returning on signal interruption and use it in bandwidth limiter Andrea Mazzoleni 2026-08-14 09:25:14 +02:00
  • 2bf74bc66f Index deallocated snapshot blocks in previmportset during rehash Andrea Mazzoleni 2026-08-14 09:02:44 +02:00
  • f453a72369 Preserve recovery state until a full clean sync completes Andrea Mazzoleni 2026-08-14 01:18:03 +02:00
  • 349c18a0a8 Sync rejects block ranges and always process full parity Andrea Mazzoleni 2026-08-14 00:28:30 +02:00
  • 1015e2a6c5 Remove duplicate scrub parity mismatch diagnostic Andrea Mazzoleni 2026-08-14 00:21:16 +02:00
  • 9255157519 Fix per-file block index overflow beyond 32 bits Andrea Mazzoleni 2026-08-14 00:17:58 +02:00
  • 5be2d16904 Add AGENTS.md Andrea Mazzoleni 2026-08-13 22:28:20 +02:00
  • 6c8bee76fa Continue snapshot renames across per-disk failures Andrea Mazzoleni 2026-08-13 22:15:42 +02:00
  • 7eaec5ca70 Fix thermal device list cleanup on early exits Andrea Mazzoleni 2026-08-12 16:52:17 +02:00
  • f09091a4e4 Refine RAID buffer displacement rationale Andrea Mazzoleni 2026-08-12 16:15:58 +02:00
  • 45833e9f1f Refine RAID stride noise documentation Andrea Mazzoleni 2026-08-12 16:07:57 +02:00
  • 039b5c2c28 Add RAID library developer README Andrea Mazzoleni 2026-08-12 15:30:52 +02:00
  • 3d23853de7 Log explicit warning when missing snapshots fall back to live filesystem Andrea Mazzoleni 2026-08-12 15:22:23 +02:00
  • 7b7a2d5d00 Fail sync if snapshot setup fails on a supported filesystem Andrea Mazzoleni 2026-08-12 15:03:15 +02:00
  • 3f0c194a2f Fix snapshot commit failure propagation to ensure sync exits with error Andrea Mazzoleni 2026-08-12 15:01:00 +02:00
  • 661e539f45 Defer pending snapshot promotion until parity sync Andrea Mazzoleni 2026-08-12 14:53:58 +02:00
  • bb1a08e950 Remove curl fallback from packaging scripts and require local tarball Andrea Mazzoleni 2026-08-12 12:54:25 +02:00
  • cd4e06a215 Fix Bcachefs snapshot renaming to use the atomic rename syscall Andrea Mazzoleni 2026-08-12 12:11:31 +02:00
  • 170759e83c Use direct Linux setresuid/setresgid syscalls for thread-local privilege switching Andrea Mazzoleni 2026-08-12 11:20:34 +02:00
  • 6b3b60bf87 Add O_CLOEXEC flag to open /dev/null in os_command and os_daemonize Andrea Mazzoleni 2026-08-12 11:12:22 +02:00
  • 03831386f0 Fix os_wait return type mismatch in UNIX implementation Andrea Mazzoleni 2026-08-12 10:30:41 +02:00
  • 1c3f695d5a Isolate child process group with setpgid to prevent double signal delivery Andrea Mazzoleni 2026-08-12 10:04:50 +02:00
  • 4defb748e8 Document why invalid GUID validation in fssnapshot_create returns immediately without WMI cleanup Andrea Mazzoleni 2026-08-12 09:54:35 +02:00
  • e44fb81da2 Modernize configure.ac Andrea Mazzoleni 2026-08-12 00:33:14 +02:00
  • c66ea18715 Fix Makefile target name from btrfscheck to snapcheck in makecov.sh Andrea Mazzoleni 2026-08-12 00:23:54 +02:00
  • eebb3943e5 Protect rate limiter state updates with a mutex to prevent data races Andrea Mazzoleni 2026-08-12 00:22:27 +02:00
  • b4a694bb10 Align Windows rotational device detection fallback with Unix by assuming rotational when unknown Andrea Mazzoleni 2026-08-12 00:10:26 +02:00
  • 3e4f79180e Fix potential division by zero in nalloc_nofail when size is zero Andrea Mazzoleni 2026-08-12 00:07:32 +02:00
  • dac999e693 Fix non-POSIX test equality operator in configure.ac for shell compatibility Andrea Mazzoleni 2026-08-12 00:03:51 +02:00
  • 74a62a8d82 Change the speed report link Andrea Mazzoleni 2026-08-10 22:44:25 +02:00
  • 5434a900ce Update HISTORY Andrea Mazzoleni 2026-08-10 22:18:46 +02:00
  • 86a9064a68 Add S_ISBLK checks to devdereference_btrfs and devdereference_bcachefs Andrea Mazzoleni 2026-08-10 13:10:58 +02:00
  • 84297fc6dc Replace malloc with alloca in fork child exec path for async-signal safety Andrea Mazzoleni 2026-08-10 13:01:05 +02:00
  • 19173754ec Comment explaining why CLOSE_RANGE_CLOEXEC is safe for fexecve binaries in os_spawn Andrea Mazzoleni 2026-08-10 12:52:37 +02:00
  • c4d509438f Add devlabel_dev to read volume labels from /dev/disk/by-label Andrea Mazzoleni 2026-08-10 12:16:19 +02:00
  • f818d9426b Remove libblkid support and build dependency Andrea Mazzoleni 2026-08-10 12:05:21 +02:00
  • 413e46251e Add FS_IOC_GETFSLABEL ioctl support for reading filesystem labels in Linux Andrea Mazzoleni 2026-08-10 11:58:39 +02:00
  • 97b13557fe Reset all SMART attribute fields (raw, norm, worst, thresh) to SMART_UNASSIGNED when ignored Andrea Mazzoleni 2026-08-10 11:41:55 +02:00
  • 3a3152a36f Comment about syshex Andrea Mazzoleni 2026-08-10 11:33:03 +02:00
  • 2b71f5727e Guard lower close_range call with fd > 3 in os_exec_script Andrea Mazzoleni 2026-08-06 23:18:12 +02:00
  • 6491de0eaa Fail devdereference_zfs and devdereference_bcachefs if stat or S_ISBLK checks fail on any device Andrea Mazzoleni 2026-08-06 23:13:23 +02:00
  • f518a1ba18 Return error in devdereference_bcachefs if no devices are found Andrea Mazzoleni 2026-08-06 23:06:48 +02:00
  • 8562e4f28e Free devlist allocations on error in devdereference_btrfs Andrea Mazzoleni 2026-08-06 23:02:38 +02:00
  • c4511e28bc Fallback to rotational in devpower if sysfs attribute is unknown Andrea Mazzoleni 2026-08-06 22:56:37 +02:00
  • f3c3265116 Document dummy register clobbers in raid_sse_end and raid_neon_end Andrea Mazzoleni 2026-08-06 22:46:54 +02:00
  • acdf29ac09 Replace VLA envp_dynamic with malloc in fork child exec path Andrea Mazzoleni 2026-08-05 22:24:28 +02:00
  • 6c85573d12 Add comments explaining Windows Service console attachment flow in os_term Andrea Mazzoleni 2026-08-04 11:55:20 +02:00
  • f67bf49c91 Comment about process resource in os_term/os_kill on Windows Andrea Mazzoleni 2026-08-04 11:50:00 +02:00
  • b3fdc8d6a5 Add fallback to kill(pid, sig) when process group signaling returns ESRCH in os_term and os_kill Andrea Mazzoleni 2026-08-04 11:46:35 +02:00
  • 6b46e08a1f Configure PR_SET_PDEATHSIG on Linux and Job Objects on Windows to prevent orphaned subprocesses on program crash Andrea Mazzoleni 2026-08-01 18:26:01 +02:00
  • 0ca7c65049 Support filesystems with invalid inode numbers on individual files Andrea Mazzoleni 2026-07-30 16:20:26 +02:00
  • 3878c0e2e6 Silence clang static analyzer warnings Andrea Mazzoleni 2026-07-30 12:40:08 +02:00
  • 76124cff00 Add bounded retry with exponential backoff for ERROR_NO_SYSTEM_RESOURCES Andrea Mazzoleni 2026-07-30 11:58:10 +02:00
  • 05884d7aa0 Fix binary varint decoders to reject values overflowing uint32_t/uint64_t declared widths Andrea Mazzoleni 2026-07-30 10:58:35 +02:00
  • 02413b756c Validate the product/model returned by the Windows driver Andrea Mazzoleni 2026-07-30 10:43:15 +02:00
  • c79f82bc99 Update to the new RAID library Andrea Mazzoleni 2026-07-29 12:47:44 +02:00
  • 47b321d97c Support dynamic runtime selection of RAID AES mode Andrea Mazzoleni 2026-07-29 12:47:13 +02:00
  • 1b1ae7cce9 Add new os_kill Andrea Mazzoleni 2026-07-28 23:27:12 +02:00
  • e191127b0d Add CREATE_NO_WINDOW flag to process creation in os_spawn Andrea Mazzoleni 2026-07-28 22:43:53 +02:00
  • 7afed76f06 Create symlinks to host binaries on Wine targets to run test commands natively Andrea Mazzoleni 2026-07-18 00:45:48 +02:00
  • 9a2ea26a62 Fix build in different directory Andrea Mazzoleni 2026-07-17 13:43:15 +02:00
  • 4ebdfe8c8f Defer deallocation of modified files to phase 2 to prevent copy-detection races Andrea Mazzoleni 2026-07-16 23:22:15 +02:00
  • 821756371c Block signal delivery across fork to prevent signal forwarding race condition in main.c Andrea Mazzoleni 2026-07-16 22:50:23 +02:00