aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Dropped fuse_unmount_compat22Gravatar Nikolaus Rath2016-09-27
| | | | | This function was for backwards compatibility in FUSE 2.x, and is no longer exposed by FUSE 3.
* Fixed typo.Gravatar Nikolaus Rath2016-08-24
|
* Don't hardcode /sbin, /lib & /etcGravatar bobrofon2016-08-04
| | | | | | Default values for MOUNT_FUSE_PATH, UDEV_RULES_PATH and INIT_D_PATH should be based on directory variables from GNU Coding Standarts. Directory variables left unexpanded because installation directory options may be changed via "make install prefix=/foo".
* Disable thread sanitizer, use newer gcc.Gravatar Nikolaus Rath2016-07-23
| | | | | | | There's no point in having tests failing all the time, we will re-enable thread sanitizer once we have figured out if the errors are bugs or false positives (and, if they are bugs, fixed them).
* Updated ChangeLogGravatar Nikolaus Rath2016-07-23
| | | | | Started from most recent FUSE 2.9.7 ChangeLog, and added FUSE 3.0 changes based on inspection of total diff to master.
* Include test suite in tarballGravatar Nikolaus Rath2016-07-23
|
* add error checking to setuid calls (#66)Gravatar Alex Richman2016-07-21
|
* libfuse/fuse_daemonize: wait until daemon child process is ready (#55)Gravatar Hendrik Brueckner2016-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mounting a FUSE file system remotely using SSH in combination with pseudo-terminal allocation (-t), results in "Transport endpoint is not connected" errors when trying to access the file system contents. For example: # ssh -t root@localhost "cmsfs-fuse /dev/disk/by-path/ccw-0.0.0190 /CMSFS" Connection to localhost closed. # ls /CMSFS ls: cannot access '/CMSFS': Transport endpoint is not connected The cmsfs-fuse main program (which can also be any other FUSE file system) calls into the fuse_main() libfuse library function. The fuse_main() function later calls fuse_daemonize() to fork the daemon process to handle the FUSE file system I/O. The fuse_daemonize() function calls fork() as usual. The child proceeds with setsid() and then redirecting its file descriptors to /dev/null etc. The parent process, simply exits. The child's functions and the parent's exit creates a subtle race. This is seen with an SSH connection. The SSH command above calls cmsfs-fuse on an allocated pseudo-terminal device (-t option). If the parent exits, SSH receives the command completion and closes the connection, that means, it closes the master side of the pseudo-terminal. This causes a HUP signal being sent to the process group on the pseudo-terminal. At this point in time, the child might not have completed the setsid() call and, hence, becomes terminated. Note that fuse daemon sets up its signal handlers after fuse_daemonize() has completed. Even if the child has the chance to disassociate from its parent process group to become it's own process group with setsid(), the child still has the pseudo-terminal opened as stdin, stdout, and stderr. So the pseudo-terminal still behave as controlling terminal and might cause a SIGHUP at closing the the master side. To solve the problem, the parent has to wait until the child (the fuse daemon process) has completed its processing, that means, has become its own process group with setsid() and closed any file descriptors pointing to the pseudo-terminal. Closes: #27 Reported-by: Ofer Baruch <oferba@il.ibm.com> Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
* Automatically run CI tests with clangGravatar Nikolaus Rath2016-06-05
| | | | Fixes: #51
* Inlined calculate_dirent*_size functionsGravatar Nikolaus Rath2016-06-05
|
* Don't use IFTODT macro.Gravatar Nikolaus Rath2016-06-05
| | | | | | | | | IFTODT is provided by libc to convert from mode_t (as included in e.g. struct fstat) to d_type (unsigned char element of struct dirent, as returned by e.g. readdir). However, fuse actually uses a different struct fuse_dirent with a "type" field of type uint32. In other words, the semantics of (struct fuse_dirent).type are not necessarily the same as those of (struct dirent).d_type.
* Inlined fuse_add_direntGravatar Nikolaus Rath2016-06-05
|
* Merge branch 'add-dirent-strlen3' of git://github.com/trapexit/libfuse into ↵Gravatar Nikolaus Rath2016-06-04
|\ | | | | | | trapexit-add-dirent-strlen3
* | Add 'traceback' as suspicious test output pattern.Gravatar Nikolaus Rath2016-05-13
| |
* | Added Travis integrationGravatar Nikolaus Rath2016-05-13
| |
* | Merge remote-tracking branch 'origin/master'Gravatar Nikolaus Rath2016-05-13
|\ \
* \ \ Merge branch 'ioctl-test'Gravatar Nikolaus Rath2016-05-13
|\ \ \
| * | | Add ioctl tests.Gravatar Nikolaus Rath2016-05-13
| | | |
| * | | Fix ioctl exampleGravatar Nikolaus Rath2016-05-13
| | | | | | | | | | | | | | | | Fixes issue #39.
| | | * remove double calculation of filename length and dirent sizeGravatar Antonio SJ Musumeci2016-05-12
| | | |
| | * | lib/fuse_lowlevel.c: fix small typo in fuse_ll_help (#44)Gravatar David Sheets2016-05-11
| |/ / |/| | | | | s/disable remove file locking/disable remote file locking/
* | | Fixup commit 482a49c.Gravatar Nikolaus Rath2016-04-27
| | |
* | | Merge remote-tracking branch 'origin/master'Gravatar Nikolaus Rath2016-04-27
|\ \ \ | |/ / |/| |
| * | Remove leading _ on header guards to comply with reserved identifier ↵Gravatar Sam Stuewe2016-04-23
| | | | | | | | | | | | | | | requirements (#29) Remove leading _ on header guards to comply with reserved identifier requirements
| * | Merge pull request #35 from 1ace/masterGravatar Nikolaus Rath2016-04-02
| |\ \ | | | | | | | | Fix spelling mistake in comment
| | * | Fix spelling mistakeGravatar Eric Engestrom2016-04-02
| |/ /
* | | Added test_fselGravatar Nikolaus Rath2016-03-29
| | |
* | | Added unit tests for fusexmp and helloGravatar Nikolaus Rath2016-03-29
| | |
* | | Added basic unit tests.Gravatar Nikolaus Rath2016-03-29
| | | | | | | | | | | | Fixes issue #33.
* | | Integrate tests with autotoolsGravatar Nikolaus Rath2016-03-29
| | |
* | | Whitespace cleanup.Gravatar Nikolaus Rath2016-03-29
| | | | | | | | | | | | | | | | | | Applied (whitespace-cleanup) to each file. Having whitespace changes in the VCS is ugly, but it ensures that in the future committers can run this function to *avoid* commiting any whitespace.
* | | Added .dir-locals.el to customize emacs settingsGravatar Nikolaus Rath2016-03-29
| | |
* | | Inlined fuse_chan_fdGravatar Nikolaus Rath2016-03-29
| | |
* | | Inlined fuse_chan_{send, recv}Gravatar Nikolaus Rath2016-03-29
| | |
| * | Merge pull request #24 from jblumsch/doc-statfs-frsizeGravatar Nikolaus Rath2016-03-23
|/| | | | | | | | doc fix: The f_frsize field is not ignored by the statfs operation
* | | cuse_lowlevel.setup(): fix double free of local variable 'args'Gravatar Winfried Koehler2016-03-11
| | | | | | | | | | | | Signed-off-by: Winfried Koehler <w_scan@gmx-topmail.de>
| * | fuse.h doc fix: The f_frsize field is not ignored by the statfs operation.Gravatar Jan Blumschein2016-03-09
|/ / | | | | | | | | Apparently f_frsize has been passed on transparently since 2b4781100812d42e704c39c51303cd28ad3f9aa6 (Nov 28, 2005).
* / Improve description of issue #15.Gravatar Nikolaus Rath2016-03-01
|/
* Fix description of bug #15.Gravatar Nikolaus Rath2016-02-02
|
* Document bug #15.Gravatar Nikolaus Rath2016-02-01
|
* Include documentation in tarball.Gravatar Nikolaus Rath2016-01-28
|
* Remove "credits" section, we now have an AUTHORS file.Gravatar Nikolaus Rath2016-01-28
|
* Removed placeholder README file and switch automake to foreign flavor.Gravatar Nikolaus Rath2016-01-14
| | | | | | The GNU flavor merely requires to existence of some files (including README, but we prefer README.md), so there seems to be little point in using it.
* Removed hopelessly outdated files.Gravatar Nikolaus Rath2016-01-14
|
* Update makeconf.shGravatar Nikolaus Rath2016-01-14
| | | | | | | | | Describe why manual copying of config.rpath is necessary, and fail with a more helpful message if it can't be found. Remove code for systems without autoreconf - it's apparently not used by anyone since it has been broken for quite some time (there is no `kernel` directory anymore).
* Update maintainer and contributor listGravatar Nikolaus Rath2016-01-14
|
* Extend write_buf documentationGravatar Nikolaus Rath2016-01-14
|
* Initialize padding to zero.Gravatar Nikolaus Rath2016-01-14
| | | | This should prevent some valgrind warnings.
* Updated homepage URL and added download location.Gravatar Nikolaus Rath2015-12-21
|
* Migrated README to README.md for Markdown rendering on GitHub.Gravatar Nikolaus Rath2015-12-20
|