OpenBSD CVS

CVS log for src/lib/libfuse/fuse_subr.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Mon May 21 11:47:46 2018 UTC (6 years ago) by helg
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, OPENBSD_6_4_BASE, OPENBSD_6_4, HEAD
Changes since 1.11: +4 -8 lines
Diff to previous 1.11 (colored)

Reformat debug output to one line per opcode to make it easier to
interpret.

ok mpi@

Revision 1.11 / (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_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.10: +40 -11 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Tue May 24 19:24:46 2016 UTC (8 years ago) by okan
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored)

Add missing strdup NULL checks; from Ray Lai.

ok mpi@ beck@ mlarkin@

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 3 19:51:16 2015 UTC (9 years ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

It is better to check the asprintf return value for -1 instead of the
input buffer for NULL.
Found by adding __attribute((__warn_unused_result__)) to asprintf.

OK deraadt@

Revision 1.8 / (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_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.7: +8 -4 lines
Diff to previous 1.7 (colored)

Add support for 255 character file names in fuse.

from Helg Bredow, thanks!
input/OK reyk@

Revision 1.7 / (download) - annotate - [select for diffs], Wed Feb 5 20:13:58 2014 UTC (10 years, 4 months ago) by syl
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

check return values in libfuse.

inputs from stsp@.
ok stsp@.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 3 09:59:40 2013 UTC (10 years, 6 months ago) by syl
Branch: MAIN
Changes since 1.5: +35 -1 lines
Diff to previous 1.5 (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.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: +3 -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], Sat Sep 21 22:21:14 2013 UTC (10 years, 8 months ago) by syl
Branch: MAIN
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

Fix an ino_t inconsistency in libfuse. This commit unbreak
the build for libfuse.

ok guenther@

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 10 00:30:43 2013 UTC (10 years, 10 months ago) by syl
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored)

Remove some useless DPRINTF.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 3 16:21:08 2013 UTC (11 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
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.