diff options
author | Simon McVittie <smcv@collabora.com> | 2022-03-02 12:25:54 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-04-21 11:02:44 +0100 |
commit | ccea70515eb4a7644c1755b0ba8fd773e9c1871f (patch) | |
tree | d6cf1f625493849c785cecc40aa6fbbb5453fbdd /configure.ac | |
parent | d3076161777f81128408bd512e3b369797dbd948 (diff) | |
download | dbus-ccea70515eb4a7644c1755b0ba8fd773e9c1871f.tar.gz |
sysdeps: On Linux, wrap close_range syscall directly if necessary
This was added to the Linux kernel in version 5.9, but the wrapper
wasn't added to glibc until 2.34. Adding our own wrapper for the
system call means we can use close_range() on Debian 11 and
contemporary distributions.
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 eed8a787..26de0a55 100644 --- a/configure.ac +++ b/configure.ac @@ -427,6 +427,7 @@ stdint.h sys/prctl.h sys/random.h sys/resource.h +sys/syscall.h sys/syslimits.h sys/time.h unistd.h |