diff options
author | Simon McVittie <smcv@collabora.com> | 2022-03-01 19:33:06 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-04-21 11:02:14 +0100 |
commit | ee694ade6199932bc9e7ae40f7202c9426599c72 (patch) | |
tree | d25cb4df217f8c35d37859bb8855313b05f3b973 /configure.ac | |
parent | faa3b2ef4a4807c8a99f8050f733fd82db9f9ce3 (diff) | |
download | dbus-ee694ade6199932bc9e7ae40f7202c9426599c72.tar.gz |
sysdeps: Use close_range() if available
The version with no flags set, which is a slight generalization of
closefrom(), is available on recent Linux and FreeBSD.
The version with CLOSE_RANGE_CLOEXEC is Linux-specific.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index dbaf14b7..afe21813 100644 --- a/configure.ac +++ b/configure.ac @@ -382,6 +382,7 @@ AS_IF([test x$enable_code_coverage = xyes],[ AC_CHECK_FUNCS_ONCE([ accept4 clearenv +close_range closefrom fpathconf getgrouplist |