aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* ulockmgr: strip ulockmgr support from this source packageGravatar Miklos Szeredi2013-07-25
| | | | | | 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.
* libfuse: fuse -> fuse3Gravatar Miklos Szeredi2013-07-25
| | | | | | 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.
* libfuse: remove "-D_FILE_OFFSET_BITS=64" from fuse.pcGravatar Miklos Szeredi2013-07-24
| | | | add AC_SYS_LARGEFILE to your configure.ac instead.
* libfuse: clean up struct fuse_file_infoGravatar Miklos Szeredi2013-07-18
| | | | | | Remove 'fh_old' which was an ABI compatibility field for a long time. Make 'writepage' a bitfield.
* Merge https://github.com/qknight/fuse-fuseGravatar Miklos Szeredi2013-07-17
|\
| * rewrote c++ style comments to c style coments mentioned by Miklos SzerediGravatar Joachim Schiele2013-07-02
| |
* | libfuse: remove session and chan abstractionsGravatar Miklos Szeredi2013-06-21
| | | | | | | | | | | | There's actually just one type of channel and session, so we don't need the generic callback functions.
* | libfuse: remove fuse_chan_bufsize()Gravatar Miklos Szeredi2013-06-21
| | | | | | | | | | | | | | Remove fuse_chan_bufsize() from the lowlevel API. fuse_session_receive_buf() is now responsible for allocating memory for the buffer.
* | libfuse: remove fuse_chan_(send|receive)Gravatar Miklos Szeredi2013-06-21
| | | | | | | | | | | | | | Move the fuse_chan_ops.send and .receive implementations to fuse_lowlevel.c. The abstraction wasn't actually useful and made the the splice implementation more difficult. Remove fuse_chan_ops.send and fuse_chan_ops.receive.
* | libfuse: set FD_CLOEXEC also when receiving device fd from fusermountGravatar Miklos Szeredi2013-06-21
| |
* | libfuse: clean up fuse_chanGravatar Miklos Szeredi2013-06-21
| | | | | | | | | | | | | | | | | | | | | | | | Clean up fuse_chan related interfaces. Remove the following from the lowlevel library API: struct fuse_chan_ops; fuse_chan_new(); fuse_chan_session(); fuse_chan_recv(); fuse_chan_send();
* | libfuse: clean up fuse_sessionGravatar Miklos Szeredi2013-06-21
| | | | | | | | | | | | | | | | | | | | Clean up fuse_session related interfaces. Remove the following from the lowlevel library API: struct fuse_session_ops; fuse_session_new(); fuse_session_process(); fuse_session_data();
* | libfuse: replace fuse_session_next_chanGravatar Miklos Szeredi2013-06-21
| | | | | | | | | | Replace fuse_session_next_chan() with fuse_session_chan(), as multiple channels per session were never actually supported and probably never will.
| * - added a doxygen main pageGravatar Joachim Schiele2013-06-20
| | | | | | | | | | | | - modified all examples to be included in doxygen - modified the API documentation to have more details - added the 490px_FUSE_structure.svg.png (c) wikipedia
* | libfuse: fix multiple close of device fdGravatar Miklos Szeredi2013-06-20
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | libfuse: remove channel user dataGravatar Miklos Szeredi2013-06-20
|/
* Merge branch 'fuse_2_9_bugfix'Gravatar Miklos Szeredi2013-03-19
|\
| * libfuse: fix thread cancel raceGravatar Miklos Szeredi2013-03-19
| | | | | | | | | | | | | | | | Exiting a worker my race with cancelling that same worker. This caused a segmenation fault. Reported and tested by Anatol Pomozov
* | remove real fuse_main() symbolGravatar Miklos Szeredi2013-02-22
| |
* | clean fuse_chan_receive from versionscriptGravatar Miklos Szeredi2013-02-22
| |
* | fix fi->fh format stringsGravatar Miklos Szeredi2013-02-21
| |
* | Fix nodeid format stringsGravatar Miklos Szeredi2013-02-21
| |
* | cuse: clean includesGravatar Miklos Szeredi2013-02-20
| |
* | libfuse: use O_CLOEXEC flag when opening /dev/fuse deviceGravatar Richard W.M. Jones2013-02-20
| |
* | fuse_daemonize(): chdir to "/" even if not running in the backgroundGravatar Miklos Szeredi2013-02-19
| | | | | | | | | | | | for consistency. Reported by Vladimir Rutsky
* | fuse_opt_parse(): fix memory leakGravatar Miklos Szeredi2013-02-19
| | | | | | | | | | | | | | when storing a newly allocated string for format "%s", free the previous value stored at that location. Reported by Marco Schuster
| * Add "nopath" to help.Gravatar Miklos Szeredi2013-02-18
| |
* | libfuse: remove struct fuse_cmdGravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_operations.utime_omit_okGravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_operations.utime()Gravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_operations.getdir()Gravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_lowlevel_is_lib_option()Gravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_exited()Gravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_setup(), fuse_teardown()Gravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_read_cmd(), fuse_process_cmd()Gravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_loop_mt_proc()Gravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_set_getcontext_func()Gravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_invalidate()Gravatar Miklos Szeredi2013-02-08
| |
* | libfuse: remove deprecated fuse_is_lib_option()Gravatar Miklos Szeredi2013-02-08
| |
* | libfuse: pass security context options to kernelGravatar Dalvik Khertel2013-02-08
| | | | | | | | | | | | | | | | | | 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.
* | libfuse: allow disabling adaptive readdirplusGravatar Eric Wong2013-02-07
| | | | | | | | | | | | | | | | | | | | | | This switches the -o no_readdirplus option to a tristate string: -o readdirplus=(yes|no|auto) Telling the kernel to always use readdirplus is beneficial to filesystems (e.g. GlusterFS) where the cost to perform readdir and readdirplus are identical. The default remains "auto" (if supported).
* | libfuse-fix-fs-cleanupGravatar Miklos Szeredi2013-02-07
| | | | | | | | | | | | | | This fixes a segmentation fault if command-line option parsing fails during initialization. Reported by Eric Wong
* | libfuse: add poll_events to fuse_file_infoGravatar Enke Chen2013-02-07
| | | | | | | | | | Make requested poll events available to the filesystem. If the requested eventsare not available, then this field is zero.
* | libfuse: add readdirplus support in fuse_lowlevel_opsGravatar Feng Shuo2013-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | libfuse: Add '[no_]auto_inval_data' mount optionGravatar Feng Shuo2013-02-06
| | | | | | | | | | | | | | | | | | | | | | Several caching logic changes have been made on the kernel side to better support network-based fuse filesystems. These include kernel side mtime checking and read path cache revalidation. The new caching logic is enabled through the FUSE_AUTO_INVAL_DATA init flag. Export this to the user via the '[no_]auto_inval_data' mount option. Signed-off-by: Feng Shuo <steve.shuo.feng@gmail.com>
* | libfuse: set close-on-exec flag on pipe file descriptorsGravatar Eric Wong2013-02-06
| | | | | | | | | | | | | | | | | | 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.
* | libfuse: fix fuse_get_context() in non fuse threadsGravatar Miklos Szeredi2013-02-05
| | | | | | | | | | | | | | | | fuse_interrupted(), fuse_get_context(), etc... crashed in non-fuse threads. Instead return false, NULL or error depending on the function. Reported by Michael Berlin
* | Merge branch 'fuse_2_9_bugfix'Gravatar Miklos Szeredi2013-02-04
|\|
| * libfuse: fix the 'remember' optionGravatar Madan Valluri2013-02-04
| | | | | | | | | | | | | | | | | | | | | | | | The lru list was not initialized for the "/" path. This resulted in remove_node_lru() crashing on LOOKUP-DOTDOT. Patch by Madan Valluri. -- ChangeLog | 4 ++++ lib/fuse.c | 4 ++++ 2 files changed, 8 insertions(+)
| * libfuse: fix crash in unlock_path()Gravatar Ratna_Bolla@dell.com2013-02-04
| | | | | | | | | | | | | | | | | | | | | | | | Patch by Ratna Manoj. queue_element_unlock() should set ->first_locked and ->second_locked to false. Discovered with 'fs_racer'. The assert(wnode->treelock == TREELOCK_WRITE) in unlock_path() was hit within minutes. Miklos: simplified patch