summaryrefslogtreecommitdiff
path: root/lib/libfuse
AgeCommit message (Collapse)Author
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.
2013-10-07Remove an unused variable and a useless bzeroSylvestre Gallon
2013-10-07Refactor fb_len and fb_err handling in libfuse.Sylvestre Gallon
2013-10-07Remove useless debug code from libfuseSylvestre Gallon
2013-10-07Adapt libfuse to FUSE kernel changesSylvestre Gallon
2013-09-21Fix an ino_t inconsistency in libfuse. This commit unbreakSylvestre Gallon
the build for libfuse. ok guenther@
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@