Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor to simplify - no functional change. | 2018-06-27 | 1 | -31/+14 | |
| | | | | ok mpi@ | ||||
* | Remove unused fbuf parameter from fuse_device_cleanup(). | 2018-06-25 | 1 | -30/+24 | |
| | | | | ok mpi@ | ||||
* | Don't timeout on fb_queue(9). The current process will block | 2018-06-21 | 1 | -10/+6 | |
| | | | | | | | | | | | | | indefinitely and cannot be interrupted or killed. This is consistent with how VFS system calls should behave. If the file system becomes unresponsive then the only sane solution is for the user to kill the file system daemon. Implementing the equivalent of nfs -osoft or -ointr to either timeout or allow the blocking FUSE operation to be interrupted can be considered in a future patch. ok mpi@ | ||||
* | Pass size argument to free(9). | 2018-05-17 | 1 | -4/+4 | |
| | | | | ok mpi@ | ||||
* | Use memset(3) instead of bzero(3) for consistency and as per POSIX | 2018-05-15 | 1 | -4/+4 | |
| | | | | recommendation. | ||||
* | Use the proper address space when using a kernel that supports | 2018-01-22 | 1 | -2/+11 | |
| | | | | | | | | | Supervisor Mode Access Prevention (SMAP) compiled with FUSE_DEBUG. While here, add some sanity check to the debug function fuse_dump_buff. Thanks to Thomas Jeunet. OK mpi@, helg@ | ||||
* | Avoid possible NULL pointer dereference on fuseioctl() | 2017-08-10 | 1 | -1/+3 | |
| | | | | | | Found by Coverity Scan (CID 1453387) OK mpi@ | ||||
* | Remove the unused olddp parameter from function dounmount(). | 2017-01-10 | 1 | -3/+3 | |
| | | | | OK mpi@ millert@ | ||||
* | Use struct stat for storing attributes in fusebufs, because using struct | 2016-08-30 | 1 | -1/+2 | |
| | | | | | | | | | 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 | ||||
* | Straightforward uiomovei -> uiomove conversion. All size arguments for | 2016-01-22 | 1 | -2/+2 | |
| | | | | | | uiomove had unsigned types already. Diff from Martin Natano. | ||||
* | fairly easy size for free() | 2015-09-02 | 1 | -2/+2 | |
| | |||||
* | Convert uiomovei() with a constant size argument to uiomove(). | 2015-02-10 | 1 | -2/+2 | |
| | |||||
* | Switch uiomovei(..., sizeof whatever, ...) to uiomove(). | 2015-02-10 | 1 | -2/+2 | |
| | |||||
* | First step towards making uiomove() take a size_t size argument: | 2015-02-10 | 1 | -4/+4 | |
| | | | | | | | - rename uiomove() to uiomovei() and update all its users. - introduce uiomove(), which is similar to uiomovei() but with a size_t. - rewrite uiomovei() as an uiomove() wrapper. ok kettenis@ | ||||
* | add a size argument to free. will be used soon, but for now default to 0. | 2014-07-12 | 1 | -4/+4 | |
| | | | | after discussions with beck deraadt kettenis. | ||||
* | Do not rely on the fact that sys/vnode.h includes all the world | 2014-03-18 | 1 | -1/+2 | |
| | | | | | | through uvm/uvm.h and add proper includes for function definitions. ok syl@ | ||||
* | Remove an infinite loop in fuse_device_cleanup(). | 2014-01-16 | 1 | -6/+25 | |
| | | | | | | Spotted by pelikan@ Some input from stsp@ OK stsp@, pelikan@ | ||||
* | Unset fuse_mnt in fusefs_unmount after vflushing and freeing fbufs in use. | 2013-12-10 | 1 | -3/+3 | |
| | | | | | | | | This way, if fuse unmounts a FS without FBT_DESTROY, the fuse_mnt pointer is already invalidated. Also, on weird unmount situations with vnodes in use, vflush() them before doing fuse_device_cleanup(). Tested with ntfs-3g, ok syl@. | ||||
* | Unmount the fuse filesystem if the communication end with | 2013-12-03 | 1 | -2/+9 | |
| | | | | | | the fuse device. ok sthen@ | ||||
* | Remove some double free on fusebuf datas. | 2013-11-28 | 1 | -1/+3 | |
| | | | | Found the hard way and ok mpk@ | ||||
* | use printf(9) consistently in FUSE | 2013-10-07 | 1 | -3/+3 | |
| | |||||
* | Introduce fb_delete() helper and use it in FUSE code. | 2013-10-07 | 1 | -5/+4 | |
| | |||||
* | Add new ioctl for handling FUSE buffers | 2013-10-07 | 1 | -2/+106 | |
| | |||||
* | Rework fuseread() and fusewrite(). | 2013-10-07 | 1 | -86/+55 | |
| | |||||
* | Remove debug printfs. | 2013-08-10 | 1 | -7/+3 | |
| | |||||
* | Fix a panic on multiple fuse device access. | 2013-07-11 | 1 | -3/+8 | |
| | | | | ok tedu@ | ||||
* | Make fuse device clonable. | 2013-06-21 | 1 | -120/+114 | |
| | | | | ok tedu@ | ||||
* | remove extra whitespace | 2013-06-12 | 1 | -5/+3 | |
| | |||||
* | add a bunch of files for ISC-licensed FUSE support. ok beck deraadt | 2013-06-03 | 1 | -0/+512 | |
from Sylvestre Gallon ccna.syl gmail.com. Many thanks to Sylvestre for all the hard work. |