aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog.rst
AgeCommit message (Collapse)AuthorLines
2020-12-07Released 3.10.1Nikolaus Rath-0/+5
2020-11-04Fix incorrect date in ChangelogLilo Huang-1/+1
It should be 2020 rather than 2010. Thanks.
2020-10-09Released 3.10.0Nikolaus Rath-2/+3
2020-09-20Allow caching symlinks in kernel page cache. (#551)Etienne Dublé-1/+1
This commit defines a new capability called `FUSE_CAP_CACHE_SYMLINKS`. It is off by default but you can now enable it by setting this flag in in the `want` field of the `fuse_conn_info` structure. When enabled, the kernel will save symlinks in its page cache, by making use of the feature introduced in kernel 4.20: https://github.com/torvalds/linux/commit/5571f1e65486be025f73fa6aa30fb03725d362a2
2020-08-09Fix-up changelog.Nikolaus Rath-0/+10
2020-08-09Released 3.9.4Nikolaus Rath-0/+6
2020-06-12Released 3.9.2Nikolaus Rath-0/+7
2020-03-19Released 3.9.1Nikolaus Rath-10/+6
2020-01-02Fixed up ChangeLog.rstNikolaus Rath-3/+6
Last two changes were not part of the released version.
2020-01-02Fixed memory leak in fuse_session_new()Bill Zissimopoulos-0/+2
2020-01-02Fixed an issue with the linker version script. (#483)Bill Zissimopoulos-0/+1
Fixes #467.
2019-12-31Make ioctl prototype conditional on FUSE_USE_VERSION. (#482)Bill Zissimopoulos-0/+8
Define FUSE_USE_VERSION < 35 to get old ioctl prototype with int commands; define FUSE_USE_VERSION >= 35 to get new ioctl prototype with unsigned int commands. Fixes #463.
2019-12-14Released 3.9.0Nikolaus Rath-1/+1
2019-11-27Added support for FUSE_EXPLICIT_INVAL_DATA to enable (#474)Albert Chen-0/+6
2019-11-03Released 3.8.0Nikolaus Rath-2/+2
2019-11-03Implement lseek operation (#457)Yuri Per-0/+6
2019-09-27Released 3.7.0Nikolaus Rath-2/+2
2019-09-15Whitelist UFSD (#451)tenzap-0/+2
2019-09-04Introduce callback for loggingStefan Hajnoczi-0/+7
Introduce an API for custom log handler functions. This allows libfuse applications to send messages to syslog(3) or other logging systems. See include/fuse_log.h for details. Convert libfuse from fprintf(stderr, ...) to log_fuse(level, ...). Most messages are error messages with FUSE_LOG_ERR log level. There are also some debug messages which now use the FUSE_LOG_DEBUG log level. Note that lib/mount_util.c is used by both libfuse and fusermount3. Since fusermount3 does not link against libfuse, we cannot call fuse_log() from lib/mount_util.c. This file will continue to use fprintf(stderr, ...) until someone figures out how to split it up. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2019-07-09Released 3.6.2Nikolaus Rath-2/+2
2019-07-09Install init script in /etc/ instead of $sysconfdirNikolaus Rath-0/+6
sysconfdir defaults to /usr/local/etc which is almost always the wrong choice. Fixes: #427
2019-06-13Released 3.6.1Nikolaus Rath-0/+6
2019-06-13Released 3.6.0Nikolaus Rath-2/+2
2019-06-13fuse_lowlevel: Add max_pages support (#384)scosu-0/+6
Starting with kernel version 4.20 fuse supports a new property 'max_pages' which is the maximum number of pages that can be used per request. This can be set via an argument during initialization. This new property allows writes to be larger than 128k. This patch sets the property if the matching capability is set (FUSE_MAX_PAGES). It will also set max_write to 1MiB. Filesystems have the possibility to decrease this size by setting max_write to a smaller size. The max_pages and bufsize fields are adjusted accordingly. Cc: Constantine Shulyupin <const@MakeLinux.com> Signed-off-by: Markus Pargmann <scosu@quobyte.com>
2019-05-09Added new example filesystemNikolaus Rath-0/+7
passthrough_hp puts emphasis and performance and correctness, rather than simplicity.
2019-04-16Released 3.5.0Nikolaus Rath-2/+2
2019-04-16Add documentation for opting out of opendir and releasedir (#391)Chad Austin-0/+1
2019-04-07Bump minor versionNikolaus Rath-2/+2
cache_readdir flag is a new feature.
2019-04-06Add support for in-kernel readdir caching.Nikolaus Rath-0/+5
Fixes: #394.
2019-04-03Whitelist smb2 (#392)Peter Lemenkov-0/+2
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é-0/+4
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-09Released 3.4.2Nikolaus Rath-3/+3
2019-03-09Add HFS+ to filesystem whitelist (#347)1c7718e7-0/+2
2019-01-04Added OpenAFS to type whitelistNikolaus Rath-0/+2
Fixes: #336.
2018-12-29Fixed memory leak.Nikolaus Rath-0/+6
Fixes: #338.
2018-12-22Added missing date to Changelog.Nikolaus Rath-2/+2
2018-12-22Released 3.4.1Nikolaus Rath-0/+8
2018-11-19examples: add copy_file_range() support to passthrough(_fh)Niels de Vos-0/+6
The passthrough example filesystem can be used for validating the API and the implementation in the FUSE kernel module.
2018-11-06Released 3.3.0Nikolaus Rath-2/+2
2018-11-06Avoid double unmount on normal unmount in auto_unmount mode.Kevin Vigor-0/+3
If a fuse filesystem was mounted in auto_unmount mode on top of an already mounted filesystem, we would end up doing a double-unmount when the fuse filesystem was unmounted properly. Make the auto_unmount code less eager: unmount only if the mounted filesystem has proper type and is returning 'Transport endpoint not connected'.
2018-11-06Document when `fuse_lowlevel_notify_*` functions may block.Nikolaus Rath-0/+3
2018-10-09Add unprivileged option in `mount.fuse3`Mattias Nissler-0/+5
The unprivileged option allows to run the FUSE file system process without privileges by dropping capabilities and preventing them from being re-acquired via setuid / fscaps etc. To accomplish this, mount.fuse sets up the `/dev/fuse` file descriptor and mount itself and passes the file descriptor via the `/dev/fd/%u` mountpoint syntax to the FUSE file system.
2018-10-09Allow passing `/dev/fuse` file descriptor from parent processMattias Nissler-0/+4
This adds support for a mode of operation in which a privileged parent process opens `/dev/fuse` and takes care of mounting. The FUSE file system daemon can then run as an unprivileged child that merely processes requests on the FUSE file descriptor, which get passed using the special `/dev/fd/%u` syntax for the mountpoint parameter. The main benefit is that no privileged operations need to be performed by the FUSE file system daemon itself directly or indirectly, so the FUSE process can run with fully unprivileged and mechanisms like securebits and no_new_privs can be used to prevent subprocesses from re-acquiring privilege via setuid, fscaps, etc. This reduces risk in case the FUSE file system gets exploited by malicious file system data. Below is an example that illustrates this. Note that I'm using shell for presentation purposes, the expectation is that the parent process will implement the equivalent of the `mount -i` and `capsh` commands. ``` \# example/hello can mount successfully with privilege $ sudo sh -c "LD_LIBRARY_PATH=build/lib ./example/hello /mnt/tmp" $ sudo cat /mnt/tmp/hello Hello World! $ sudo umount /mnt/tmp \# example/hello fails to mount without privilege $ sudo capsh --drop=all --secbits=0x2f -- -c 'LD_LIBRARY_PATH=build/lib ./example/hello -f /mnt/tmp' fusermount3: mount failed: Operation not permitted \# Passing FUSE file descriptor via /dev/fd/%u allows example/hello to work without privilege $ sudo sh -c ' exec 17<>/dev/fuse mount -i -o nodev,nosuid,noexec,fd=17,rootmode=40000,user_id=0,group_id=0 -t fuse hello /mnt/tmp capsh --drop=all --secbits=0x2f -- -c "LD_LIBRARY_PATH=build/lib example/hello /dev/fd/17" ' $ sudo cat /mnt/tmp/hello Hello World! $ sudo umount /mnt/tmp ```
2018-09-20Don't enable adaptive readdirplus unless fs has readdir() handler.Nikolaus Rath-0/+10
2018-08-31Released 3.2.6Nikolaus Rath-2/+2
2018-08-31Do not hardcode /etc/fuse.conf path.Nikolaus Rath-0/+3
2018-08-30Updated ChangeLog with recent changes.Nikolaus Rath-1/+8
2018-07-31Add autofs to mountpoint file system whitelistRobo Shimmer-0/+2
2018-07-24Released 3.2.5Nikolaus Rath-2/+7
2018-07-24Added ChangeLog entry for hardening patches.Nikolaus Rath-2/+6