| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parent inode number for ".." lookups. This only works until the kernel
starts to reuse vnodes and the parent's vnode is reclaimed and the ino
to path mapping is removed from the userland process by libfuse. Fix
this by using reference counting in libfuse, so that parent mapping are
retained as long as a child uses them. Also, don't free the root node.
This commit resolves following issue:
$ doas fuse-zip ~/Downloads/foo.zip /mnt
$ ls /mnt
openbsd-www
$ grep -IR foo /usr/src > /dev/null # force vfs to reclaim vnodes
$ ls /mnt
ls: /mnt: No such file or directory
$
ok tedu
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
inputs from stsp@.
ok stsp@.
|
|
|
|
| |
ok beck@
|
|
|
|
|
| |
Issue reported by Helg Bredow and Derrik Pates, thanks !
ok pelikan@
|
|
|
|
|
| |
from Derrik Pates (daemon AT now DOT ai), thanks!
ok guenther@
|
|
|
|
|
| |
OK tedu@
"it looks good to me" from guenther@
|
|
|
|
|
|
|
| |
Issue reported by Helg Bredow, thanks!
With inputs from tedu@
ok tedu@
|
|
|
|
|
|
| |
Input from millert@.
Ok millert@, tedu@.
|
|
|
|
|
|
| |
Ensure d_name string is nul terminated and the correct length in d_namlen.
noticed by pelikan@
ok syl@ guenther@
|
|
|
|
|
|
|
| |
Add some check for malloc(3) return values.
From Derrik Pates (daemon AT now DOT ai), thanks.
OK millert@
|
|
|
|
|
|
| |
of vnode in userspace.
"I think it's right" from tedu@.
|
|
|
|
|
|
| |
Spotted by sthen@
With some input from stsp@ and tested by mpk@ and sthen@
ok sthen@, stsp@
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
Thanks to Pedro Martelletto.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
httpd correction and ok kettenis@
|
|
|
|
|
|
| |
Some poor fuse client does not set all the struct stat fields...
OK pirofti@ and beck@
|
| |
|
| |
|
| |
|
|
from Sylvestre Gallon ccna.syl gmail.com
|