Commit graph

1501 commits

Author SHA1 Message Date
Antonio SJ Musumeci
2df84cf64a Move fuse_session to C++ and make exit flag atomic 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
c76e708151 Fix null ptr handling issue in ioctl processing 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
6a980c4588 Fix error condition in fs_copyfile 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
d58014f1cc Fix readlink implementation, add more tests 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
21b7e16a50 More aggressive error handing with pagesize queries 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
faf142777c Auto-commit fuse_msgbuf.cpp 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
c2bfd21d86 Use fatal::abort() rather than assert in places 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
dad578daf2 Move scope_guard to vendored/ 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
39e76f42a5 Cleanup procfs and abort on critical issues 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
81816067cb Cleanup branches and add more unit tests 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
4b85c6263f Cleanup config and add tests 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
7b1f7230e0 fs_wait_for_mount cleanup 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
f517ff7121 fs_inode cleanup 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
0612a2a789 Fixup listxattr error handling 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
7115aef52e Small improvements to fs::statvfs_cache 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
b37759559f Cleanup fuse_readlink 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
6d289d311f Improve thread pool 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
794fb0ecc4 Fix possible error handling issue with errno 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
78eddeaace Make cfgfile depth calculation thread friendly 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
ba6c4069e6 Improve error handling when querying pagesize 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
09b0f4c2f8 Misc fixes and improvements to thread pool 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
36d56ead67 Rework string utils, more test cases 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
150c45c620 Better error handling in pagesize config type 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
56f5e95d1f Check string is not empty before resize in Config::keys 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
da8474a4f6 Fix error handling in fuse chmod, chown, setxattr, removexattr 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
9bbd43c70c Ensure zero initialized timeouts structs 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
77e26e6879 Fix incorrect type in fs_read and write 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
9b023ca7cc Remove dead branch in fuse_reply_data 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
3d5b62f8f5 Change session->exited to sig_atomic_t 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
a60e7886be Initialize stat buffer and add stat call in fuse_mount_sys 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
054e7d1e7d Add NULL check for cmsg in receive_fd to prevent segfault 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
c37b1cb353 Fix buffer overflow in readlink by reserving space for null terminator 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
572139bc62 Use RND class for shrink_to_rand_elem and add assertions 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
4665ac73dc fix objpool: add size tracking, improve allocation matching; fix msgbuf: clear pool on size change 2026-03-21 23:03:43 -05:00
Antonio SJ Musumeci
92cf0dddc5 fix policy_eppfrd.cpp: return 0 when branchinfo found, -ENOENT only when empty 2026-03-21 17:06:27 -05:00
Antonio SJ Musumeci
c1ed922142 fix str.cpp: use string_view::npos, fix erase() calls, remove extra whitespace 2026-03-21 17:06:27 -05:00
Antonio SJ Musumeci
37c942632d Remove iterator methods from Branches class 2026-03-21 17:06:27 -05:00
Antonio SJ Musumeci
e50deb280b Fix futimens bugs: stat pointer, variable names, and negation 2026-03-21 17:06:27 -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
6a6aa054cd Add support for Arch, btw
Some checks failed
mkdocs / deploy (push) Has been cancelled
2026-03-14 11:39:48 -04:00
Antonio SJ Musumeci
04939bbe72 No longer explicitly error out on broken mount point
Some checks failed
mkdocs / deploy (push) Has been cancelled
If ENOTCONN (broken FUSE mount) umount first and continue to mount.
2026-03-08 00:39:45 -05:00
Antonio SJ Musumeci
2ea6290e4b Update limiting drive spinup doc
Some checks failed
mkdocs / deploy (push) Has been cancelled
2026-03-04 11:05:55 -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
53c5a2cf1e Move fmtlib to vendored and upgrade to 12.1.0 2026-03-02 01:09:16 -05:00