Skip to content

Commit 450278e

Browse files
deepin-community-bot[bot]xzl01
authored andcommitted
feat: update fuse3 to 3.14.0-5
1 parent 12700df commit 450278e

File tree

691 files changed

+286381
-7399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

691 files changed

+286381
-7399
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

AUTHORS

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Alex Richman <alex@richman.io>
3030
Amir Goldstein <amir73il@gmail.com>
3131
amosonn <amosonn@gmail.com>
3232
Anatol Pomozov <anatol.pomozov@gmail.com>
33+
André Schröder <andre.schroeder@andresco.de>
3334
Andrew Gaul <andrew@gaul.org>
3435
Andrew Gaul <gaul@google.com>
3536
Angelo G. Del Regno <kholk11@gmail.com>
@@ -42,6 +43,8 @@ AsumFace <asumface@gmail.com>
4243
Banglang <banglang.huang@foxmail.com>
4344
Baptiste Daroussin <bapt@FreeBSD.org>
4445
Benjamin Barenblat <bbaren@google.com>
46+
Bernd Schubert <bernd.schubert@fastmail.fm>
47+
Bernd Schubert <bschubert@ddn.com>
4548
Bill Zissimooulos <billziss@navimatics.com>
4649
Bill Zissimopoulos <billziss@navimatics.com>
4750
bobrofon <ifbossfor@ya.ru>
@@ -52,6 +55,7 @@ Chad Austin <chad@chadaustin.me>
5255
Changli Gao <xiaosuo@gmail.com>
5356
Christian Menges <christian.menges@tum.de>
5457
Christopher Harrison <ch12@sanger.ac.uk>
58+
Ciaran <ciaran@hypokrites.me>
5559
Consus <consus@gmx.com>
5660
Craig Chi <craig08@users.noreply.github.com>
5761
Csaba Henk <csaba.henk@creo.hu>
@@ -60,8 +64,11 @@ cvs2git <>
6064
Dalvik Khertel <khertel@outlook.com>
6165
Daniel Fullmer <danielrf12@gmail.com>
6266
Daniel Thau <danthau@bedrocklinux.org>
67+
David Galeano <davidgaleano@gmail.com>
6368
David McNab <david@rebirthing.co.nz>
6469
David Sheets <sheets@alum.mit.edu>
70+
Dharmendra singh <dsingh@ddn.com>
71+
Dharmendra Singh <dsingh@ddn.com>
6572
divinity76 <divinity76@gmail.com>
6673
DrDaveD <2129743+DrDaveD@users.noreply.github.com>
6774
Dr. David Alan Gilbert <dgilbert@redhat.com>
@@ -78,14 +85,18 @@ Fedor Korotkov <fedor.korotkov@gmail.com>
7885
Feng Shuo <steve.shuo.feng@gmail.com>
7986
ferivoz <72023087+ferivoz@users.noreply.github.com>
8087
Feverfew <Feverfew@users.noreply.github.com>
88+
Fina Wilke <code@felinira.net>
8189
Florian Weimer <fw@deneb.enyo.de>
8290
Forty-Bot <Forty-Bot@users.noreply.github.com>
91+
Frank Dinoff <fdinoff@google.com>
8392
Giulio Benetti <giulio.benetti@benettiengineering.com>
8493
Giuseppe Scrivano <giuseppe@scrivano.org>
94+
Goswin von Brederlow <goswin-v-b@web.de>
8595
guraga <rulumasi@dodsi.com>
8696
HazelFZ <xfzfygz@gmail.com>
8797
Heiko Becker <heirecka@exherbo.org>
8898
Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
99+
HereThereBeDragons <HereThereBeDragons@users.noreply.github.com>
89100
Hookey <Hookey@users.noreply.github.com>
90101
human <human@neet.fi>
91102
Ikey Doherty <michael.i.doherty@intel.com>
@@ -107,15 +118,19 @@ Junichi Uekawa <dancer@debian.org>
107118
Junichi Uekawa <dancerj@gmail.com>
108119
Junichi Uekawa <dancer@netfort.gr.jp>
109120
Kangjing "Chaser" Huang <huangkangjing@gmail.com>
121+
Ken Schalk <kcs-github@xorian.net>
110122
Kevin Vigor <kvigor@fb.com>
111123
Kirill Smelkov <kirr@nexedi.com>
124+
Kyle Lippincott <spectral@google.com>
112125
Laszlo Boszormenyi (GCS) <gcs@debian.org>
113126
Laszlo Papp <ext-laszlo.papp@nokia.com>
114127
Laurent Bigonville <bigon@users.noreply.github.com>
115128
Lilo Huang <lilohuang@users.noreply.github.com>
116129
Liu Bo <liub.liubo@gmail.com>
117130
Li-Wen Hsu <lwhsu.github@lwhsu.org>
131+
lixiaokeng <63774002+lixiaokeng@users.noreply.github.com>
118132
lixiaokeng <lixiaokeng@huawei.com>
133+
Luis Henriques <luis-henrix@users.noreply.github.com>
119134
Madan Valluri <mvalluri@cumulus-systems.com>
120135
Manuel Jacob <me@manueljacob.de>
121136
Marcin Sulikowski <marcin.sulikowski@editshare.com>
@@ -125,6 +140,7 @@ Martin Pärtel <martin.partel@gmail.com>
125140
Mateusz Urbańczyk <murbanczyk@qed.ai>
126141
Mattias Nissler <mnissler@chromium.org>
127142
maxice8 <30738253+maxice8@users.noreply.github.com>
143+
Maximilian Heinzler <m.heinzler@heinzler.de>
128144
Max Krasnyansky <maxk@kernel.org>
129145
Michael Forney <mforney@mforney.org>
130146
Michael Grigoriev <mag@luminal.org>
@@ -138,13 +154,15 @@ mkmm@gmx-topmail.de <mkmm@gmx-topmail.de>
138154
Natanael Copa <ncopa@alpinelinux.org>
139155
Niels de Vos <ndevos@redhat.com>
140156
Nikolaus Rath <Nikolaus@rath.org>
157+
Nozomi Miyamori <99280467+nm004@users.noreply.github.com>
141158
Oded Arbel <oded@geek.co.il>
142159
Olivier Blin <olivier.blin@softathome.com>
143160
pablomh <pablomh@gmail.com>
144161
Peter Lemenkov <lemenkov@gmail.com>
145162
philmd <philmd@users.noreply.github.com>
146163
Przemyslaw Pawelczyk <przemoc@gmail.com>
147164
Przemysław Pawełczyk <przemoc@gmail.com>
165+
psykose <alice@ayaya.dev>
148166
Ratna_Bolla@dell.com <Ratna_Bolla@dell.com>
149167
Rethan <359062468@qq.con>
150168
Reuben Hawkins <reubenhwk@gmail.com>
@@ -176,6 +194,7 @@ Tej Chajed <tchajed@mit.edu>
176194
tenzap <46226844+tenzap@users.noreply.github.com>
177195
therealneworld@gmail.com <therealneworld@gmail.com>
178196
Tobias Nießen <tniessen@users.noreply.github.com>
197+
Tofik Sonono <tofik.sonono@intel.com>
179198
Tomasz Kulasek <34129113+tkulasek@users.noreply.github.com>
180199
Tom Callaway <spot@fedoraproject.org>
181200
Tom Callaway <spotrh@gmail.com>
@@ -186,6 +205,9 @@ Vivek Goyal <vgoyal@redhat.com>
186205
William Woodruff <william@yossarian.net>
187206
Winfried Koehler <w_scan@gmx-topmail.de>
188207
winndows <winndows@163.com>
208+
Xiubo Li <xiubli@redhat.com>
209+
y <tofik.sonono@intel.com>
189210
Yuri Per <yuri@acronis.com>
211+
Zhansong Gao <zhsgao@hotmail.com>
190212
Zhiqiang Liu <liuzhiqiang26@huawei.com>
191213
zsugabubus <zsugabubus@users.noreply.github.com>

