Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2023-11-14 | misc.c: Fix overflow detection zombie in function grow_memory_block | Sebastian Pipping | -4/+5 | |
Started out with this warning: > src/misc.c: In function ‘grow_memory_block’: > src/misc.c:333:25: error: comparison of unsigned expression in ‘< 0’ is always false [-Werror=type-limits] > 333 | if (new_cap < 0) { // Overflow > | ^ | ||||
2023-11-14 | misc.c: Address warning -Wsign-compare | Sebastian Pipping | -1/+1 | |
The symptom: > src/misc.c: In function ‘path_starts_with’: > src/misc.c:169:45: error: operand of ‘?:’ changes signedness from ‘long int’ to ‘long unsigned int’ due to unsignedness of other operand [-Werror=sign-compare] > 169 | size_t path_part_len = path_slash ? path_slash - path_part : path_len - (path_part - path); > | ^~~~~~~~~~~~~~~~~~~~~~ | ||||
2023-11-14 | bindfs.c: Address warning -Wunused-parameter | Sebastian Pipping | -0/+29 | |
2023-11-14 | bindfs.c|usermap.c: Address warning -Wsign-compare | Sebastian Pipping | -10/+10 | |
For example: > src/bindfs.c: In function ‘getattr_common’: > src/bindfs.c:449:26: error: comparison of integer expressions of different signedness: ‘uid_t’ {aka ‘unsigned int’} and ‘int’ [-Werror=sign-compare] > 449 | if (settings.new_uid != -1) > | ^~ > | ||||
2023-11-10 | Avoid undefined behaviour if uid_t/gid_t is signed. | Martin Pärtel | -32/+42 | |
This drops support for CentOS 7 because its GCC is too old to support `__builtin_add_overflow`, and its EOL'ing in about half a year anyway. Fixes #143 | ||||
2023-11-09 | Support negative --{uid,gid}-offset | Martin Pärtel | -22/+31 | |
Fixes #142 | ||||
2023-09-22 | Allow mount to use bindfs with configuration via /etc/fstab. | Ilya Kulakov | -0/+11 | |
2023-07-15 | Use MacOS socket file code on FreeBSD too. | Martin Pärtel | -3/+7 | |
2023-07-15 | Merge pull request #133 from slonopotamus/unix-sockets-on-macos | Martin Pärtel | -2/+30 | |
resolves #132 add support for AF_UNIX bind on macOS | ||||
2023-07-15 | Support for fuse-t | Martin Pärtel | -2/+2 | |
2023-07-14 | resolves #132 add support for AF_UNIX bind on macOS | Marat Radchenko | -2/+30 | |
2023-06-03 | Added statfs_x implementation for MacOS. | Martin Pärtel | -0/+25 | |
Fixes #130 | ||||
2023-04-23 | man page: mentioned fuse(8) | Martin Pärtel | -3/+4 | |
2023-04-12 | Debug output cleanup | Martin Pärtel | -2/+3 | |
2023-02-07 | Fixed FD leak when using --block-devices-as-files (#125) | Martin Pärtel | -4/+5 | |
2022-10-17 | Fixed --resolve-symlinks when mountpoint name starts with source dir name. | Martin Pärtel | -2/+45 | |
Fixes #122 | ||||
2022-10-07 | Basic OpenBSD support. The test suite does not pass yet. | Martin Pärtel | -0/+13 | |
For #121 | ||||
2022-07-12 | Reverted change in 1.16.0 that made direct_io the default. | Martin Pärtel | -5/+15 | |
Fixes #117 | ||||
2022-06-24 | Fixed build on FreeBSD (and probably MacOS). | Martin Pärtel | -1/+7 | |
Fixed #ifdefs areound direct_io. | ||||
2022-06-24 | Line up another option in --help | Sergei Shilovsky | -1/+1 | |
2022-06-23 | Like up list of options in --help | Sergei Shilovsky | -4/+4 | |
Co-authored-by: Martin Pärtel <martin.partel@gmail.com> | ||||
2022-06-23 | Fix -o analogue for --map-*-rev | Sergei Shilovsky | -2/+2 | |
Co-authored-by: Martin Pärtel <martin.partel@gmail.com> | ||||
2022-06-22 | clarify man for --map-{passwd,group}{,-rev} | Sergei Shilovsky | -8/+8 | |
2022-06-22 | --map-passwd-rev and --map-group-rev | Sergei Shilovsky | -3/+53 | |
2022-06-22 | fix typo in man | Sergei Shilovsky | -1/+1 | |
2022-04-03 | Made direct-io the default after all, and added --no-direct-io. | Martin Pärtel | -11/+12 | |
#110 | ||||
2022-04-03 | Added --direct-io | Martin Pärtel | -2/+18 | |
Issue #110, thanks @DUOLabs333 for the initial patch. | ||||
2021-05-04 | Cleanups. | Martin Pärtel | -67/+0 | |
2021-02-15 | Fixed permchain.c on older compilers. Enabled -Wpedantic. | Martin Pärtel | -12/+12 | |
2021-02-14 | Got rid of alloca() | Martin Pärtel | -2/+2 | |
2021-02-14 | (cleanups) | Martin Pärtel | -2/+2 | |
2021-02-13 | Include alloca.h to fix build on MacOS | Martin Pärtel | -0/+1 | |
2021-02-13 | Refactored and unit-tested filter_special_opts. Shaved a bunch of yaks on ↵ | Martin Pärtel | -136/+216 | |
the way. | ||||
2021-02-13 | filter_special_opts: allocate space for null terminator. | Martin Pärtel | -7/+7 | |
2021-02-13 | filter_special_opts: minor cleanups | Martin Pärtel | -47/+46 | |
2021-01-30 | Disabled caches in bindfs_init in FUSE 3 mode + minor cleanups. | Martin Pärtel | -6/+14 | |
2021-01-30 | Disabled test "preserves readdir inode numbers" in FUSE 3 mode for now. | Martin Pärtel | -1/+3 | |
2021-01-30 | Fixed bindfs_ioctl signature on FUSE3 | Martin Pärtel | -2/+2 | |
2021-01-30 | bindfs_rename: removed fallback codepath. | Martin Pärtel | -78/+13 | |
It seems to only be useful if someone wants to emulate renameat2 on an older system or an exotic FS, with an application that they can't modify, and assuming bindfs is single-threadedly the only accesspoint to the underlying FS. May reconsider if someone turns up with such a use case. | ||||
2021-01-30 | (IDE removed some trailing whitespace) | Martin Pärtel | -19/+19 | |
2021-01-28 | Enhanced filter_special_opts to handle comma seperated options | McBane | -13/+90 | |
2021-01-27 | Changes to satisfy Valgrind + more intendation fixes | McBane | -37/+33 | |
2021-01-27 | Sqgfault fix + Comments cleanup + intendation fix | McBane | -29/+24 | |
2021-01-27 | Initial Fuse 3 support + Support to allow some special options | McBane | -5/+336 | |
2021-01-24 | Added support for `-o fsname` | Martin Pärtel | -3/+16 | |
For #94 | ||||
2021-01-16 | Non-zero exit code when bindfs_init fails. | Martin Pärtel | -1/+4 | |
Fixes #93 | ||||
2020-09-23 | Added copy-pasta for flock() required by MacOS / XCode 12. | Martin Pärtel | -0/+7 | |
Fixes #88 | ||||
2020-09-23 | Added missing include for "sys/file.h" (for flock()). | Martin Pärtel | -0/+3 | |
2020-05-13 | Fixed a line ending bug with uid/gid mapping files that I introduced when ↵ | Martin Pärtel | -1/+1 | |
merging #85. | ||||
2020-05-10 | Added test case for #85 and fixed a minor UX issue with it. | Martin Pärtel | -6/+12 | |