summaryrefslogtreecommitdiff
path: root/lib/libfuse
AgeCommit message (Collapse)Author
2016-08-30Use struct stat for storing attributes in fusebufs, because using structMartin Natano
vattr in userspace is suboptimal as some related helpers are not available, e.g. VATTR_NULL() and IFTOVT(). The conversion is now done in the kernel where it belongs. As a side effect the <sys/vnode.h> include can be removed from libfuse. tweaks and ok guenther
2016-08-27Pull in <sys/time.h> for struct timespecPhilip Guenther
ok deraadt@
2016-05-24NUL-terminate argv when parsing options, following otherOkan Demirmen
implementations; fixes issue when exec*() is used for fuse_args, notably in sshfs; from Hiltjo Posthuma and reminded by ray. ok mpi@
2016-05-24Add missing strdup NULL checks; from Ray Lai.Okan Demirmen
ok mpi@ beck@ mlarkin@
2016-05-18update links; from rayJason McIntyre
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2015-12-24remove NULL-check before free()mmcc
2015-10-19missing deref on char check. from David BindermanTed Unangst
2015-08-24When an option is not recognized call the processing function withMartin Pieuchot
FUSE_OPT_KEY_OPT, while here fix the last argument of a call in fuse_opt_parse(). Diff from Thiébaud Weksteen <thiebaud AT weksteen DOT fr>, thanks! ok syl@, ajacoutot@
2015-07-07Skip mountpoint checking in case we only want the version or helpAntoine Jacoutot
(-V, -h). ok syl@ mikeb@
2015-07-07Unbreak option parsing:Antoine Jacoutot
fuse_opt_pase is called with an opaque void * and struct fuse_opt. If val has a positive value and off != -1, we modify the opaque void * at the offset off to put it val. This matches what the GNU libfuse does. fixes (at least) simple-mtpfs option parsing diff from slacker syl@, thanks! "it can't get worse than not working" mikeb@ ok miod@ sthen@
2015-06-03Remove -Werror from the Makefile: as it happened with asprintf, itReyk Floeter
breaks the tree if any new compiler warnings get enabled, especially with -Wall. We do not want to use it in the tree, except for some very special places. As discussed with deraadt@
2015-06-03It is better to check the asprintf return value for -1 instead of theReyk Floeter
input buffer for NULL. Found by adding __attribute((__warn_unused_result__)) to asprintf. OK deraadt@
2015-02-10Add a stub option for big_writes. This is needed by gvfs.Antoine Jacoutot
committing on behalf of slacker syl@
2015-02-06SIZE_MAX is standard, we should be using it in preference to theTodd C. Miller
obsolete SIZE_T_MAX. OK miod@ beck@
2015-01-16Move to the <limits.h> universe.Theo de Raadt
review by millert, binary checking process with doug, concept with guenther
2014-10-08use reallocarray(); ok dougTheo de Raadt
2014-05-20Add -o max_read=XXX support in fuse. This is needed by usmb to have aSylvestre Gallon
working read() and write(). ok tedu@
2014-05-20Add support for -o XXX or -oXXX options in libfuse.Sylvestre Gallon
inputs from tedu@, ok tedu@
2014-05-19as reported by Helg, should use realpath for mounts. ok guenther sylTed Unangst
2014-04-28Add support for 255 character file names in fuse.Sylvestre Gallon
from Helg Bredow, thanks! input/OK reyk@
2014-04-15Init outargs only once, and fix a bad bzero().Sylvestre Gallon
Spotted by jsg@, ok jsg@
2014-03-24Warn the user if there is a missing mountpoint parameter.Sylvestre Gallon
ok ajacoutot@, tedu@, pelikan@
2014-02-05Allow libfuse to compile with WARNINGS=yes. No functional change.Sylvestre Gallon
ok tedu@
2014-02-05check return values in libfuse.Sylvestre Gallon
inputs from stsp@. ok stsp@.
2014-01-29Add fuse support for IO_APPEND.Sylvestre Gallon
ok beck@
2014-01-23Fix .readdir() code following what is done in .getdir().Sylvestre Gallon
Issue reported by Helg Bredow and Derrik Pates, thanks ! ok pelikan@
2014-01-21Mark fuse_opt_parse()'s third argument as a point to const, to match theJeremie Courreges-Anglas
reference FUSE implementation. ok syl@
2014-01-20Include fuse_opt.h in fuse.h.Sylvestre Gallon
Reported by Helg Bredow (xx404 AT msn DOT com), thanks ! ok millert@
2014-01-20hook mknod() if create() implementation is not present.Sylvestre Gallon
from Derrik Pates (daemon AT now DOT ai), thanks! ok guenther@
2014-01-16Add support for mknod in fuse.Sylvestre Gallon
OK tedu@ "it looks good to me" from guenther@
2014-01-02Call fuse callbacks on FBT_INIT and FBT_DESTROY.Sylvestre Gallon
Issue reported by Helg Bredow, thanks! With inputs from tedu@ ok tedu@
2013-12-20Add support for truncate in fuse.Sylvestre Gallon
Input from millert@. Ok millert@, tedu@.
2013-12-17define FUSE_{MAJOR,MINOR}_VERSION which many fuse helpers assume is defined.Jasper Lievisse Adriaanse
ok syl@
2013-12-10Remove an attempt to free a non-heap object.Sylvestre Gallon
from David Hill thanks. ok stsp@.
2013-12-09Fix issues with dirent returning junk due to removal of bzero in version 1.14.Bob Beck
Ensure d_name string is nul terminated and the correct length in d_namlen. noticed by pelikan@ ok syl@ guenther@
2013-12-03Does not append a NUL character to buf in readlink(2).Sylvestre Gallon
Add some check for malloc(3) return values. From Derrik Pates (daemon AT now DOT ai), thanks. OK millert@
2013-12-03Add support for FBT_RECLAIM that allow us to free the representationSylvestre Gallon
of vnode in userspace. "I think it's right" from tedu@.
2013-11-21Fix a big memory leak in libfuse.Sylvestre Gallon
Spotted by sthen@ With some input from stsp@ and tested by mpk@ and sthen@ ok sthen@, stsp@
2013-11-13Document the negative errno quirk used by callbacks in struct fuse_operations.Stefan Sperling
ok syl
2013-11-11In fuse_loop(), use ssize_t to store return values from read(2) and write(2).Stefan Sperling
ok syl@
2013-11-09Simplify fuse_unmount(). No functional change.Stefan Sperling
ok jung@
2013-11-09Properly check realpath() return value during argv processing in libfuse.Stefan Sperling
tweak & ok syl@
2013-11-07add fuse_invalidate() and fuse_setup() functions.Sylvestre Gallon
ok tedu@
2013-11-06Handle fuse client private data. Needed by encfs.Sylvestre Gallon
Bump shlib_version. ok stsp@.
2013-11-04fuse_opt_insert_arg() can take empty string as argument.Sylvestre Gallon
unbreak ntfs-3g. ok pirofti@
2013-11-02Update the fuse_opt to have option like -h working.Sylvestre Gallon
ok ajacoutot@
2013-11-01Add missing bitfields needed by gvfs.Sylvestre Gallon
Bump pkg_config version to 2.8.0 ok ajacoutot@
2013-10-081) our dirent entries are now 8 byte aligned.Philip Guenther
2) d_type isn't the file's st_mode, but rather a type that can be derived from the file's mode. 3) the readdir callback should be setting d_off. Assume for now that fuse-based filesystems can operate with length based offsets 4) if the file type is unknown, use DT_UNKNOWN explictly instead of assuming that's equal to zero ok syl@
2013-10-07Fix some different signedness error. this commit make clang happier.Sylvestre Gallon
Thanks to Pedro Martelletto.