Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
fuse
Commits
7006d535
Commit
7006d535
authored
Jun 10, 2026
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed closefrom() glibc 2.35 conflict
parent
5ea60a74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
Makefile
Makefile
+2
-1
fuse-2.9.9-fix_closefrom.patch
fuse-2.9.9-fix_closefrom.patch
+21
-0
No files found.
Makefile
View file @
7006d535
...
...
@@ -23,7 +23,8 @@ all:
2
:
tar
xf fuse-2.9.9.tar.gz
patch
-Np1
-d
fuse-2.9.9 < fuse-2.9.9-fix_types.patch
cd
fuse-2.9.9
&&
./configure
--prefix
=
/usr
--disable-static
--exec-prefix
=
/
CFLAGS
=
"-Dclosefrom=fuse_closefrom"
patch
-Np1
-d
fuse-2.9.9 < fuse-2.9.9-fix_closefrom.patch
cd
fuse-2.9.9
&&
./configure
--prefix
=
/usr
--disable-static
--exec-prefix
=
/
$(MAKE)
-C
fuse-2.9.9
$(MAKE)
-C
fuse-2.9.9
DESTDIR
=
$(CURDIR)
/fuse-2.9.9/Dest
install
install
-vm755
fuse-2.9.9/Dest/lib/libfuse.so.2.9.9 /lib
...
...
fuse-2.9.9-fix_closefrom.patch
0 → 100644
View file @
7006d535
diff -uNr fuse-2.9.9/util/ulockmgr_server.c fuse-2.9.9-fix_closefrom/util/ulockmgr_server.c
--- fuse-2.9.9/util/ulockmgr_server.c 2019-01-04 13:33:33.000000000 +0000
+++ fuse-2.9.9-fix_closefrom/util/ulockmgr_server.c 2026-06-09 09:02:55.665184323 +0000
@@ -124,7 +124,7 @@
return res;
}
-static int closefrom(int minfd)
+static int fuse_closefrom(int minfd)
{
DIR *dir = opendir("/proc/self/fd");
if (dir) {
@@ -384,7 +384,7 @@
dup2(nullfd, 1);
}
close(3);
- closefrom(5);
+ fuse_closefrom(5);
while (1) {
char c;
int sock;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment