From 89318bbeb4076d8d9de9831d69621fc1411760d3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 6 May 2009 03:41:50 +0200 Subject: cloexec: set all sockets that are created with SOCK_CLOEXEC Since all socket users enable FD_CLOEXEC anyway we can just do that in _dbus_open_socket() and be done with it for all cases. By side effect this allows us to use SOCK_CLOEXEC and hence close the CLOEXEC race. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 7e0c7d5a..b087b003 100644 --- a/configure.in +++ b/configure.in @@ -816,7 +816,7 @@ fi AC_CHECK_FUNCS(getpeerucred getpeereid) -AC_CHECK_FUNCS(pipe2) +AC_CHECK_FUNCS(pipe2 accept4) #### Abstract sockets -- cgit