aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorLines
2020-01-08build: fix build failure with -fno-commonJan Engelhardt-1/+1
$ ./configure CFLAGS=-fno-common && make ld: rate_limiter.o:(.rodata+0x0): multiple definition of "rate_limiter_idle_credit"; bindfs.o:(.rodata+0x0): first defined here References: https://bugzilla.opensuse.org/1160244
2019-12-21Don't check that numeric UIDs and GIDs exist in user database.Martin Pärtel-48/+16
A user database is not always available. For #79.
2019-06-26Resolve symlinks in readdir() so correct attributes are returned.Martin Pärtel-7/+41
Fixes #76
2019-04-29Added --forward-odirect. bindfs now won't forward O_DIRECT by default.Martin Pärtel-14/+59
Follow-up to #74.
2019-04-28Switched from readdir_r to readdir since the former has been deprecated.Martin Pärtel-11/+6
2019-04-28Cleanups, tests and optimizations for #74.Martin Pärtel-21/+54
2019-04-12Made bindfs mounts work with files opened with O_DIRECTBar Perach-2/+40
2019-03-31Removed unnecessary checks.Martin Pärtel-6/+0
2019-03-27(formatting)Martin Pärtel-5/+9
2019-03-26Fix issue where sgid is set and gid-offset is usedEytan Heidingsfeld-5/+12
2018-10-09Don't call realpath() on source dirs starting with "/proc/".Martin Pärtel-5/+10
Fixes #66.
2018-01-14Internal renames.Martin Pärtel-28/+28
2017-11-30Cleaned up PR #61.Martin Pärtel-25/+39
For consistency, renamed the new options to --delete-deny and --rename-deny.
2017-11-29src/bindfs.cAlan Knowles-1/+1
2017-11-29src/bindfs.cAlan Knowles-2/+32
2017-06-17Work around `pathconf(..., _PC_NAME_MAX)` erroneously returning 0 for some ↵Martin Pärtel-0/+4
source filesystems. Fixes #54
2017-04-19man page: move --block-devices-as-files to misc section.Martin Pärtel-4/+4
2017-04-19Added option: --block-devices-as-filesMartin Pärtel-2/+45
Fixes #53.
2017-04-13Document that -o dev is required for device files and test it.Martin Pärtel-0/+4
Fixes #52.
2017-03-13Fixed compiling on FreeBSD.Martin Pärtel-1/+4
Fixes #51. Test suite changes will come in a later commit.
2017-03-13Fixed some error messages related to --mapMartin Pärtel-3/+3
2017-02-04Deprecate -n as an alias for --no-allow-other.Martin Pärtel-2/+4
This partially addresses #48.
2017-01-29Fixed #47 by not setting `-ofsname=` when it would contain a comma.Martin Pärtel-2/+9
Also banned some other characters that are likely to lead to trouble.
2017-01-29(remove unused enum value)Martin Pärtel-2/+1
2016-10-15Fix #41 (seeking in directory).Martin Pärtel-48/+16
Since version 1.31.1, bindfs has implemented readdir by always reading the entire directory and passing 0 offset to filler, but this does not work if the same directory pointer is rewound and reused. We remove the opendir and closedir implementations (which FUSE permits) and now always opendir() and closedir() in readdir. Alternatively we could have added a rewinddir() to our readdir.
2016-10-02Require at least FUSE 2.8, and 2.9 for lock forwarding.Martin Pärtel-0/+12
Fixes #40.
2016-09-25Remove seekdir() call from bindfs_readdir().Martin Pärtel-2/+3
A regression was introduced in bindfs 1.13.1 with the fix (or rather, workaround) for #28. FUSE's contract for readdir says that if `filler` is passed a zero offset then the readdir implementation should ignore the offset parameter, but we didn't. Fixes #39.
2016-07-31Implemented --enable-lock-forwarding.Martin Pärtel-3/+73
This should address #36.
2016-07-31Mention --enable-ioctl in --help.Martin Pärtel-0/+1
2016-07-31(fix indentation)Martin Pärtel-6/+7
2016-07-31Added option --enable-ioctl to forward ioctl() calls.Martin Pärtel-0/+36
This should address #37.
2016-05-03Added man page entry for --[ug]id-offset.Martin Pärtel-0/+15
2016-05-03Paranoid overflow checking for --uid-offset and --gid-offset.Martin Pärtel-14/+76
2016-05-03Added error checking to parsing --[ug]id-offset value.Martin Pärtel-2/+20
2016-05-03Minor cleanups.Martin Pärtel-14/+6
2016-05-02update according code reviewoc-10/+14
1. use strtoul instead of user_uid and group_gid 2. change uid/gid in chown_new_file and bindfs_chown
2016-04-20implement uid_offset and gid_offset optionsoc-0/+41
uid_offset/gid_offset can translate host user uid/gid to new uid/ gid inside the mountpoint. New uid/gid = <src uid/gid> + offset
2016-01-19Added a comment and some defensive error handling to readdir's filler call.Martin Pärtel-1/+10
2016-01-19Let libfuse manage readdir entries offsetJonathan Lima-1/+1
2015-11-17Show the source dir in the first field on /etc/mtab.Martin Pärtel-0/+37
Fixes #15. Thanks @tyll!
2015-11-15Define _DEFAULT_SOURCE when defining _BSD_SOURCE.Martin Pärtel-0/+2
_BSD_SOURCE has been deprecated in favor of _DEFAULT_SOURCE but both can remain defined for backwards-compatibility.
2015-11-15Fix overflow in parse_byte_count when "long" is 32-bit.Martin Pärtel-2/+2
2015-09-20Implemented --resolved-symlink-deletion and added tests.Martin Pärtel-49/+124
2015-09-20Improved and documented --resolve_symlinks in some edge cases.Martin Pärtel-23/+74
2015-09-13Revert "Don't resolve broken symbolic links."Martin Pärtel-9/+4
I think ENOENT is fine. This reverts commit 5922a236d0ce7fcf911fce6ff7a52b11ddcf2142.
2015-09-13Minor whitespace fixes.Martin Pärtel-5/+5
2015-09-13bindfs_symlink: remove unused real_from.Martin Pärtel-11/+3
2015-09-13bindfs_rmdir: fix leak if lstat fails and only call it when flag is set.Martin Pärtel-8/+12
bindfs_rmdir should never get called on a symlink unless --resolve_symlinks is set (or a race condition changes the target into a symlink). This means we can avoid the lstat if the flag is not set. This may slightly enhance code readability too.
2015-09-13Merge remote-tracking branch 'hstern/resolve-symlinks'Martin Pärtel-83/+266
2015-09-13Added note about problems with some OS X xattr-based features (issue #21).Martin Pärtel-0/+4