Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2018-10-10 | passthrough_ll: add some of the missing operations | Miklos Szeredi | -1/+324 | |
New operations added: - mkdir - mknod - symlink - link - unlink - rmdir - rename - setattr - fsyncdir - flush - fsync - statfs - fallocate Caveats: - The utimes(2) family of syscalls will fail on symlinks on 4.18 and earlier kernels. Hoping to add support to later kernels. - The link(2) and linkat(2) system calls will fail on symlinks unless running with privileges (CAP_DAC_READ_SEARCH). Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> | ||||
2018-10-10 | passthrough_ll: add is_symlink to lo_inode | Miklos Szeredi | -0/+3 | |
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> | ||||
2018-10-10 | passthrough_ll: set umask at startup | Miklos Szeredi | -0/+3 | |
Like all the other passthrough examples. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> | ||||
2018-10-10 | passthrough_ll: fix refcount for "." and ".." entries | Miklos Szeredi | -7/+19 | |
Kernel is not expecting an elevated lookup count for the "." and ".." entries when doing READDIRPLUS. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> | ||||
2018-10-10 | passthrough_ll: add locking to inode cache | Miklos Szeredi | -26/+51 | |
Otherwise it may crash when running multithreaded. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> | ||||
2018-08-25 | Make meson build scripts subprojects friendly | Martin Blanchard | -5/+2 | |
Multiple meson build scripts improvements including: * Bump meson requirement to 0.40.1 (0.40 already required) * Declare a dependency object for main library * Stop using add_global_arguments() * Various minor style fixes | ||||
2018-07-23 | example/{hello,null}: Fix memory leaks | Rostislav Skudnov | -1/+8 | |
2018-04-13 | Invert calloc(3) argument order (`nmemb` comes first) | Tomohiro Kusumi | -1/+1 | |
No functional difference expected, but should still follow the standard. http://pubs.opengroup.org/onlinepubs/009695399/functions/calloc.html | ||||
2018-03-28 | Fix build error on DragonFlyBSD (sync with other *BSD) (#240) | Tomohiro Kusumi | -1/+1 | |
DragonFlyBSD has no "bsd" in uname, so add 'dragonfly' to conditionals. -- e.g. uname(1) in DragonFlyBSD [root@ ~]# uname DragonFly [root@ ~]# python -c "import sys; print(sys.platform)" dragonfly5 | ||||
2018-01-15 | Fix typo in "passthrough" docstring (#229) | Mateusz Urbańczyk | -1/+1 | |
2017-11-27 | Spelling (#223) | Josh Soref | -1/+1 | |
Fix spelling errors | ||||
2017-09-25 | Removed unneccessary #include <config.h> from examples | Nikolaus Rath | -28/+0 | |
Fixes: #208. | ||||
2017-08-25 | example/ioctl: build on FreeBSD, but add protocol check instead. | Nikolaus Rath | -5/+5 | |
2017-08-25 | examples/{ioctl,null}: don't build under FreeBSD instead of skipping tests. | Nikolaus Rath | -6/+8 | |
2017-08-24 | printcap: use temporary directory, not file | Nikolaus Rath | -6/+3 | |
Mounting a file doesn't seem to work under FreeBSD. | ||||
2017-08-24 | passthrough_ll: only active EXPORT_SUPPORT of supported by kernel. | Nikolaus Rath | -1/+3 | |
2017-08-24 | Dropped support for building with autotools | Nikolaus Rath | -21/+0 | |
It's just too much pain to keep it working. | ||||
2017-08-24 | Renamed notify_inval_inode_fh to invalidate_path | Nikolaus Rath | -4/+4 | |
The previous name didn't make much sense. | ||||
2017-08-24 | Allow inode cache invalidation in high-level API | Sławek Rudnicki | -2/+296 | |
We re-introduce the functionality of invalidating the caches for an inode specified by path by adding a new routine fuse_invalidate_path. This is useful for network-based file systems which use the high-level API, enabling them to notify the kernel about external changes. This is a revival of Miklos Szeredi's original code for the fuse_invalidate routine. | ||||
2017-08-23 | Added examples/printcap | Nikolaus Rath | -2/+132 | |
2017-08-22 | Make passthrough_fh work under FreeBSD. | Nikolaus Rath | -0/+13 | |
2017-08-22 | Fix two compiler warnings. | Nikolaus Rath | -1/+1 | |
2017-08-11 | Don't build passthrough_ll under BSD. | Nikolaus Rath | -2/+7 | |
2017-08-06 | Added writeback cache to passthrough_ll | Nikolaus Rath | -2/+46 | |
This fixes issue #191 (where the test was done by simply adding FUSE_CAP_WRITEBACK_CACHE without adjusting the flags in the open() call). Fixes: #191. | ||||
2017-08-06 | Removed compat stuff in passthrough_ll | Nikolaus Rath | -42/+0 | |
As the comment says, this made it compile but not work. If there is a need, we can add these checks to meson.build to only build this file if the prerequisites are satisfied. | ||||
2017-08-04 | passthrough_ll: added more debugging output | Nikolaus Rath | -1/+20 | |
2017-08-03 | Fix compilation on 32bit systems | Nikolaus Rath | -6/+6 | |
Fixes: #185. | ||||
2017-08-01 | Fix compiler warnings of gcc-5.4.x | Banglang | -2/+2 | |
Signed-off-by: Banglang <banglang.huang@foxmail.com> | ||||
2017-07-08 | Added public fuse_lib_help(), bumped minor version | Nikolaus Rath | -12/+12 | |
2017-06-05 | examples/passthrough_ll: added support for create() | Nikolaus Rath | -1/+23 | |
2017-06-05 | example/passthrough_ll: added write support | Nikolaus Rath | -1/+21 | |
2017-05-31 | notify_store_retrieve(): fix race on unmount | Nikolaus Rath | -4/+11 | |
update_fs_loop() is still running when the filesystem unmounts, but it that case calls to fuse_lowlevel_notify_* will fail. Fixes: #105. | ||||
2017-05-31 | example/notify_store_retrieve: add debugging code for issue #105. | Nikolaus Rath | -2/+10 | |
2017-05-31 | Revert "example/passthrough.c: add debugging code for issue #157." | Nikolaus Rath | -9/+2 | |
This reverts commit 179fa13b40387645e722089873079488f9dbe3d8. | ||||
2017-05-25 | passthrough_ll: document that fuse_ino_t and uintptr_t sizes must match | Nikolaus Rath | -0/+13 | |
We can consider changing the code to drop the requirement if it turns out that there's a system where this isn't given. Fixes issue #167. | ||||
2017-05-25 | example/passthrough.c: add debugging code for issue #157. | Nikolaus Rath | -2/+9 | |
2017-04-07 | passthrough: implemented create() | Nikolaus Rath | -0/+14 | |
This allows calls like open(file, O_CREAT|O_RDONLY, 0200) which would otherwise fail because we cannot open the file after mknod() has created it with 0200 permissions. | ||||
2017-04-07 | example/passthrough: use fi->fh for read, write, fallocate | Nikolaus Rath | -7/+21 | |
No reason not to use it. May even be a little faster and will consume less resources :-). | ||||
2017-04-07 | passthrough:truncate(): work on file descriptor when possible | Nikolaus Rath | -2/+4 | |
This allows truncating an open file even if write permission was removed after open() (which is the expected behavior). | ||||
2017-04-07 | example/passthrough: close open files in release() | Nikolaus Rath | -5/+2 | |
That way we can use the file descriptor for other operations. | ||||
2017-04-07 | passthrough, passthrough_fh: disable attribute caching | Nikolaus Rath | -0/+24 | |
Required for better hardlink handling, see comments in patch. | ||||
2017-04-07 | passthrough_ll: document that functionality is restricted | Nikolaus Rath | -1/+5 | |
2017-03-28 | hello.c: don't use constant instead of magic number | guraga | -1/+1 | |
2017-03-15 | passthrough_fh: declare support for . and .. lookups. | Nikolaus Rath | -0/+8 | |
2017-01-12 | Added experimental support for building with Meson+Ninja | Nikolaus Rath | -0/+31 | |
2017-01-12 | Replaced evil pointer magic with offsetof() | Nikolaus Rath | -2/+2 | |
This triggered undefined behaviour warnings from UBSan. | ||||
2017-01-11 | Return with exitcode 0 if there are no errors. | Nikolaus Rath | -0/+1 | |
2016-12-23 | Added documentation and test case for null example | Nikolaus Rath | -5/+8 | |
2016-12-23 | Fixed use of uninitialized memory. | Nikolaus Rath | -0/+1 | |
2016-12-23 | Revert "Dropped example/null.c" | Csaba Henk | -1/+139 | |
This reverts commit d5cdbb94a0650b0a462682cf0a84463ff1513900. null works completely fine, just the mountpoint should be a regular file -- so there is no need to dismiss it. Also: - fixing up compiler warnings - checking if the mountpoint is a regular file |