ChangeLog.rst

Lines changed: 66 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,70 @@
1+
libfuse 3.14.0 (2023-02-17)
2+
===========================
3+
4+
* Properly fix the header installation issue. The fix in 3.13.1 resulted
5+
in conflicts with other packages.
6+
7+
* Introduce additional setattr() flags (FORCE, KILL_SUID, KILL_SGID, FILE, KILL_PRIV,
8+
OPEN, TIMES_SET)
9+
10+
11+
libfuse 3.13.1 (2023-02-03)
12+
===========================
13+
14+
* Fixed an issue that resulted in errors when attempting to compile against
15+
installed libfuse headers (because libc symbol versioning support was not
16+
detected correctly in this case).
17+
18+
libfuse 3.13.0 (2023-01-13)
19+
===========================
20+
21+
* There is a new low-level API function `fuse_session_custom_io` that allows to implement
22+
a daemon with a custom io. This can be used to create a daemon that can process incoming
23+
FUSE requests to other destinations than `/dev/fuse`.
24+
25+
* A segfault when loading custom FUSE modules has been fixed.
26+
27+
* There is a new `fuse_notify_expire_entry` function.
28+
29+
* A deadlock when resolving paths in the high-level API has been fixed.
30+
31+
* libfuse can now be build explicitly for C libraries without symbol versioning support.
32+
33+
libfuse 3.12.0 (2022-09-08)
34+
===========================
35+
36+
* There is a new build parameter to specify where the SysV init script should be
37+
installed.
38+
39+
* The *max_idle_threads* parameter has been deprecated in favor of the new max_threads*
40+
parameter (which avoids the excessive overhead of creating and destructing threads).
41+
Using max_threads == 1 and calling fuse_session_loop_mt() will run single threaded
42+
similar to fuse_session_loop().
43+
44+
The following changes apply when using the most recent API (-DFUSE_USE_VERSION=312,
45+
see `example/passthrough_hp.cc` for an example for how to usse the new API):
46+
47+
* `struct fuse_loop_config` is now private and has to be constructed using
48+
*fuse_loop_cfg_create()* and detroyed with *fuse_loop_cfg_destroy()*. Parameters can be
49+
changed using `fuse_loop_cfg_set_*()` functions.
50+
51+
* *fuse_session_loop_mt()* now accepts `struct fuse_loop_config *` as NULL pointer.
52+
53+
* *fuse_parse_cmdline()* now accepts a *max_threads* option.
54+
55+
56+
libfuse 3.11.0 (2022-05-02)
57+
===========================
58+
59+
* Add support for flag FOPEN_NOFLUSH for avoiding flush on close.
60+
* Fixed returning an error condition to ioctl(2)
61+
62+
163
libfuse 3.10.5 (2021-09-06)
264
===========================
365

