Commit graph

2409 commits

Author SHA1 Message Date
Andrea Mazzoleni
bce4965998 Add RAID library developer README 2026-08-13 16:03:30 +02:00
Andrea Mazzoleni
3308b71313 Log explicit warning when missing snapshots fall back to live filesystem 2026-08-13 16:03:29 +02:00
Andrea Mazzoleni
e69858c336 Fail sync if snapshot setup fails on a supported filesystem 2026-08-13 16:03:29 +02:00
Andrea Mazzoleni
3b462fed17 Fix snapshot commit failure propagation to ensure sync exits with error 2026-08-13 16:03:29 +02:00
Andrea Mazzoleni
6cab8e3909 Defer pending snapshot promotion until parity sync 2026-08-13 16:03:29 +02:00
Andrea Mazzoleni
554adc9048 Remove curl fallback from packaging scripts and require local tarball 2026-08-12 12:55:57 +02:00
Andrea Mazzoleni
83fdd29719 Fix Bcachefs snapshot renaming to use the atomic rename syscall
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-08-12 12:11:31 +02:00
Andrea Mazzoleni
9edaa39830 Use direct Linux setresuid/setresgid syscalls for thread-local privilege switching 2026-08-12 11:38:46 +02:00
Andrea Mazzoleni
3a79c41320 Add O_CLOEXEC flag to open /dev/null in os_command and os_daemonize 2026-08-12 11:14:16 +02:00
Andrea Mazzoleni
1ac81d3c26 Fix os_wait return type mismatch in UNIX implementation 2026-08-12 10:30:41 +02:00
Andrea Mazzoleni
7607fc2fde Isolate child process group with setpgid to prevent double signal delivery 2026-08-12 10:19:15 +02:00
Andrea Mazzoleni
385c6b6490 Document why invalid GUID validation in fssnapshot_create returns immediately without WMI cleanup 2026-08-12 10:19:15 +02:00
Andrea Mazzoleni
50adce36a4 Modernize configure.ac 2026-08-12 10:19:15 +02:00
Andrea Mazzoleni
b726c60077 Fix Makefile target name from btrfscheck to snapcheck in makecov.sh 2026-08-12 00:23:54 +02:00
Andrea Mazzoleni
276d1bd26e Protect rate limiter state updates with a mutex to prevent data races 2026-08-12 00:22:27 +02:00
Andrea Mazzoleni
8945e9fb36 Align Windows rotational device detection fallback with Unix by assuming rotational when unknown 2026-08-12 00:10:26 +02:00
Andrea Mazzoleni
d41e57921a Fix potential division by zero in nalloc_nofail when size is zero 2026-08-12 00:07:32 +02:00
Andrea Mazzoleni
3131d57646 Fix non-POSIX test equality operator in configure.ac for shell compatibility 2026-08-12 00:03:51 +02:00
Andrea Mazzoleni
5d0534a7a3 Change the speed report link
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-08-10 22:44:25 +02:00
Andrea Mazzoleni
0543666971 Update HISTORY 2026-08-10 22:18:46 +02:00
Andrea Mazzoleni
40ad88efac Add S_ISBLK checks to devdereference_btrfs and devdereference_bcachefs
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-08-10 13:26:29 +02:00
Andrea Mazzoleni
f908b122a5 Replace malloc with alloca in fork child exec path for async-signal safety 2026-08-10 13:26:29 +02:00
Andrea Mazzoleni
e1f6ddfe15 Comment explaining why CLOSE_RANGE_CLOEXEC is safe for fexecve binaries in os_spawn 2026-08-10 13:26:29 +02:00
Andrea Mazzoleni
37b70c378d Add devlabel_dev to read volume labels from /dev/disk/by-label 2026-08-10 13:26:29 +02:00
Andrea Mazzoleni
8299a30475 Remove libblkid support and build dependency 2026-08-10 12:08:04 +02:00
Andrea Mazzoleni
1692786269 Add FS_IOC_GETFSLABEL ioctl support for reading filesystem labels in Linux 2026-08-10 12:04:02 +02:00
Andrea Mazzoleni
6f404aad6a Reset all SMART attribute fields (raw, norm, worst, thresh) to SMART_UNASSIGNED when ignored 2026-08-10 11:41:55 +02:00
Andrea Mazzoleni
d3a4c80ab2 Comment about syshex 2026-08-10 11:37:08 +02:00
Andrea Mazzoleni
78bcfaaa04 Guard lower close_range call with fd > 3 in os_exec_script 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
21b92ff33d Fail devdereference_zfs and devdereference_bcachefs if stat or S_ISBLK checks fail on any device 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
c3326dcb80 Return error in devdereference_bcachefs if no devices are found 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
2f3ca18f32 Free devlist allocations on error in devdereference_btrfs 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
14d25db309 Fallback to rotational in devpower if sysfs attribute is unknown 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
0e4bc5bcee Document dummy register clobbers in raid_sse_end and raid_neon_end 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
ae1fe46ea8 Replace VLA envp_dynamic with malloc in fork child exec path 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
d47a7fa6ff Add comments explaining Windows Service console attachment flow in os_term 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
52dbb0a8cf Comment about process resource in os_term/os_kill on Windows 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
2566ddbc69 Add fallback to kill(pid, sig) when process group signaling returns ESRCH in os_term and os_kill 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
58d75feea4 Configure PR_SET_PDEATHSIG on Linux and Job Objects on Windows to prevent orphaned subprocesses on program crash 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
8c128c1bc3 Support filesystems with invalid inode numbers on individual files 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
cd39ccf752 Silence clang static analyzer warnings 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
52c00ea982 Add bounded retry with exponential backoff for ERROR_NO_SYSTEM_RESOURCES 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
aae5351146 Fix binary varint decoders to reject values overflowing uint32_t/uint64_t declared widths 2026-08-10 11:23:15 +02:00
Andrea Mazzoleni
149d44121e Validate the product/model returned by the Windows driver 2026-08-10 11:23:14 +02:00
Andrea Mazzoleni
2e8292ac49 Update to the new RAID library 2026-08-10 11:23:14 +02:00
Andrea Mazzoleni
b43cf8caad Support dynamic runtime selection of RAID AES mode 2026-08-10 11:23:14 +02:00
Andrea Mazzoleni
9312712a28 Add new os_kill 2026-08-10 11:23:14 +02:00
Andrea Mazzoleni
0c1852ebd0 Add CREATE_NO_WINDOW flag to process creation in os_spawn 2026-08-10 11:23:14 +02:00
Andrea Mazzoleni
f391ae2a95 Create symlinks to host binaries on Wine targets to run test commands natively 2026-08-10 11:23:14 +02:00
Andrea Mazzoleni
8ae9441ba3 Fix build in different directory 2026-08-10 11:23:14 +02:00