trapexit
9b046d9a34
Rework credential handling to support chroot & idmap ( #1595 )
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.
2 weeks ago
Emanuel Haupt
d8918458bf
libfuse: fix narrowing conversion of nsec fields on i386 ( #1593 )
On 32 bit platforms tv_nsec is a signed long while the FUSE setattr
arguments provide nanoseconds as uint32_t. C++17 treats uint32_t -> long
in a brace initializer as a narrowing conversion and rejects it on ILP32
targets. This surfaced when building on FreeBSD i386 with clang 19 where
the compiler refused the list initialization of struct timespec.
Add explicit static_cast<long>() for the nsec fields to make the
conversion intentional and portable. This avoids build failures on i386
while leaving 64 bit builds unchanged.
3 weeks ago
trapexit
78551049d5
Add ability to passthrough 'nofail' mount option ( #1567 )
1 month ago
trapexit
41b65ae9e8
Misc cleanup for FreeBSD and clang ( #1560 )
2 months ago
trapexit
2412ae7316
Further tweaks to config parsing and error reporting ( #1559 )
* Further tweaks to config parsing and error reporting
* Fix static builds
2 months ago
trapexit
37f10888a9
Add more debugging options to makefiles and cleanup ( #1556 )
2 months ago
trapexit
cfaad60275
Misc updates to arg parsing ( #1554 )
Ignore "defaults" and add a number of more modern VFS mount switches
2 months ago
trapexit
741128cb23
Fix lack of include for fmt ( #1550 )
2 months ago
trapexit
727c522fb8
Rework config, centralize fuse config ( #1547 )
2 months ago
trapexit
0371f03def
Rework how fuse request context is handled ( #1543 )
2 months ago
trapexit
d18c273293
Allow setting of passthrough max-stack-depth ( #1542 )
2 months ago
trapexit
0f24bb29ac
Make allow-idmap optional (default: false) ( #1541 )
This is just to correct default behavior for now. More investigation
is necessary to properly support idmapping.
2 months ago
trapexit
25b0bc72df
Fix dirent64::namelen calculation ( #1538 )
Worked fine on my machine where padding seemed to be all zeroed out
but that doesn't appear to be the case elsewhere.
Could try
https://codeberg.org/jbruchon/libjodycode/src/branch/master/dir.c#L92-L110
but needs to be tested.
3 months ago
trapexit
46f85c0f6d
Misc fixes, mostly for FreeBSD ( #1536 )
3 months ago
trapexit
2f3e807e9d
Add getdents based readdir functions for Linux ( #1533 )
3 months ago
trapexit
ca59ae53a5
idmap mount support ( #1523 )
* Add idmap mount support
* Further replacement of std::filesystem::path to fs::path
* Update docs regarding idmap support
3 months ago
trapexit
8c649d33ee
Start using std::filesystem::path for fusepath ( #1522 )
3 months ago
trapexit
071af2e516
More build process updates ( #1516 )
4 months ago
trapexit
b18aba86b6
Build improvements ( #1501 )
* Remove python dependency
* Remove ecfd
* Improve makefiles
* Make preload.so more 32bit compatible
4 months ago
trapexit
fa851eda3a
Ensure passthrough and keep_cache are mutually exclusive ( #1493 )
5 months ago
trapexit
f852474073
Update the secondary group cache ( #1492 )
* Use concurrent_flat_map to build a global cache rather than per
thread.
* Create global maintanence thread manager for clearing unused cache
entries.
5 months ago
trapexit
77ef88b04c
Add fsck.mergerfs tool ( #1483 )
6 months ago
trapexit
23824eaeb4
Misc cleanup
6 months ago
trapexit
e310d24615
Add support for FUSE passthrough
6 months ago
trapexit
92312c8507
Add debugging of mutexes ( #1470 )
When DEBUG defined it will used timed locks which will log when held
too long along with where.
7 months ago
trapexit
fa3266ca7f
Add podman release build tooling + misc build fixes ( #1455 )
7 months ago
trapexit
344014aa81
Rework thread pool for increased stability + config and doc updates ( #1453 )
Also updates fmt to 11.2.0 and replaced syslog usage with a wrapper
leveraging fmt.
8 months ago
Antonio SJ Musumeci
77bf16e9ae
Change the "devino" inode calculation
Use hashing of branch path rather than use st_dev.
9 months ago
Antonio SJ Musumeci
80085c9844
Add statx support
9 months ago
Antonio SJ Musumeci
92ae63e842
Support Linux v6.13 FUSE max_page_limit
9 months ago
Antonio SJ Musumeci
b83bd5fd14
Improve FreeBSD compatibility
First draft. Need to investigate why upstream patches include certain
function that appear to exist in FreeBSD 14.2.
11 months ago
Antonio SJ Musumeci
9056898bbf
Move fuse.c and fuse_lowlevel.c to C++
2 years ago
Antonio SJ Musumeci
f0444a1ca9
Add support for 'direct-io-allow-mmap' if supported by kernel
2 years ago
Antonio SJ Musumeci
951eb9540d
Ensure lookups of FUSE_ROOT_ID always return generation=0
2 years ago
Antonio SJ Musumeci
0ca5d6aad0
Add export-support option as possible workaround for NFS EIO issues
2 years ago
Antonio SJ Musumeci
17fdbf7f42
Update fuse_kernel.h
2 years ago
Antonio SJ Musumeci
d6a2f06797
Only set allow_other when running as root
2 years ago
Antonio SJ Musumeci
6aa6452d3e
Add flushonclose feature
2 years ago
Antonio SJ Musumeci
fd33df04a3
Update wyhash to 4.2
2 years ago
Antonio SJ Musumeci
569537df9e
Remove use of pthread_getname_np to work with older musl versions
2 years ago
Antonio SJ Musumeci
620cab2948
Rework thread pool queue depth impl
2 years ago
Antonio SJ Musumeci
766b923116
Fix thread pool destruction where threads don't explicitly exit themselves
2 years ago
Antonio SJ Musumeci
6d2c99e487
Remove unneeded debug logging from thread pool
2 years ago
Antonio SJ Musumeci
0a94bd7cfc
Rework thread pool, add ability to add/remove threads at runtime
2 years ago
Antonio SJ Musumeci
76c8d48dbd
Change threadpool to use concurrentqueue
2 years ago
Antonio SJ Musumeci
0ed03a1535
Use relaxed memory order for atomic counters
2 years ago
Antonio SJ Musumeci
2377cb05b6
Add thread names for easier debugging
2 years ago
Antonio SJ Musumeci
0aafdefc18
Add ability to invalidate gid cache on demand
SIGUSR2 or ioctl
2 years ago
Antonio SJ Musumeci
6dcf6111af
Add callbacks for newer functions
* setupmapping
* removemapping
* syncfs
* tmpfile
2 years ago
Antonio SJ Musumeci
eb141c4c4e
Fix logging pin-threads details
2 years ago