466
* Various improvements to make unit tests more robust.
5-
67+
668

769
libfuse 3.10.4 (2021-06-09)
870
===========================
@@ -422,7 +484,7 @@ libfuse 3.0.0 (2016-12-08)
422484

423485
* The ``-o nopath`` option has been dropped - it never actually did
424486
anything (since it is unconditionally overwritten with the value of
425-
the `nopath` flag in `struct fuse_operations).
487+
the `nopath` flag in `struct fuse_operations`).
426488

427489
* The ``-o large_read`` mount option has been dropped. Hopefully no
428490
one uses a Linux 2.4 kernel anymore.
@@ -446,7 +508,7 @@ libfuse 3.0.0 (2016-12-08)
446508

447509
* The `fuse_session_new` function no longer accepts the ``-o
448510
clone_fd`` option. Instead, this has become a parameter of the
449-
`fuse_session_loop_mt` and ``fuse_loop_mt` functions.
511+
`fuse_session_loop_mt` and `fuse_loop_mt` functions.
450512

451513
* For low-level file systems that implement the `write_buf` handler,
452514
the `splice_read` option is now enabled by default. As usual, this
@@ -636,7 +698,7 @@ libfuse 3.0.0 (2016-12-08)
636698
* The *fuse_off_t* and *fuse_ino_t* changed from *unsigned long* to
637699
*uint64_t*, i.e. they are now 64 bits also on 32-bit systems.
638700

639-
* The type of the *generation* member of `struct fuse_entry_param*
701+
* The type of the *generation* member of `struct fuse_entry_param*`
640702
changed from *unsigned* to *uint64_t*.
641703

642704
* The (low-level) `setattr` handler gained a *FUSE_SET_ATTR_CTIME* bit

debian/changelog

Lines changed: 73 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,78 @@
1-
fuse3 (3.10.5-1) UNRELEASED; urgency=medium
1+
fuse3 (3.14.0-5) unstable; urgency=medium
22

3-
* update
3+
* Fix 99-fuse3.rules path (closes: #1060067).
4+
* Switch udev build dependency to systemd-dev (closes: #1060606).
45

5-
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Mon, 06 Jun 2022 14:49:11 +0800
6+
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Fri, 12 Jan 2024 16:46:21 +0100
7+
8+
fuse3 (3.14.0-4) unstable; urgency=medium
9+
10+
* Backport upstream fixes:
11+
- fix max_threads command line parameter propagation,
12+
- fix memory leak in high level API.
13+
14+
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Tue, 18 Apr 2023 23:07:15 +0200
15+
16+
fuse3 (3.14.0-3) unstable; urgency=medium
17+
18+
[ Helge Deller <deller@gmx.de> ]
19+
* Add the big-endian hppa platform to the disabled self-testing list
20+
(closes: #1032187).
21+
22+
[ Laszlo Boszormenyi (GCS) ]
23+
* Update fuse header name in examples.
24+
* Fix Makefile for examples (closes: #1031544).
25+
26+
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Fri, 17 Mar 2023 20:51:05 +0100
27+
28+
fuse3 (3.14.0-2) unstable; urgency=medium
29+
30+
* Revert upgrade of fuse_kernel.h for not being upstreamed yet
31+
(closes: #1031524).
32+
33+
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 18 Feb 2023 07:22:30 +0100
34+
35+
fuse3 (3.14.0-1) unstable; urgency=medium
36+
37+
* New upstream release:
38+
- fix header installation issue (closes: #1031455).
39+
40+
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Fri, 17 Feb 2023 19:50:40 +0100
41+
42+
fuse3 (3.13.1-1) unstable; urgency=medium
43+
44+
* New upstream release.
45+
46+
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Fri, 10 Feb 2023 22:04:50 +0100
47+
48+
fuse3 (3.13.0-2) unstable; urgency=medium
49+
50+
* Can't run self-testing on big-endian machines.
51+
52+
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sun, 22 Jan 2023 08:17:08 +0100
53+
54+
fuse3 (3.13.0-1) unstable; urgency=medium
55+
56+
* New upstream release.
57+
58+
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Tue, 17 Jan 2023 19:11:25 +0100
59+
60+
fuse3 (3.12.0-1) unstable; urgency=medium
61+
62+
* New upstream release.
63+
* Update library symbols for this release.
64+
* Update watch file.
65+
* Update Lintian overrides.
66+
* Update Standards-Version to 4.6.1 .
67+
68+
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 22 Oct 2022 21:28:52 +0200
69+
70+
fuse3 (3.11.0-1) unstable; urgency=medium
71+
72+
* New upstream release.
73+
* Update Standards-Version to 4.6.0.1 .
74+
75+
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 07 May 2022 16:30:30 +0200
676

777
fuse3 (3.10.5-1) unstable; urgency=medium
878

debian/control

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Priority: optional
44
Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
55
Build-Depends:
66
debhelper-compat (= 13),
7-
pkg-config,
7+
pkgconf,
88
meson,
9-
udev [linux-any],
9+
systemd-dev,
1010
python3 <!nocheck>,
1111
python3-pytest <!nocheck>
12-
Standards-Version: 4.5.1
12+
Standards-Version: 4.6.1
1313
Homepage: https://github.com/libfuse/libfuse/wiki
1414
Rules-Requires-Root: binary-targets
1515

@@ -22,8 +22,7 @@ Depends:
2222
libfuse3-3 (= ${binary:Version}),
2323
adduser,
2424
mount (>= 2.19.1),
25-
sed (>= 4),
26-
lsb-base (>= 3.2-14)
25+
sed (>= 4)
2726
Provides: fuse (= ${source:Version})
2827
Breaks: fuse
2928
Replaces: fuse

debian/copyright

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Copyright: Copyright (C) 2008-2009 SUSE Linux Products GmbH,
3131
Copyright (C) 2008-2009 Tejun Heo <tj@kernel.org>
3232

3333
Files: debian/*
34-
Copyright: 2014- Laszlo Boszormenyi (GCS) <gcs@debian.org>,
34+
Copyright: 2014- Laszlo Boszormenyi (GCS) <gcs@debian.org>,
3535
2011-2014 Daniel Baumann <mail@daniel-baumann.ch>
3636
License: GPL-2+
3737

debian/examples/Makefile

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
CFLAGS := -Wall $(shell pkg-config fuse --cflags)
2-
LDFLAGS := $(shell pkg-config fuse --libs)
1+
CFLAGS := -Wall $(shell pkg-config fuse3 --cflags)
2+
LDFLAGS := $(shell pkg-config fuse3 --libs)
33

4-
targets = fusexmp fusexmp_fh hello hello_ll null
4+
targets = cuse cuse_client hello hello_ll \
5+
invalidate_path ioctl ioctl_client \
6+
notify_inval_entry notify_inval_inode notify_store_retrieve \
7+
null passthrough passthrough_fh passthrough_ll \
8+
poll poll_client printcap
59

6-
all: $(targets)
10+
%: %.c
11+
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
712

8-
fusexmp_fh: fusexmp_fh.c
9-
$(CC) $(CFLAGS) $(LDFLAGS) -lulockmgr $< -o $@
13+
all: $(targets)
1014

1115
clean:
1216
rm -f *.o

debian/libfuse3-3.symbols

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ libfuse3.so.3 #PACKAGE# #MINVER#
66
(symver)FUSE_3.3 3.4.1
77
(symver)FUSE_3.4 3.4.1
88
(symver)FUSE_3.7 3.7.0
9+
(symver)FUSE_3.12 3.12.0
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From ab5ca07af03b7dbb33193666c13b938534bde0e4 Mon Sep 17 00:00:00 2001
2+
From: Sarath Lakshman <sarath@couchbase.com>
3+
Date: Sat, 11 Mar 2023 16:58:31 +0530
4+
Subject: [PATCH] Fix max_threads command line parameter propagation
5+
6+
The fuse_main_real() method doesn't apply the max_threads parameter
7+
parsed through the commandline arguments. This commit fixes the wiring
8+
of max_threads argument.
9+
---
10+
lib/helper.c | 1 +
11+
1 file changed, 1 insertion(+)
12+
13+
diff --git a/lib/helper.c b/lib/helper.c
14+
index 35c6a98c..14a0df33 100644
15+
--- a/lib/helper.c
16+
+++ b/lib/helper.c
17+
@@ -377,6 +377,7 @@ int fuse_main_real(int argc, char *argv[], const struct fuse_operations *op,
18+
fuse_loop_cfg_set_clone_fd(loop_config, opts.clone_fd);
19+
20+
fuse_loop_cfg_set_idle_threads(loop_config, opts.max_idle_threads);
21+
+ fuse_loop_cfg_set_max_threads(loop_config, opts.max_threads);
22+
res = fuse_loop_mt(fuse, loop_config);
23+
}
24+
if (res)

0 commit comments

Comments
 (0)