Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.

[pull] master from libfuse:master - #64

Merged
pull[bot] merged 1 commit into
BY-SOMMER:masterfrom
libfuse:master
Jul 22, 2026
Merged

pull[bot] merged 1 commit into
BY-SOMMER:masterfrom
libfuse:master

Conversation

@pull

@pull pull Bot commented Jul 22, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

The kernel mount API syscalls (fsopen/fsconfig/fsmount/move_mount)
landed in Linux 5.2, but libc wrapper functions can lag behind - e.g.
glibc added them only in 2.36. RHEL9-family distros with an older
glibc but a new-enough kernel (Rocky, RHEL, AlmaLinux, CentOS Stream,
Oracle Linux 9 all ship glibc 2.34) fail the existing meson capability
check even though the kernel itself supports the syscalls.

Detect this with two independent meson checks: one confirms the kernel
headers declare the API, the other confirms libc provides the wrapper
functions. When the headers are present but libc isn't, mount_fsmount.c
supplies its own syscall()-based wrappers, and it defines any mount API
constants a partial uapi header omits so the build never depends on the
system header being complete. Neither check names a distro or a libc
version, so the fallback engages for any libc/distro with the same gap,
and it stays correct under cross-compilation since it is a real
compile+link probe rather than a host-OS string match.

Changes by Bernd: reworked the original Rocky-9-specific detection to
be portable - replaced the /etc/os-release distro-name match with the
two independent header and libc probes above.

Signed-off-by: kchen <kchen@ddn.com>
Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
@pull pull Bot locked and limited conversation to collaborators Jul 22, 2026
@pull pull Bot added the ⤵️ pull label Jul 22, 2026
@pull
pull Bot merged commit f175730 into BY-SOMMER:master Jul 22, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant