diff options
author | Bernd Schubert <bschubert@ddn.com> | 2025-02-23 00:17:39 +0100 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-03-18 17:34:19 +0100 |
commit | b9fc5a0ff8905a27e48cdac1ae26a8964fe87727 (patch) | |
tree | 5fea9879283e5b6a97e24c037c847955637b9150 /meson.build | |
parent | 1b86fe4c4de96daa4e766425193595f1c6b88a73 (diff) | |
download | libfuse-b9fc5a0ff8905a27e48cdac1ae26a8964fe87727.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.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 0487639..cbcd70d 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)) |