aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_versionscript
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2025-01-04 23:18:14 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-10 16:56:45 +0100
commit1d134a0ccf8fe95ceb1ea3cdd723cb30c5cfcdf1 (patch)
tree33a262883950fab4717f531084c63a9edd235ded /lib/fuse_versionscript
parent0cab87aeff36503a74222e181d5206b2c77c9bb9 (diff)
downloadlibfuse-1d134a0ccf8fe95ceb1ea3cdd723cb30c5cfcdf1.tar.gz
Make fuse_main_real() not symboled
Addresses https://github.com/libfuse/libfuse/issues/1092 We actually don't need to make fuse_main_real() symboled, as it is not part of the official API. The inlined function now always calls into fuse_main_real_317 and the compat ABI function (which should also be available for dlopen/dlsym) is now always compiled, independent if the compiler/linker support versioned symbols. Additionally, fuse_main_real() is also declared as inlined function and a warning message is created when that function is called. Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
Diffstat (limited to 'lib/fuse_versionscript')
-rw-r--r--lib/fuse_versionscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuse_versionscript b/lib/fuse_versionscript
index f20e2b4..78df3f0 100644
--- a/lib/fuse_versionscript
+++ b/lib/fuse_versionscript
@@ -189,10 +189,10 @@ FUSE_3.12 {
FUSE_3.17 {
global:
+ fuse_main_real_317;
#if !defined(LIBFUSE_BUILT_WITH_VERSIONED_SYMBOLS)
_fuse_session_new_317;
_fuse_new_317;
- fuse_main_real_317;
#endif
fuse_passthrough_open;
fuse_passthrough_close;