aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2018-07-04Fix manpage filename for mount.fuse3Laszlo Boszormenyi (GCS)-1/+1
2018-07-02fuse.h: fix typo (currenlty -> currently)William Woodruff-1/+1
2018-05-24fix documentation for opendir in fuse_operationsCarl Edquist-1/+1
the filehandle from opendir is passed to releasedir - there is no closedir function in fuse_operations
2018-05-18rename: perform user mode dir loop check when not done in kernelBill Zissimooulos-10/+12
Fix conditionals as per maintainer's request.
2018-05-18changelog: add info on rename deadlock fixBill Zissimopoulos-0/+5
2018-05-18rename: perform user mode dir loop check when not done in kernelBill Zissimooulos-3/+275
Linux performs the dir loop check (rename(a, a/b/c) or rename(a/b/c, a), etc.) in kernel. Unfortunately other systems do not perform this check (e.g. FreeBSD). This results in a deadlock in get_path2, because libfuse did not expect to handle such cases. We add a check_dir_loop function that performs the dir loop check in user mode and enable it on systems that need it.
2018-05-11Released 3.2.3Nikolaus Rath-1/+6
2018-05-11add_arg(): check for overflowNikolaus Rath-0/+5
Fixes: #222.
2018-05-08Fix compile-time warnings on IGNORE_MTABTomohiro Kusumi-1/+2
Silence below warnings which appear if IGNORE_MTAB is defined. [59/64] Compiling C object 'util/fusermount3@exe/fusermount.c.o'. ../util/fusermount.c:493:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] static int count_fuse_fs() ^~~~~~~~~~~~~ ../util/fusermount.c: In function 'unmount_fuse': ../util/fusermount.c:508:46: warning: unused parameter 'quiet' [-Wunused-parameter] static int unmount_fuse(const char *mnt, int quiet, int lazy) ^~~~~
2018-04-13Fix path to pytest cache directory.Nikolaus Rath-1/+1
2018-04-13Invert calloc(3) argument order (`nmemb` comes first)Tomohiro Kusumi-1/+1
No functional difference expected, but should still follow the standard. http://pubs.opengroup.org/onlinepubs/009695399/functions/calloc.html
2018-04-13Drop unneeded void cast for actually used local variableTomohiro Kusumi-1/+0
`int sig` is acutually used, so `(void) sig;` is unneeded.
2018-04-13Drop redundant ; from FUSE_REGISTER_MODULE()Tomohiro Kusumi-1/+1
Callers do (and should) use ;.
2018-03-31Travis: remove root-owned cache files.Nikolaus Rath-0/+3
2018-03-31Fix Travis build environmentNikolaus Rath-3/+2
Newest Meson requires Python 3.5 which isn't available in Trusty. Pip version pin no longer necessary.
2018-03-31Fixed up duplicate ChangeLog entry.Nikolaus Rath-2/+0
2018-03-31Released 3.2.2Nikolaus Rath-0/+13
2018-03-28Add example configuration file (#216)admorgan-0/+20
Add a configuration file with all options disabled that includes all valid options and their description.
2018-03-28Fix build error on DragonFlyBSD (sync with other *BSD) (#240)Tomohiro Kusumi-6/+6
DragonFlyBSD has no "bsd" in uname, so add 'dragonfly' to conditionals. -- e.g. uname(1) in DragonFlyBSD [root@ ~]# uname DragonFly [root@ ~]# python -c "import sys; print(sys.platform)" dragonfly5
2018-02-09Fix uninitialised read in fuse_new_30() (#231) (#234)Ashley Pittman-0/+3
Ensure that conf is always zero before it's read from to prevent sporadic failure at startup if higher layers were build against version 3.0 Signed-off-by: Ashley Pittman <ashley.m.pittman@intel.com>
2018-01-15Fix typo in "passthrough" docstring (#229)Mateusz UrbaƄczyk-1/+1
2017-12-01Handle mount ... -o nofail (#221)Josh Soref-0/+3
Accept (and ignore) nofail mount option
2017-11-27fix "Rath Consulting" link (#225)divinity76-2/+2
2017-11-27Spelling (#223)Josh Soref-18/+18
Fix spelling errors
2017-11-14Released 3.2.1Nikolaus Rath-1/+8
2017-11-13Updated professional support information.Nikolaus Rath-2/+2
2017-11-03Backed out d92bf83Nikolaus Rath-1/+1
This change is bogus. fuse_module_factory_t is already a pointer type. Additionally, if dlsym returns NULL, then you will be dereferencing it causing a segfault. In my testing, a segfault will happen even if dlsym returns successfully. Thanks to Michael Theall for spotting!
2017-10-20Don't install manpages under *BSDNikolaus Rath-1/+3
Were not installing the corresponding binaries either, since those are provided by the BSD base system.
2017-10-20Don't use Python mode for meson.buildNikolaus Rath-3/+0
Emacs now has a proper meson mode :-).
2017-10-20make udevrulesdir configurableJoerg Thalheim-2/+9
on nixos we install fuse in its own hierarchy independent from systemd.
2017-09-27Adding pointer dereferencing after calling dlsym()Sangwoo Moon-1/+1
dlsym() resolves the location of the loaded symbol, therefore dlsym() returns the type (fuse_module_factory_t *), not (fuse_module_factory_t). Added pinter dereferencing to correctly refer the factory function.
2017-09-25fuse_lib_ioctl(): don't call memcpy with NULL argumentNikolaus Rath-1/+1
This was detected by using clang's undefined behavior sanitizer, but didn't seem to cause problems in practice.
2017-09-25Link with -lrt to support ancient libcNikolaus Rath-1/+4
Fixes: #207.
2017-09-25Removed unneccessary #include <config.h> from examplesNikolaus Rath-28/+0
Fixes: #208.
2017-09-20Automatically print list of contributors when generating tarballNikolaus Rath-0/+5
2017-09-20Travis CI: Don't use deprecated environmentNikolaus Rath-2/+3
Travis support recommends to install specific pip version to work around problems in new environment.
2017-09-19Correctly define fusermount3 path.Nikolaus Rath-1/+1
2017-09-19Make *_loop_mt() available in version 3.0 againNikolaus Rath-2/+2
The old versions of these symbols were defined with version tag FUSE_3.0, so this is what we have to use in the .symver directive.
2017-09-19Fix versioned symbols in version scriptNikolaus Rath-1/+4
According to "How to Write Shared Libraries" by Ulrich Drepper (https://www.akkadia.org/drepper/dsohowto.pdf), the version script should contain the exported name of the versioned symbol once in each tag for which it has been defined by .symver.
2017-09-19Don't use external symbol names in internal filesNikolaus Rath-7/+6
The fuse_session_loop_mt() and fuse_loop_mt() symbols are only visible when linking against the shared object. The code in lib/, however, is compiled *into* the shared object and should thus use the internal names of these functions. Surprisingly enough, the code still worked before - but only when link time optimization was disabled. Unfortunately, we still can't compile with LTO because it seems that enabling LTO somehow makes the tagged symbols vanish. Without lto, we have: $ nm lib/libfuse3.so | grep fuse_new 0000000000011070 T fuse_new_30 0000000000010a00 t fuse_new_31 0000000000011070 T fuse_new@FUSE_3.0 0000000000010a00 T fuse_new@@FUSE_3.1 and with LTO: $ nm lib/libfuse3.so | grep fuse_new 0000000000019a70 T fuse_new_30 0000000000019270 t fuse_new_31 See also issue #198.
2017-09-17Include source code in documentation.Nikolaus Rath-1/+1
2017-09-17make_release_tarball.sh: be less verboseNikolaus Rath-1/+1
2017-09-17Added some documentation of fuse internals.Nikolaus Rath-0/+17
2017-09-12Released 3.2.0Nikolaus Rath-11/+14
2017-09-12Add script to create release tarball.Nikolaus Rath-0/+28
2017-09-12Use "mkdir" instead of "md" in instructions.Nikolaus Rath-1/+1
Fixes: #205.
2017-09-11fuse_kern_unmount(): close fd before calling umountNikolaus Rath-1/+1
This is what the Linux version does, and it fixes a timeout under FreeBSD when the kernel sends a FUSE_DESTROY request that is never answered.
2017-08-25example/ioctl: build on FreeBSD, but add protocol check instead.Nikolaus Rath-5/+7
2017-08-25do_init(): print missing capabilities if there are any.Nikolaus Rath-1/+2
2017-08-25Fix writeback capability check.Nikolaus Rath-1/+1