aboutsummaryrefslogtreecommitdiff
path: root/lib/meson.build
AgeCommit message (Collapse)Author
2019-12-31Make ioctl prototype conditional on FUSE_USE_VERSION. (#482)Bill Zissimopoulos
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-09-04Introduce callback for loggingStefan Hajnoczi
Introduce an API for custom log handler functions. This allows libfuse applications to send messages to syslog(3) or other logging systems. See include/fuse_log.h for details. Convert libfuse from fprintf(stderr, ...) to log_fuse(level, ...). Most messages are error messages with FUSE_LOG_ERR log level. There are also some debug messages which now use the FUSE_LOG_DEBUG log level. Note that lib/mount_util.c is used by both libfuse and fusermount3. Since fusermount3 does not link against libfuse, we cannot call fuse_log() from lib/mount_util.c. This file will continue to use fprintf(stderr, ...) until someone figures out how to split it up. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2019-03-04Link against libiconv when possible (#372)HazelFZ
2018-11-19examples: add copy_file_range() support to passthrough(_fh)Niels de Vos
The passthrough example filesystem can be used for validating the API and the implementation in the FUSE kernel module.
2018-11-11Fix build on non-LinuxRoman Bogorodskiy
* Update meson.build to add mount_util.c to libfuse_sources unconditionally, it's non Linux-only * FreeBSD, like NetBSD, doesn't have mntent.h, so don't include that and define IGNORE_MTAB for both * FreeBSD, like NetBSD, has no umount2() sysctl, so similarly define it to unmount()
2018-10-09Add unprivileged option in `mount.fuse3`Mattias Nissler
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-08-25Make meson build scripts subprojects friendlyMartin Blanchard
Multiple meson build scripts improvements including: * Bump meson requirement to 0.40.1 (0.40 already required) * Declare a dependency object for main library * Stop using add_global_arguments() * Various minor style fixes
2017-09-25Link with -lrt to support ancient libcNikolaus Rath
Fixes: #207.
2017-09-19Correctly define fusermount3 path.Nikolaus Rath
2017-08-24Add idle_threads mount option.Joseph Dodge
2017-08-22Allow building without iconv.Nikolaus Rath
cfg.has('HAVE_ICONV') was always true.
2017-07-08Added public fuse_lib_help(), bumped minor versionNikolaus Rath
2017-07-07Don't use emacs' python-mode for meson filesNikolaus Rath
There is a proper meson-mode now.
2017-05-24lib/meson.build: don't crash if there's no libdlNikolaus Rath
For example, FreeBSD doesn't have it. Fixes: #173.
2017-01-12Added experimental support for building with Meson+NinjaNikolaus Rath