From 1d134a0ccf8fe95ceb1ea3cdd723cb30c5cfcdf1 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Sat, 4 Jan 2025 23:18:14 +0100 Subject: 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 --- lib/fuse_versionscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/fuse_versionscript') 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; -- cgit v1.2.3