aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2025-02-23 00:17:39 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-03-18 17:59:17 +0100
commitcdad7b6001036f1a33bddab59558eec099bcb278 (patch)
treeffb500d1c277df6aba7bf1e620b8457248744ed1 /meson.build
parent4b1a3a5c6f41ddb8bd3389dee63b2340202bd2bf (diff)
downloadlibfuse-cdad7b6001036f1a33bddab59558eec099bcb278.tar.gz
fusermount: prevent stdio FDs from being reused
Redirect stdin/stdout/stderr to /dev/null to prevent newly opened file descriptors from reusing these low numbers (0,1,2) and potential issues with that. Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index c747a07..1d961d0 100644
--- a/meson.build
+++ b/meson.build
@@ -72,7 +72,7 @@ private_cfg.set_quoted('PACKAGE_VERSION', meson.project_version())
# Test for presence of some functions
test_funcs = [ 'fork', 'fstatat', 'openat', 'readlinkat', 'pipe2',
'splice', 'vmsplice', 'posix_fallocate', 'fdatasync',
- 'utimensat', 'copy_file_range', 'fallocate' ]
+ 'utimensat', 'copy_file_range', 'fallocate', 'close_range' ]
foreach func : test_funcs
private_cfg.set('HAVE_' + func.to_upper(),
cc.has_function(func, prefix: include_default, args: args_default))