11 Commits

Author SHA1 Message Date
Darrick J. Wong 5d8b9a39a1 mount_service: add systemd socket service mounting helper
Create a mount helper program that can start a fuse server that runs as
a socket-based systemd service, and a new libfuse module to wrap all the
details of communicating between the mount helper and the containerized
fuse server.

This enables untrusted ext4 mounts via systemd service containers, which
avoids the problem of malicious filesystems compromising the integrity
of the running kernel through memory corruption.

In theory this could also be supported via inetd and clones, though the
author hasn't found one that supports AF_UNIX sockets.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
2026-05-02 17:52:38 +02:00
Bernd Schubert dde540e413 fuse: Add ring creation
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
2025-04-28 19:57:39 +02:00
Joanne Koong ead0a13d57 meson: add option for enabling usdt
Default is having usdt disabled.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
2025-04-04 23:26:18 +02:00
Bernd Schubert 3736e0c85f convert __APPLE__ and __ULIBC__ to HAVE_LIBC_VERSIONED_SYMBOLS
In fact only gnu-libc fully supports symbol versioning, so it is
better to have a generic macro for it. This also allows to manually
disable symbol version and allows to run tests with that
configuration on gnu-libc. That testing will still not catch compat
issues, but least ensures the code can compile.

Testing for __APPLE__ and __ULIBC__ is now done by meson. More of such
checks can be added by people using other libcs.
2023-01-04 15:27:21 +00:00
Fina Wilke 059045807d Add option to specify init script location
Also allows to disable the installation if desired
2022-09-08 10:50:53 +01:00
asafkahlon c7a8b42f31 Add an option to disable building tests (#533)
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
2021-06-09 09:07:25 +01:00
DrDaveD be8db96603 Add build option to skip steps requiring root permissions 2019-07-04 09:02:30 +01:00
Martin Blanchard 4a6a5daec0 Add build options for utils and examples
Allow skipping utils build & installation (-Dutils=false) and examples
build (-Dexamples=false). By default behaviour is unchanged (both are
true: utils and examples get build).
2018-09-28 14:48:33 +01:00
Nikolaus Rath d709f31923 Do not hardcode /etc/fuse.conf path. 2018-08-31 13:46:13 +02:00
Joerg Thalheim 2a3929bbe0 make udevrulesdir configurable
on nixos we install fuse in its own hierarchy independent from systemd.
2017-10-20 08:42:30 +01:00
Nikolaus Rath 9f96db7125 Added experimental support for building with Meson+Ninja 2017-01-12 15:19:04 -08:00