aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libfuse: Fix cast for void* in fuse optsHEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004-rc1replicant-6.0-0004replicant-6.0-0003replicant-6.0-0002replicant-6.0-0001stable/cm-13.0-ZNH5Ystable/cm-13.0-ZNH2KBstable/cm-13.0-ZNH2Kstable/cm-13.0-ZNH0Ecm-13.0Matt Mower2015-12-141-1/+1
| | | | Change-Id: I3eb7dca2eba002a8bc96646e49bb3bd9fcfcf645
* libfuse: Cleanup code and update build configurationSteve Kondik2015-11-108-27/+64
| | | | Change-Id: Id9600a3b60dec2aa3c9aca06310c88148aeb9278
* Released 2.9.4Miklos Szeredi2015-10-283-2/+6
| | | | Change-Id: Ia85258bb897dd3e2e49475033203c75bf696d76e
* libfuse: fix exec environment for mount and umountMiklos Szeredi2015-10-282-6/+22
| | | | | | Found by Tavis Ormandy (CVE-2015-3202). Change-Id: Ic6f5ecb8db1629481ffeec60e64d209ab248a7f5
* libfuse: fix fuse_remove_signal_handlers()Miklos Szeredi2015-10-282-11/+16
| | | | | | | | to properly restore the default signal handler. Reported by: Chris Johnson <johnsocg@gmail.com> Change-Id: I691b76b7b81ef53e276a1f7bcbed9a6b1b166bab
* libfuse: highlevel API: fix directory file handle passed to ioctl() methodMiklos Szeredi2015-10-283-2/+16
| | | | | | Reported by Eric Biggers Change-Id: I49119e982b11679edcafd9a87da69d965fd124a9
* libfuse: document deadlock avoidance for fuse_notify_inval_entry()Miklos Szeredi2015-10-282-0/+11
| | | | | | | | and fuse_notify_delete() Reported by Han-Wen Nienhuys Change-Id: Iecdc980b9ae69675cd73f93103a5f7538bb780d0
* Initilaize stat buffer passed to ->getattr() and ->fgetattr()Miklos Szeredi2015-10-282-0/+7
| | | | | | | | to zero in all cases. Reported by Daniel Iwan. Change-Id: I5f2c14a2fbaffeac3378cedbad8b04274931f26c
* Advertize the existence of some "configure" env vars.Fabrice Bauzac2015-10-281-0/+3
| | | | | | | Advertize the existence of env vars MOUNT_FUSE_PATH, UDEV_RULES_PATH and INIT_D_PATH in the execution of ./configure. Change-Id: If53f0d5d40b25390f7b4b98b304dfd07dea88125
* fusermount, libfuse: send value as unsigned in "user_id=" and "group_id="Miklos Szeredi2015-10-283-3/+10
| | | | | | | ...options. Uids/gids larger than 2147483647 would result in EINVAL when mounting the filesystem. This also needs a fix in the kernel. Change-Id: Ic7ed0a7391b49adf31db2129b00beb0e1e60f652
* Add missing includesDaniel Thau2015-10-285-0/+9
| | | | This allows compiling fuse with musl.
* Changed off_t to loff_tstaging/cm-12.1stable/cm-12.1-YOG7Dstable/cm-12.1-YOG4Pstable/cm-12.1-YOG3Cstable/cm-12.0-YNG4Nstable/cm-12.0-YNG3Cstable/cm-12.0-YNG1TAstable/cm-12.0-YNG1Tstable/cm-12.0-YNG1Icm-12.1cm-12.0Spegelius2014-11-2317-100/+100
| | | | | | | - off_t is long, loff_t is long long (32bit vs. 64bit) - loff_t required by exfat at least so fuse needs to have it also Change-Id: I76a4e4cc1af9b85cd0bed2bb220723e959b1a04f
* fuse: Fix compilation on LSteve Kondik2014-11-081-8/+0
| | | | Change-Id: I7c989dea0f0b270535da089b0e5a9eafb17cae96
* fuse: Reduce code size and allow static compilationcm-11.0-XNPH44S-bacon-5fa8c79c0bcm-11.0-XNPH33R-bacon-3628510d76cm-11.0-XNPH30O-bacon-4f280f505acm-11.0-XNPH25R-bacon-d22b777afacm-11.0-XNPH22R-bacon-03d77315eacm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56cm-10.2.1cm-10.2.0cm-10.2-M1staging/cm-12.0-cafstable/cm-11.0-XNG3Cstable/cm-11.0-XNG2Sstable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0stable/cm-10.2shipping/cm-11.0cm-11.0cm-10.2Steve Kondik2013-08-192-3/+20
| | | | Change-Id: Ibbd06ba24020bbad4959e298c5c1a595781c579c
* Allow building when strict aliasingcm-10.1.3-RC2cm-10.1.3-RC1cm-10.1.3cm-10.1DHOMD2013-07-171-2/+2
| | | | | | PS2 - As Dhacker adaptly pointed out the name was misleading. Change-Id: Ie6201963535d9ff7db7a12bb53fcb4b437962d74
* Add missing config.h for AndroidSteve Kondik2013-07-072-1/+87
| | | | Change-Id: I4c815f23216dc25b24f50d1a2967f89d34c6feb6
* Support for building on AndroidSteve Kondik2013-07-0717-13/+237
|
* Released 2.9.3Miklos Szeredi2013-07-013-2/+6
|
* libfuse: don't close fd if it's -1Miklos Szeredi2013-07-011-1/+4
| | | | This prevents a valgrind warning.
* libfuse: fix multiple close of device fdMiklos Szeredi2013-07-016-11/+34
| | | | | | | | | | | | - 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: fix thread cancel raceMiklos Szeredi2013-03-192-0/+8
| | | | | | | | Exiting a worker my race with cancelling that same worker. This caused a segmenation fault. Reported and tested by Anatol Pomozov
* Add "nopath" to help.Miklos Szeredi2013-02-181-0/+1
|
* libfuse: rename ./configure.in to ./configure.acAnatol Pomozov2013-02-042-0/+3
| | | | | | Next version of automake (1.14) removes support for the deprecated filename http://lists.gnu.org/archive/html/autotools-announce/2013-01/msg00000.html
* libfuse: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADERAnatol Pomozov2013-02-042-1/+4
| | | | | AM_CONFIG_HEADER has been deprecated for years and autotools 1.13 removes this macros at all.
* libfuse: configure: detect new util-linuxMiklos Szeredi2013-02-042-2/+8
| | | | | | | Apparently new versions of util-linux umount return with an exit status of 1 even if the "--fake" option is recognised (despite being documented otherwise). Check this condition and don't complain about util-linux version.
* libfuse: fix the 'remember' optionMadan Valluri2013-02-042-0/+8
| | | | | | | | | | | | 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()Ratna_Bolla@dell.com2013-02-042-0/+6
| | | | | | | | | | | | 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
* Released 2.9.2Miklos Szeredi2012-10-013-2/+7
|
* Fix deadlock in libfuseMiklos Szeredi2012-10-012-118/+173
| | | | | | | Running "svn update" on a fuse filesystem could deadlock because of a bug in the way the paths are locked. Reported by Kazuaki Anami
* Fix missing config.h in buffer.cMiklos Szeredi2012-08-244-0/+7
| | | | | | | | | | | | | Due to an oversight, splice will never actually be used for i/o. Someone forgot to #include "config.h" in lib/buffer.c (in fact almost no files include that header). As a result, even though configure detects splice support and puts HAVE_SPLICE in config.h, buffer.c is always compiled as if there is no splice support. Also add #include "config.h" to fuse.c and fuse_lowlevel.c. These currently include it indirectly through fuse_misc.h, but we don't want to depend on that. Reported by Matthew Gabeler-Lee
* Zero out node when allocating from a slab.Miklos Szeredi2012-08-141-10/+4
| | | | Fix compile warning when not using node slab.
* Fix "fuse internal error: node NNN not found"Miklos Szeredi2012-08-142-4/+20
| | | | | | | | | | Commit 4dc7e675bb (Don't unhash name in FORGET) broke the forget logic in a subtle way, resulting in "fuse internal error: node NNN not found" and causing the filesystem daemon to abort. Fix by incrementing the node refcount if nlookup goes from zero to one. Reported by Kyle Lippincott
* Fix linking against GNU libiconvNatanael Copa2012-08-132-1/+5
| | | | | | Use quotation marks when assigning shell variable. This broke by 384496dd02cfd9a74b95d62ce0d23a31a7af3730, most likely by mistake.
* Released 2.9.1Miklos Szeredi2012-07-193-2/+6
|
* Fix crash caused by freeing a stack addressMiklos Szeredi2012-07-192-1/+6
| | | | | | | | The failure path of try_get_path2() erronously tried to free the "path1" value (an address on the stack) instead of the allocated string pointed to by "path1". This caused the library to crash. Reported by Itay Perl
* Add fallocate to NEWSMiklos Szeredi2012-07-192-1/+4
|
* libfuse: mark some data constantMiklos Szeredi2012-07-044-6/+6
|
* Fix build with automake >= 1.12.1Olivier Blin2012-07-043-10/+8
| | | | | | | | | | | | mkdir_p is deprecated since automake 1.12.1 (see automake commit 7a1eb9ff9027929687f12905e131f6fda3fa6d0c). MKDIR_P should be used instead of mkdir_p. This is available since autoconf 2.59d (2006-06-05), by calling AC_PROG_MKDIR_P. The mkdir_p workaround was not working anyway for out-of-tree builds, since the ../mkinstalldirs path would be incorrect.
* Fix install from out-of-tree buildOlivier Blin2012-07-042-1/+6
| | | | | | | When building out-of-tree, install fails since it tries to copy mount.fuse binary from source directory. Patch initially from Damien Thébault (SoftAtHome)
* Add FALLOCATE operationAnatol Pomozov2012-06-1810-2/+152
| | | | | | fallocate filesystem operation preallocates media space for the given file. If fallocate returns success then any subsequent write to the given range never fails with 'not enough space' error.
* Fix the compile command in the examplesMiklos Szeredi2012-05-169-8/+11
| | | | Reported by Luciano Dalle Ore
* Fix -pthread in fuse.pcMiklos Szeredi2012-05-164-5/+11
| | | | | | | | Linking to a library that uses threads requires the application to be linked with -pthreads otherwise some pthread functions will be linked to stubs in glibc. So move -pthread from Libs.private to Libs in fuse.pc. Reported by Werner Fink
* Released 2.9.0Miklos Szeredi2012-04-202-1/+5
|
* Add missing fuse_fs_flock to fuse_versionscriptMiklos Szeredi2012-04-202-0/+5
|
* use flexible array in include/fuse_kernel.hMiklos Szeredi2012-04-201-1/+1
| | | | | Use the ISO C standard compliant form instead of the gcc extension in the interface definition.
* Update NEWSMiklos Szeredi2012-04-201-0/+10
|
* Add 'flag_utime_omit_ok' flag to fuse_operationsMiklos Szeredi2012-04-104-1/+41
| | | | | If the filesystem sets this flag then ->utimens() will receive UTIME_OMIT and UTIME_NOW values as specified in utimensat(2).
* Check protocol version before sending notificationsMiklos Szeredi2012-04-102-0/+14
| | | | | Check protocol version before sending notifications and return -ENOSYS if a particular notification is not supported.
* test improvementsMiklos Szeredi2012-04-061-8/+149
|
* Interpret octal escape codes in optionsMiklos Szeredi2012-01-272-2/+19
| | | | Requested by Jan Engelhardt