summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-22 04:45:46 +0200
committerLennart Poettering <lennart@poettering.net>2009-05-20 02:09:31 +0200
commit3c319c71938ab06cf6f1750750927ffb5c200de4 (patch)
tree6c0250f8a36394a68950b28673231768fd4f21ac /configure.in
parent18b08180aa5a4417fa1d6d268a1aad894e8a4549 (diff)
cloexec: make use of pipe2(O_CLOEXEC) when available
This should fix another CLOEXEC race.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 62312eb0..7e0c7d5a 100644
--- a/configure.in
+++ b/configure.in
@@ -816,6 +816,8 @@ fi
AC_CHECK_FUNCS(getpeerucred getpeereid)
+AC_CHECK_FUNCS(pipe2)
+
#### Abstract sockets
if test x$enable_abstract_sockets = xauto; then