aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
AgeCommit message (Collapse)AuthorLines
2015-05-18libfuse: refcount fuse_chan objectsMiklos Szeredi-0/+6
New functions: fuse_chan_get(), fuse_chan_put(). Removed function: fuse_chan_destroy().
2015-04-23libfuse: add FUSE_CAP_NO_OPEN_SUPPORT flag to ->init()Miklos Szeredi-0/+4
2015-02-26libfuse: fix handling of '.' and '..' in highlevel readdirplusMiklos Szeredi-0/+2
2015-02-26libfuse: fix fuse_remove_signal_handlers()Miklos Szeredi-0/+5
to properly restore the default signal handler. Reported by: Chris Johnson <johnsocg@gmail.com>
2014-07-21libfuse: highlevel API: fix directory file handle passed to ioctl() methodMiklos Szeredi-0/+5
Reported by Eric Biggers
2014-07-15ChangeLog fixMiklos Szeredi-1/+1
2014-07-15libfuse: add flags to ->rename()Miklos Szeredi-0/+3
See renameat2() system call in linux-3.15 and later kernels.
2014-07-15libfuse: allow setting ctime in ->setattr()Miklos Szeredi-0/+2
2014-07-15libfuse: add "time_gran" optionMiklos Szeredi-0/+4
This allows the filesystem to specify the time granularity it supports when the kernel is responsible for updating times ("writeback_cache" option).
2014-07-15fusermount, libfuse: send value as unsigned in "user_id=" and "group_id="Miklos Szeredi-0/+5
...options. Uids/gids larger than 2147483647 would result in EINVAL when mounting the filesystem. This also needs a fix in the kernel.
2014-07-15libfuse: document deadlock avoidance for fuse_notify_inval_entry()Miklos Szeredi-0/+5
and fuse_notify_delete() Reported by Han-Wen Nienhuys
2014-03-26Initilaize stat buffer passed to ->getattr() and ->fgetattr()Miklos Szeredi-0/+5
to zero in all cases. Reported by Daniel Iwan.
2014-03-05libfuse: implement readdirplus for high-level APIEric Wong-0/+11
Reuse the old "readdir" callback, but add a flags argument, that has FUSE_READDIR_PLUS in case this is a "plus" version. Filesystems can safely ignore this flag, but if they want they can add optimizations based on it: i.e. only retrieve the full attributes in PLUS mode. The filler function is also given a flags argument and the filesystem can set FUSE_FILL_DIR_PLUS if all the attributes in "stat" are valid.
2014-02-21libfuse: added fuse_lo-plus.c to the examplesMiklos Szeredi-0/+4
2014-02-04fuse: use dlsym() instead of relying on ld.so constructor functionsFabrice Bauzac-0/+5
2014-01-29libfuse: Add "async_dio" and "writeback_cache" optionsMiklos Szeredi-0/+6
Asynchronous direct I/O is supported by linux kernels 3.13 and later, writeback caching is supported by 3.14 and later.
2013-08-26Merge remote-tracking branch 'origin/fuse_2_9_bugfix'Miklos Szeredi-0/+5
2013-08-26Add missing includesDaniel Thau-0/+5
This allows compiling fuse with musl.
2013-07-26Print help on stdout instead of stderrMiklos Szeredi-0/+4
2013-07-25ulockmgr: strip ulockmgr support from this source packageMiklos Szeredi-0/+5
Distribute ulockmgr separately. It is not needed for the building of libfuse, only fusexmp_fh. Check ulockmgr library in ./configure and if not disable remote-lock suport in fusexmp_fh.
2013-07-25libfuse: fuse -> fuse3Miklos Szeredi-0/+7
Allow 2.X and 3.X to coexist. Includes are now stored under /usr/include/fuse3 and library is named libfuse3.*. Invoke pkg-config with "fuse3" as the first argument to build with version 3 of the library.
2013-07-24libfuse: remove "-D_FILE_OFFSET_BITS=64" from fuse.pcMiklos Szeredi-0/+5
add AC_SYS_LARGEFILE to your configure.ac instead.
2013-07-01Released 2.9.3Miklos Szeredi-0/+4
2013-07-01libfuse: fix multiple close of device fdMiklos Szeredi-0/+5
- fuse_kern_unmount closes handle (e.g. 19) - a thread in my process opens a file - the OS assigns newly freed handle (i.e. 19) - fuse_kern_chan_destroy closes the same handle (i.e. 19) - a thread in my process opens another file - the OS assigns newly freed handle (i.e. 19) - * MAYHEM * Reported by Dan Greenfield
2013-06-21libfuse: set FD_CLOEXEC also when receiving device fd from fusermountMiklos Szeredi-0/+5
2013-06-20libfuse: fix multiple close of device fdMiklos Szeredi-0/+5
- fuse_kern_unmount closes handle (e.g. 19) - a thread in my process opens a file - the OS assigns newly freed handle (i.e. 19) - fuse_kern_chan_destroy closes the same handle (i.e. 19) - a thread in my process opens another file - the OS assigns newly freed handle (i.e. 19) - * MAYHEM * Reported by Dan Greenfield
2013-03-19Merge branch 'fuse_2_9_bugfix'Miklos Szeredi-0/+6
2013-03-19libfuse: fix thread cancel raceMiklos Szeredi-0/+6
Exiting a worker my race with cancelling that same worker. This caused a segmenation fault. Reported and tested by Anatol Pomozov
2013-02-20libfuse: don't force -D_FILE_OFFSET_BITS=64 in pkgconfig file.Richard W.M. Jones-0/+3
FUSE_CFLAGS defines -D_FILE_OFFSET_BITS=64. There are three problems with this: (1) A larger program using libfuse might have modules compiled with and without FUSE_CFLAGS, which, if LFS is not enabled and the platform is 32 bit, would result in a fatal mix of 32 and 64 bit off_t. (This would, of course, be a bug, but I think there is a better way to detect this -- see below) (2) Programs may need to be adjusted to support LFS. It's the intention of the LFS standard that the _programmer_ enables LFS once the program has been checked/adjusted. (3) _FILE_OFFSET_BITS does not need to be defined at all on 64 bit Linux. 64 bit off_t is the default there. So I think it's better not to force -D_FILE_OFFSET_BITS=64, and because of (3) I also think you shouldn't test for it. However off_t must still be 64 bits, so how to enforce that? C1X will define static assertions[1], and these can be used to check the size of off_t. Not all compilers support static assertions yet, although several do. Therefore I have surrounded the static assertion with a conservative check that the compiler is GCC >= 4.6. In the long run, this test can be removed and you can just use 'static_assert'.
2013-02-20libfuse: use O_CLOEXEC flag when opening /dev/fuse deviceRichard W.M. Jones-0/+3
2013-02-20libfuse: 64bit fuse_ino_tMiklos Szeredi-0/+5
Change the type of fuse_ino_t from 'unsigned long' to 'uint64_t'. This only changes the size on 32bit architectures.
2013-02-19fuse_daemonize(): chdir to "/" even if not running in the backgroundMiklos Szeredi-0/+5
for consistency. Reported by Vladimir Rutsky
2013-02-19fuse_opt_parse(): fix memory leakMiklos Szeredi-0/+6
when storing a newly allocated string for format "%s", free the previous value stored at that location. Reported by Marco Schuster
2013-02-08libfuse: remove deprecated fuse_operations.utime_omit_okMiklos Szeredi-0/+1
2013-02-08libfuse: remove deprecated fuse_operations.utime()Miklos Szeredi-0/+1
2013-02-08libfuse: remove deprecated fuse_operations.getdir()Miklos Szeredi-0/+1
2013-02-08libfuse: remove deprecated fuse_lowlevel_is_lib_option()Miklos Szeredi-0/+1
2013-02-08libfuse: remove deprecated fuse_exited()Miklos Szeredi-0/+1
2013-02-08libfuse: remove deprecated fuse_setup(), fuse_teardown()Miklos Szeredi-0/+2
2013-02-08libfuse: remove deprecated fuse_read_cmd(), fuse_process_cmd()Miklos Szeredi-0/+2
2013-02-08libfuse: remove deprecated fuse_loop_mt_proc()Miklos Szeredi-0/+1
2013-02-08libfuse: remove deprecated fuse_set_getcontext_func()Miklos Szeredi-0/+1
2013-02-08libfuse: remove deprecated fuse_invalidate()Miklos Szeredi-0/+1
2013-02-08libfuse: remove deprecated fuse_is_lib_option()Miklos Szeredi-0/+3
2013-02-08libfuse: pass security context options to kernelDalvik Khertel-0/+3
Mount can be used with an "-o context=" option in order to specify a mountpoint-wide SELinux security context different from the default context provided by the active SELinux policy. This is useful in order to enable users to mount multiple sshfs targets under distinct contexts, which is my main motivation for getting this patch mainlined.
2013-02-07libfuse-fix-fs-cleanupMiklos Szeredi-0/+2
This fixes a segmentation fault if command-line option parsing fails during initialization. Reported by Eric Wong
2013-02-07libfuse: add poll_events to fuse_file_infoEnke Chen-0/+2
Make requested poll events available to the filesystem. If the requested eventsare not available, then this field is zero.
2013-02-07libfuse: add readdirplus support in fuse_lowlevel_opsFeng Shuo-0/+5
This patch implements readdirplus support in FUSE usersapce. It adds a new fuse lowlevel operations fuse_lowleve_ops::readdir_plus, corespoding mount options and helper functions to maintain buffer. [From: Eric Wong <normalperson@yhbt.net>] This makes our terminology consistent with NFS and our kernel module, as well as reducing user/developer confusion in the command-line. Note: I'm keeping "fuse_add_direntry_plus" since that is less standardized in its use than "readdirplus" for now. Signed-off-by: Feng Shuo <steve.shuo.feng@gmail.com>
2013-02-06libfuse: add missing INIT flagsMiklos Szeredi-0/+2
Add missing flags that userspace derived from the protocol version number. This makes the protocol more flexible.
2013-02-06libfuse: set close-on-exec flag on pipe file descriptorsEric Wong-0/+5
The FUSE library may be used from any number of programs which may also fork() + execve(), so set the close-on-exec flag to avoid inadvertant leakage of pipe file descriptors. While we're at it, attempt to use pipe2() since this is within a (currently) Linux-only code path and pipe2() offers thread-safety.