aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Actually test passthrough* examplesGravatar Nikolaus Rath2017-04-07
| | | | | | | | Since os.path.join() interprets leading slashes, we were actually never accessing the mountpoint and doing all the tests in the source directory. Fixes: #139
* passthrough: implemented create()Gravatar Nikolaus Rath2017-04-07
| | | | | | This allows calls like open(file, O_CREAT|O_RDONLY, 0200) which would otherwise fail because we cannot open the file after mknod() has created it with 0200 permissions.
* example/passthrough: use fi->fh for read, write, fallocateGravatar Nikolaus Rath2017-04-07
| | | | | No reason not to use it. May even be a little faster and will consume less resources :-).
* passthrough:truncate(): work on file descriptor when possibleGravatar Nikolaus Rath2017-04-07
| | | | | This allows truncating an open file even if write permission was removed after open() (which is the expected behavior).
* example/passthrough: close open files in release()Gravatar Nikolaus Rath2017-04-07
| | | | That way we can use the file descriptor for other operations.
* passthrough, passthrough_fh: disable attribute cachingGravatar Nikolaus Rath2017-04-07
| | | | Required for better hardlink handling, see comments in patch.
* test_examples(): test without debug messages firstGravatar Nikolaus Rath2017-04-07
| | | | | That way, we are not drowning in messages when a test would also fail without debugging enabled.
* test_examples(): avoid false positives from fuse debug outputGravatar Nikolaus Rath2017-04-07
|
* passthrough_ll: only test functions that are actually providedGravatar Nikolaus Rath2017-04-07
| | | | | | This appeared to work because of an unrelated bug that caused us to actually never access the mountpoint at all and do all tests on the lower filesystem. This issue will be fixed in a separate commit.
* Fix rst markup.Gravatar Nikolaus Rath2017-04-07
|
* Document true meaning of the 'use_ino' option.Gravatar Nikolaus Rath2017-04-07
|
* Remove checked_unlink()Gravatar Nikolaus Rath2017-04-07
| | | | | There is no reason why so many tests require the file system to support unlink() and/or rmdir().
* Turn tst_mknod() into tst_create()Gravatar Nikolaus Rath2017-04-07
| | | | | Ensure that we are really creating a new file. Don't attempt to write, we do that in tst_open_write().
* Renamed tst_write() to tst_open_write()Gravatar Nikolaus Rath2017-04-07
| | | | | We are actually testing both opening of an existing file and writing to it.
* Added tst_unlink()Gravatar Nikolaus Rath2017-04-07
| | | | To check for unlink() support without requiring create()/mknod().
* tst_mkdir(): factor out tst_rmdir()Gravatar Nikolaus Rath2017-04-07
| | | | | This allows testing a filesystem that offers mkdir(), but no rmdir() (and vice versa).
* Rename tst_unlink() to tst_open_unlink()Gravatar Nikolaus Rath2017-04-07
| | | | | This makes more sense, since we are specifically checking unlinking of an open file.
* tst_readdir(): don't require create/mkdir supportGravatar Nikolaus Rath2017-04-07
| | | | | | By creating the files in the lower filesystem, we can test readdir() even for filesystems that don't implement create() or mkdir().
* passthrough_ll: document that functionality is restrictedGravatar Nikolaus Rath2017-04-07
|
* hello.c: don't use constant instead of magic numberGravatar guraga2017-03-28
|
* Document that -o auto_unmount implies -o nodev,nosuidGravatar Nikolaus Rath2017-03-16
| | | | See also issue #148.
* meson.build(): don't use absolute path for include_dir()Gravatar Nikolaus Rath2017-03-15
| | | | No longer supported in Meson 0.39.
* passthrough_fh: declare support for . and .. lookups.Gravatar Nikolaus Rath2017-03-15
|
* open(): fix documentation of O_TRUNC flagGravatar Nikolaus Rath2017-03-15
| | | | | The FUSE_CAP_ATOMIC_IO_TRUNC capability is enabled by default, but we didn't update the open() documentation accordingly.
* Document minimum required Meson version.Gravatar Nikolaus Rath2017-03-15
| | | | Fixes #138.
* Optimize fuse_fs_read. (#145)Gravatar amosonn2017-03-03
| | | Redundant copy when only op.read is available removed.
* Put -Werror in mesonconf, not CFLAGSGravatar Nikolaus Rath2017-01-23
| | | | Putting it in CFLAGS interferes with feature detection.
* Pass _GNU_SOURCE as compiler argumentGravatar Nikolaus Rath2017-01-23
| | | | | Defining it in the file causes trouble because Meson sometimes inserts includes before the first line.
* Only use valgrind if requested explicitly + enable address sanitizerGravatar Nikolaus Rath2017-01-12
|
* Switch Travis build to Meson+NinjaGravatar Nikolaus Rath2017-01-12
|
* Added experimental support for building with Meson+NinjaGravatar Nikolaus Rath2017-01-12
|
* Replaced evil pointer magic with offsetof()Gravatar Nikolaus Rath2017-01-12
| | | | This triggered undefined behaviour warnings from UBSan.
* Rephrased security informationGravatar Nikolaus Rath2017-01-12
| | | | | | | | | | | | The permission caching bug has been present forever, is presumably going to stay around for a while, and is of less concern if allow_other is not used. Since allow_other is disabled by default, I think we can safely make this warning less prominent and document the problem when we describe allow_other. Also, drop the travis build status. It's confusing when reading README.md after extracting the tarball, and I am not sure who benefits from the build status when it is shown on GitHub either.
* Return with exitcode 0 if there are no errors.Gravatar Nikolaus Rath2017-01-11
|
* Skip tests if not root and no setuid fusermount3.Gravatar Nikolaus Rath2017-01-10
|
* Don't run whitespace cleanupGravatar Nikolaus Rath2017-01-03
| | | | | Since existing whitespace usage is not consistent, this causes a lot of spurious whitespace changes.
* Set IGNORE_MTAB when running under NetBSDGravatar Nikolaus Rath2016-12-23
| | | | | | | Apparently, NetBSD does not have /etc/mtab. Setting IGNORE_MTAB in this case makes the code a little nicer. See also https://github.com/libfuse/libfuse/pull/123
* Use tabs in configure.acGravatar Nikolaus Rath2016-12-23
|
* Memory leak fixed in file : mount_bsd.cGravatar itsdeepak2016-12-23
|
* Added documentation and test case for null exampleGravatar Nikolaus Rath2016-12-23
|
* Fixed use of uninitialized memory.Gravatar Nikolaus Rath2016-12-23
|
* Revert "Dropped example/null.c"Gravatar Csaba Henk2016-12-23
| | | | | | | | | | | This reverts commit d5cdbb94a0650b0a462682cf0a84463ff1513900. null works completely fine, just the mountpoint should be a regular file -- so there is no need to dismiss it. Also: - fixing up compiler warnings - checking if the mountpoint is a regular file
* Adding the markdown for travis CI build.Gravatar Arunav Sanyal2016-12-11
|
* Released 3.0.0Gravatar Nikolaus Rath2016-12-09
|
* Fix a grammatical error.Gravatar Jay Hankins2016-12-04
|
* Released 3.0.0rc3Gravatar Nikolaus Rath2016-11-29
|
* Improve documentation of fuse_session_unmountGravatar Nikolaus Rath2016-11-29
|
* Return signal value if session loop is terminated by signal and improve ↵Gravatar Nikolaus Rath2016-11-29
| | | | documentation
* Improve documentation of `fuse_file_info.keep_cache`Gravatar Nikolaus Rath2016-11-29
|
* examples/passthrough_ll.c: Include <limits.h> (for PATH_MAX macro).Gravatar Przemyslaw Pawelczyk2016-11-28
| | | | | | | | | | Otherwise building w/o optimization (-O0) fails. passthrough_ll.c: In function 'lo_readlink': passthrough_ll.c:251:11: error: 'PATH_MAX' undeclared (first use in this function) char buf[PATH_MAX + 1]; (gcc v5.3.0 in Alpine Linux v3.4.6 x86_64 w/ musl-libc v1.1.14.)