aboutsummaryrefslogtreecommitdiffstats
path: root/util/meson.build
AgeCommit message (Collapse)AuthorLines
2024-10-11Add libfuse util strtol wrapperJoanne Koong-1/+1
Add a wrapper around strtol for more rigorous error checking and convert uses of atoi and strtol to use this instead.
2024-06-01Fix compatibility issue around fuse_custom_io->clone_fd (#953)legezywzh-1/+1
Fixes: 73cd124d0408 ("Add clone_fd to custom IO (#927)") Signed-off-by: Xiaoguang Wang <lege.wang@jaguarmicro.com>
2023-06-08util/meson.build: don't install udev.rules if udevdir cannot be determined ↵wdlkmpx-2/+8
(#801) make the udev dependency optional just show a big warning if `udevrulesdir` is empty
2023-04-07Fix deprecated udev.get_pkgconfig_variable in mesonMatthias Goergens-1/+1
And slightly bump minimum meson version.
2022-09-08Add option to specify init script locationFina Wilke-3/+2
Also allows to disable the installation if desired
2022-09-04API update for fuse_loop_config additionsBernd Schubert-1/+1
struct fuse_loop_config was passed as a plain struct, without any version identifer. This had two implications 1) Any addition of new parameters required a FUSE_SYMVER for fuse_session_loop_mt() and fuse_loop_mt() as otherwise a read beyond end-of previous struct size might have happened. 2) Filesystems also might have been recompiled and the developer might not have noticed the struct extensions and unexpected for the developer (or people recomliling the code) uninitialized parameters would have been passed. Code is updated to have struct fuse_loop_config as an opaque/private data type for file systems that want version 312 (FUSE_MAKE_VERSION(3, 12)). The deprecated fuse_loop_config_v1 is visible, but should not be used outside of internal conversion functions File systems that want version >= 32 < 312 get the previous struct (through ifdefs) and the #define of fuse_loop_mt and fuse_session_loop_mt ensures that these recompiled file systems call into the previous API, which then converts the struct. This is similar to existing compiled applications when just libfuse updated, but binaries it is solved with the FUSE_SYMVER ABI compact declarations. Signed-off-by: Bernd Schubert <bschubert@ddn.com>
2022-07-02Revert "Increase meson min version and avoid get_pkgconfig_variable warning ↵Nikolaus Rath-1/+1
(#682)" This reverts commit 8db2ba06fef10f38f90b0f3213dd39ec07678e2f. This Meson version is not yet generally available, so we do not want to depend on it..
2022-06-20Increase meson min version and avoid get_pkgconfig_variable warning (#682)Bernd Schubert-1/+1
meson was complaining: Build targets in project: 27 NOTICE: Future-deprecated features used: * 0.56.0: {'Dependency.get_pkgconfig_variable'} So change to .get_variable(pkgconfig : 'type' and also increase the meson minimal version to be able to handle it. Co-authored-by: Bernd Schubert <bschubert@ddn.com>
2019-12-31Make ioctl prototype conditional on FUSE_USE_VERSION. (#482)Bill Zissimopoulos-1/+1
Define FUSE_USE_VERSION < 35 to get old ioctl prototype with int commands; define FUSE_USE_VERSION >= 35 to get new ioctl prototype with unsigned int commands. Fixes #463.
2019-07-04Add build option to skip steps requiring root permissionsDrDaveD-1/+2
2018-11-19examples: add copy_file_range() support to passthrough(_fh)Niels de Vos-1/+1
The passthrough example filesystem can be used for validating the API and the implementation in the FUSE kernel module.
2018-10-09Add unprivileged option in `mount.fuse3`Mattias Nissler-2/+4
The unprivileged option allows to run the FUSE file system process without privileges by dropping capabilities and preventing them from being re-acquired via setuid / fscaps etc. To accomplish this, mount.fuse sets up the `/dev/fuse` file descriptor and mount itself and passes the file descriptor via the `/dev/fd/%u` mountpoint syntax to the FUSE file system.
2018-09-17Don't special-case bulid of mount_util.c.Nikolaus Rath-11/+1
We already support out of source builds without this.
2018-08-31Do not hardcode /etc/fuse.conf path.Nikolaus Rath-3/+8
2017-10-20make udevrulesdir configurableJoerg Thalheim-2/+6
on nixos we install fuse in its own hierarchy independent from systemd.
2017-08-02Ask pkgconfig where we should install udev rulesHeiko Becker-1/+4
2017-07-07Don't use emacs' python-mode for meson filesNikolaus Rath-3/+0
There is a proper meson-mode now.
2017-01-12Added experimental support for building with Meson+NinjaNikolaus Rath-0/+27