OpenBSD CVS

CVS log for src/lib/libfuse/fuse_private.h


[BACK] Up to [local] / src / lib / libfuse

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Fri Nov 16 02:16:17 2018 UTC (5 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, HEAD
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)

Handle signals that get sent to any thread
from Rian Hunter

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 19 13:01:34 2018 UTC (5 years, 11 months ago) by helg
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Changes the default mount behaviour so only the user that mounts the
file system can access it unless the allow_other mount options is
specified. The allow_other mount option makes the file system
available to other users just like any other mounted file system.

ok mpi@

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 7 22:28:11 2018 UTC (6 years ago) by helg
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Prevent ggc3 error: redefinition of `fuse_dirh_t'

OK millert@

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 22 12:52:14 2018 UTC (6 years ago) by helg
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Implement support for libfuse use_ino option. This returns the file
system's ino for VOP_GETATTR(9) and VOP_READDIR(9) rather than the
internally generated fuse ino.

ok mpi@

Revision 1.18 / (download) - annotate - [select for diffs], Wed May 16 13:09:17 2018 UTC (6 years ago) by helg
Branch: MAIN
Changes since 1.17: +12 -3 lines
Diff to previous 1.17 (colored)

libfuse should not maintain state for FBT_READDIR. If a directory is
opened multiple times (either from the same process or different
processes) then FUSE will not reliably return the directory entries to
both file descriptors.

ok mpi@

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 18 11:41:41 2017 UTC (6 years, 5 months ago) by helg
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.16: +11 -2 lines
Diff to previous 1.16 (colored)

Refactor libfuse option processing to better support options in the
future. Immediate benefits are that gid, uid and umask are now
supported and max_read is now honoured for all file systems. Mounting
read_only is now possible but requires more thorough testing.

ok mpi@

Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 15 16:40:33 2017 UTC (6 years, 5 months ago) by jca
Branch: MAIN
Changes since 1.15: +21 -1 lines
Diff to previous 1.15 (colored)

Export only symbols to what's declared in fuse.h/fuse_opt.h

While here, use guenther's magic recipe to avoid the PLT when calling
exported symbols from within the library.

ok kettenis@ for v1, ok guenther@ helg@

Revision 1.15 / (download) - annotate - [select for diffs], Sun Nov 26 15:17:17 2017 UTC (6 years, 6 months ago) by helg
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Add support for -f option to libfuse. This keeps the FUSE file system
running in the foreground.

ok mpi@

Revision 1.14 / (download) - annotate - [select for diffs], Wed Sep 7 17:53:35 2016 UTC (7 years, 9 months ago) by natano
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.13: +5 -2 lines
Diff to previous 1.13 (colored)

Fix fuse node lookups. Currently fusefs nodes in the kernel remember the
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

Revision 1.13 / (download) - annotate - [select for diffs], Tue Aug 30 16:45:54 2016 UTC (7 years, 9 months ago) by natano
Branch: MAIN
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored)

Use struct stat for storing attributes in fusebufs, because using struct
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

Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 27 01:57:27 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Pull in <sys/time.h> for struct timespec

ok deraadt@

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 16 16:48:51 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Move to the <limits.h> universe.
review by millert, binary checking process with doug, concept with guenther

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 28 13:08:34 2014 UTC (10 years, 1 month ago) by syl
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Add support for 255 character file names in fuse.

from Helg Bredow, thanks!
input/OK reyk@

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 3 09:59:40 2013 UTC (10 years, 6 months ago) by syl
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Add support for FBT_RECLAIM that allow us to free the representation
of vnode in userspace.

"I think it's right" from tedu@.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 6 19:53:20 2013 UTC (10 years, 7 months ago) by syl
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Handle fuse client private data. Needed by encfs.
Bump shlib_version.

ok stsp@.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Nov 2 09:00:49 2013 UTC (10 years, 7 months ago) by syl
Branch: MAIN
Changes since 1.6: +5 -1 lines
Diff to previous 1.6 (colored)

Update the fuse_opt to have option like -h working.

ok ajacoutot@

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 1 18:16:22 2013 UTC (10 years, 7 months ago) by syl
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Add missing bitfields needed by gvfs.
Bump pkg_config version to 2.8.0

ok ajacoutot@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 7 18:41:01 2013 UTC (10 years, 8 months ago) by syl
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Fix some different signedness error. this commit make clang happier.

Thanks to Pedro Martelletto.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 14 20:49:06 2013 UTC (10 years, 11 months ago) by syl
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Add support for fuse_get_context(3) needed by ntfs-3g.

OK pirofti@ and beck@ "assuming I am getting to setting
the initial pid/gid/uid values correctly soon".

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 12 22:36:06 2013 UTC (11 years ago) by tedu
Branch: MAIN
Changes since 1.2: +2 -7 lines
Diff to previous 1.2 (colored)

fuse_opt support from Sylvestre

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 3 16:21:08 2013 UTC (11 years ago) by tedu
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

rcsids

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 3 16:00:50 2013 UTC (11 years ago) by tedu
Branch: MAIN

add userland fuse library. ok beck deraadt
from Sylvestre Gallon ccna.syl gmail.com

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.