All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] libfuse: Avoid mount API code dup between mount-service and libfuse
@ 2026-09-30 13:44 ` Bernd Schubert via B4 Relay
  0 siblings, 0 replies; 14+ messages in thread
From: Bernd Schubert @ 2026-09-30 13:44 UTC (permalink / raw)
  To: Darrick J. Wong; +Cc: neal, fuse-devel, Bernd Schubert

fuse service mount was written in parallel to libfuse additions of
the new mount API. Service mounts support the new mount API as well,
which results in code dup. In the mean time libfuse also supports
the new mount API through syscalls without glibc wrappers, as some
distros have a sufficiently recent kernel, but a too old glibc.
Those wrappers were mssing for service mounts so far.
Easiest fix is to avoid the code and to redirect service mounts
to what libfuse already has.

To: Darrick J. Wong <djwong@kernel.org>
Cc: neal@gompa.dev
Cc: fuse-devel@lists.linux.dev

Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
---
Bernd Schubert (4):
      mount_fsmount: split superblock creation and move_mount into a helper
      mount_service: mount via the shared fsmount helper
      mount_util: share the mtab flag-option builder
      mount/fuse_service: share the service socket helpers

 include/fuse_service_priv.h |  59 ++++++++++++++++++++++++
 lib/fuse_service.c          |  72 ++++++-----------------------
 lib/mount.c                 |  21 +--------
 lib/mount_fsmount.c         |  98 ++++++++++++++++++++++------------------
 lib/mount_i_linux.h         |  18 ++++++++
 lib/mount_util.c            |  33 ++++++++++++++
 lib/mount_util.h            |  20 ++++++++
 util/fusermount.c           |  33 ++------------
 util/mount_service.c        | 108 +++++++++-----------------------------------
 9 files changed, 223 insertions(+), 239 deletions(-)
---
base-commit: 5f8a64b0835620ab88afd8a59a713d5b6a9e99f4
change-id: 20260930-mount-service-use-mount-fsmount-bd6ea048a3da

Best regards,
--  
Bernd Schubert <bernd@bsbernd.com>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-09-30 15:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-30 13:44 [PATCH 0/4] libfuse: Avoid mount API code dup between mount-service and libfuse Bernd Schubert
2026-09-30 13:44 ` Bernd Schubert via B4 Relay
2026-09-30 13:44 ` [PATCH 1/4] mount_fsmount: split superblock creation and move_mount into a helper Bernd Schubert
2026-09-30 13:44   ` Bernd Schubert via B4 Relay
2026-09-30 15:13   ` Darrick J. Wong
2026-09-30 13:44 ` [PATCH 2/4] mount_service: mount via the shared fsmount helper Bernd Schubert
2026-09-30 13:44   ` Bernd Schubert via B4 Relay
2026-09-30 15:16   ` Darrick J. Wong
2026-09-30 13:44 ` [PATCH 3/4] mount_util: share the mtab flag-option builder Bernd Schubert
2026-09-30 13:44   ` Bernd Schubert via B4 Relay
2026-09-30 15:20   ` Darrick J. Wong
2026-09-30 13:44 ` [PATCH 4/4] mount/fuse_service: share the service socket helpers Bernd Schubert
2026-09-30 13:44   ` Bernd Schubert via B4 Relay
2026-09-30 15:23   ` Darrick J. Wong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.