aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2019-06-06Don't omit second operand to `?` operatorMichael Forney-1/+1
This is a GNU C extension.
2019-05-24Remove incorrect comment about fuse_entry_param.generation (#420)Alan Somers-3/+0
A comment said that fuse_entry_param.generation must be non-zero. However, I can't find anything in the kernel that requires that, and real-world file systems don't seem to follow that advice, either.
2019-05-15passthrough: fix unix-domain sockets on FreeBSD (#413)Alan Somers-27/+163
FreeBSD doesn't allow creating sockets using mknod(2). Instead, one has to use socket(2) and bind(2). Add appropriate logic to the examples and add a test case.
2019-05-12Fix includes of non-system headers.Nikolaus Rath-2/+2
Fixes: #415.
2019-05-09Added new example filesystemNikolaus Rath-7/+3467
passthrough_hp puts emphasis and performance and correctness, rather than simplicity.
2019-05-05add defines for missing SECBITs on older kernels (#409)DrDaveD-0/+19
2019-05-05Fixed type of ioctl command parameter.Nikolaus Rath-3/+3
2019-05-05Fixed permissions.Nikolaus Rath-0/+0
2019-05-01Fixed Cirrus Config (#405)Fedor Korotkov-2/+4
2019-05-01Add CI for FreeBSD (#404)Alan Somers-1/+12
Fixes #403
2019-04-30Added issue template.Nikolaus Rath-2/+16
2019-04-30Added information about development status.Nikolaus Rath-0/+14
2019-04-18Add fallocate and use it instead of posix_fallocate if possible (#398)Liu Bo-1/+8
fuse.ko has supported FALLOC_FL_KEEP_SIZE and FALLOC_FL_PUNCH_HOLE at this moment and more modes may be supported in the future. fallocate(2) supports modes while posix_fallocate(2) does not, so this makes lo_fallocate use fallocate(2) instead. Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
2019-04-16Released 3.5.0Nikolaus Rath-2/+5
2019-04-16Add documentation for opting out of opendir and releasedir (#391)Chad Austin-0/+24
2019-04-07Bump minor versionNikolaus Rath-3/+3
cache_readdir flag is a new feature.
2019-04-06Add support for in-kernel readdir caching.Nikolaus Rath-5/+20
Fixes: #394.
2019-04-06Synchronize fuse_kernel.h with current kernel master.Nikolaus Rath-2/+18
2019-04-06Delete FUSE_FSYNC_FDATASYNCNikolaus Rath-9/+2
This constant is not defined in the kernel, so it will be lost when fuse_kernel.h is not synchronized. Instead, the kernel just passes a flag value of "1", so for now we also use a literal in userspace.
2019-04-06Various documentation improvementsAlan Somers-18/+28
See issue #389 for some related discussions.
2019-04-03Whitelist smb2 (#392)Peter Lemenkov-4/+7
See also https://bugzilla.redhat.com/1694552#c7 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2019-03-11Defined the (*ioctl)() commands as unsigned int (#381)Jean-Pierre André-12/+24
Instead of the Posix ioctl(2) command, Linux uses its own variant of ioctl() in which the commands are requested as "unsigned long" and truncated to 32 bits by the fuse kernel module. Transmitting the commands to user space file systems as "unsigned int" is a workaround for processing ioctl() commands which do not fit into a signed int.
2019-03-11Define ALLPERMS for musl libc systems. (#379)maxice8-0/+4
2019-03-10Improve documentation for the flush method (#378)Alan Somers-15/+26
Fixes: #373
2019-03-09Released 3.4.2Nikolaus Rath-4/+13
2019-03-09Improve readdir() and file handle documentationChad Austin-11/+22
Fixes: #333
2019-03-09Add HFS+ to filesystem whitelist (#347)1c7718e7-0/+3
2019-03-09Work around -Wformat-truncation=/-Wformat-overflow= warnings (#356)Tomohiro Kusumi-5/+5
sprintf(3)/snprintf(3) destination buffers need to be large enough so that gcc doesn't warn -Wformat-truncation= or -Wformat-overflow= when source buffer size is 1024 bytes. -- ../test/test_syscalls.c:1445:47: warning: '%s' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] #define PATH(p) (snprintf(path, sizeof path, "%s/%s", testdir, p), path) ^~~~~~~ ../test/test_syscalls.c:1458:19: res = mkdir(PATH("a"), 0755); ~~~ Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
2019-03-09Correctly include config.h ("" vs <>)Nikolaus Rath-3/+3
This isn't a system header. Fixes: #349
2019-03-09Fix the changelog entry for protocol version 7.12 (#374)Alan Somers-1/+1
Commit 24b35c3d97ffdbf0a1f8e8b4e94ed892343603a6 had a simple mistake in its changelog entry.
2019-03-08fusermount: drop privileges for chdir()Sam Huffman-0/+2
cd to mountpoint's parent directory using unprivileged rather than privileged access. This is to ensure that unmount works on mountpoints where root may not have privileged access. Fixes: #376
2019-03-08Document fuse_fsync_in.fsync_flags and remove magic numbers (#375)Alan Somers-24/+27
2019-03-04Link against libiconv when possible (#372)HazelFZ-1/+5
2019-02-27Travis CI: Use Xenial instead of Trusty.Nikolaus Rath-6/+3
2019-02-25hello_ll: Fix null pointer dereference (#363)Forty-Bot-0/+7
If hello_ll is invoked without a mountpoint, it will try to call fuse_session_mount anyway with the NULL mountpoint (which then causes a segfault). Print out a short help message instead (taken from passthrough_ll.c).
2019-02-13fuse_free_buf(): to check flags of each buffer, rather than only 0thAlbert Chen-1/+1
Fixes: #360
2019-01-22passthrough_ll: lo_create() should honor CACHE_NEVER (#345)Miklos Szeredi-0/+5
lo_create() did not honour CACHE_NEVER in lo_create(), which has an effect on how I/O is performed after the open. The value of CACHE_ALWAYS, which results in setting fi->keep_cache, only has an effect for the state of the cache at open, and since the file was just created the cache is always empty. Hence setting this doesn't have an effect on lo_create(), but keep it for symmetry with lo_open().
2019-01-21Clarify documentation of fuse_lowlevel_inval_inodeNikolaus Rath-8/+8
Fixes: #341.
2019-01-14Add support for buildin under DragonFly BSDTomohiro Kusumi-3/+3
70e25ea74e("Fix build on non-Linux") broke build on DragonFly BSD, or likely anything other than FreeBSD and NetBSD that is not Linux. Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
2019-01-04Added OpenAFS to type whitelistNikolaus Rath-0/+3
Fixes: #336.
2018-12-29Fixed memory leak.Nikolaus Rath-5/+6
Fixes: #338.
2018-12-22Added missing date to Changelog.Nikolaus Rath-2/+2
2018-12-22Released 3.4.1Nikolaus Rath-1/+11
2018-12-22fix memory leak in print_module_help methodalex-0/+1
2018-11-27Fix fd/inode leakNikolaus Rath-13/+19
If do_readdir() calls do_lookup(), but the latter fails, we still have to return any entries that we already stored in the readdir buffer to avoid leaking inodes. do_lookup() may fail if e.g. we reach the file descriptor limit.
2018-11-24Avoid needless telldir() call.Nikolaus Rath-1/+1
2018-11-24Fixed lookup-count leak in do_readdir().Nikolaus Rath-3/+7
2018-11-24Added testcase for "big" readdir.Nikolaus Rath-0/+26
2018-11-24Don't segfault when called with -h.Nikolaus Rath-1/+1
Fixes: #327
2018-11-24Added .ackrcNikolaus Rath-0/+2