Commit graph

485 commits

Author SHA1 Message Date
Antonio SJ Musumeci
8a7fe11bea fs_wait_for_mount cleanup 2026-03-16 00:06:27 -05:00
Antonio SJ Musumeci
1850530289 fs_inode cleanup 2026-03-16 00:06:27 -05:00
Antonio SJ Musumeci
3fa29b47e0 Fixup listxattr error handling 2026-03-15 23:40:33 -05:00
Antonio SJ Musumeci
a319c87f66 Small improvements to fs::statvfs_cache 2026-03-15 22:21:17 -05:00
Antonio SJ Musumeci
a2898a8568 Cleanup fuse_readlink 2026-03-14 11:31:15 -05:00
Antonio SJ Musumeci
ec5287eeef Fix possible error handling issue with errno 2026-03-14 11:01:49 -05:00
Antonio SJ Musumeci
d9517a5def Make cfgfile depth calculation thread friendly 2026-03-14 11:01:49 -05:00
Antonio SJ Musumeci
ee7d88ee5b Improve error handling when querying pagesize 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
79d625382a Rework string utils, more test cases 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
188a111877 Better error handling in pagesize config type 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
e6399f1935 Check string is not empty before resize in Config::keys 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
dbb2932158 Fix error handling in fuse chmod, chown, setxattr, removexattr 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
a384933c72 Fix incorrect type in fs_read and write 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
b768ba8ce1 Fix buffer overflow in readlink by reserving space for null terminator 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
24057f741b Use RND class for shrink_to_rand_elem and add assertions 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
07f496246a fix policy_eppfrd.cpp: return 0 when branchinfo found, -ENOENT only when empty 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
f347ac5818 fix str.cpp: use string_view::npos, fix erase() calls, remove extra whitespace 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
6bd4a76a26 Remove iterator methods from Branches class 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
ac9eb0b7ff Fix futimens bugs: stat pointer, variable names, and negation 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
f34bc166b1 Add null pointer checks for FileInfo/DirInfo 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
f67d087e58 Fix copydata_copy_file_range bug 2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
3226c7a7c3 Fix eplus search bug
Not that anyone would ever use this but it was noticed in a scan.
2026-03-14 10:41:01 -05:00
Antonio SJ Musumeci
c66c68b137 Misc cleanup
Some checks failed
mkdocs / deploy (push) Has been cancelled
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
075a8a6548 Convert some push_back to emplace_back 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
3c6d1b47f6 Remove unused "using"s 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
6f281b9f7f Remove duplicate includes 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
511bf47af9 Convert stdint to short ints 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
eb8074ed9a Update vendored/nonstd to latest and fix API usage 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
2c87e68635 Cleanup ugid.hpp usage 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
8f1ef59770 Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
a4aade6666 Make global inode calculation function pointer atomic 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
1d1bcd3b87 Add extra checks in for file handle lookup 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
099ce2d91d Add more asserts 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
56cd831ec8 Fix str::trim to handle all whitespace characters
Use std::isspace() instead of comparing only to space character.
Now handles tabs, newlines, carriage returns, etc.
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
e43be3c221 Remove unused PolicyCache implementation 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
2754536727 Fix integer overflow in size suffix parsing
Use __builtin_mul_overflow to detect overflow when applying size
suffixes (K, M, G, T) in str::from for int64_t and uint64_t. Previously,
large values with suffixes could silently wrap around.
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
a0cff637e1 Misc cleanup 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
a5a6c892b9 Update copyright headers 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
3d50d4a52f Explicitly return EXIT_FAILURE 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
a2860c3f1f Use debug mutex more 2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
e55bb93890 Simplify lowlevel fuse state management and req mem 2026-03-02 01:09:16 -05:00
trapexit
3222de6c9c
Fixup debug output (#1617) 2026-02-12 22:50:38 -06:00
trapexit
7f1b7ac343
Add lshw to collect info tool (#1610)
Some checks failed
mkdocs / deploy (push) Has been cancelled
2026-01-19 13:57:42 -06:00
trapexit
1290ab9708
Ensure ::exists() call can't throw (#1609)
Some checks failed
mkdocs / deploy (push) Has been cancelled
2026-01-15 17:33:31 -06:00
trapexit
4d1760cb69
Rework new lup policy to work on 32bit systems (#1603)
__int128 is not available on 32bit platforms. Moved to extended
precision floats.
2025-12-14 14:56:34 -06:00
François-Xavier Payet
22df87c86a
Add LUP policy (#1601)
Some checks are pending
mkdocs / deploy (push) Waiting to run
2025-12-14 00:36:12 -06:00
trapexit
72fb6e4aba
Update submitting bug reports, improve collect-info (#1598)
Some checks failed
mkdocs / deploy (push) Has been cancelled
2025-12-06 13:55:14 -06:00
trapexit
9b046d9a34
Rework credential handling to support chroot & idmap (#1595)
Some checks are pending
mkdocs / deploy (push) Waiting to run
Run in an elevated credential mode (root) and let the kernel manage
entitlements. Will result in slightly different behavior but should
not be noticed by most.
2025-12-05 21:03:48 -06:00
trapexit
960f5fdbba
Fix some links in docs (#1582)
Some checks failed
mkdocs / deploy (push) Waiting to run
CodeQL / Analyze (push) Has been cancelled
2025-11-18 08:35:27 -06:00
trapexit
6813a51fce
Ensure cfg references do not also try to initialize the value (#1580)
Some checks are pending
CodeQL / Analyze (push) Waiting to run
mkdocs / deploy (push) Waiting to run
2025-11-17 17:08:36 -06:00