diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-25 08:38:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-25 08:38:23 +0100 |
commit | d0a8583ef8638704aea83cdaa0bcdcce3656631b (patch) | |
tree | 0a2dbe1269aac5a3e2ee52cd6313853161d63c6b /CMakeLists.txt | |
parent | 8928b8b830eb596369e7a6297a299c047970b4dd (diff) | |
download | rspamd-d0a8583ef8638704aea83cdaa0bcdcce3656631b.tar.gz rspamd-d0a8583ef8638704aea83cdaa0bcdcce3656631b.zip |
[Fix] Set CLOEXEC flag on files opened
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f0dee1328..c5f874375 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1001,6 +1001,7 @@ CHECK_SYMBOL_EXISTS(SOCK_SEQPACKET "sys/types.h;sys/socket.h" HAVE_SOCK_SEQPACKE CHECK_SYMBOL_EXISTS(I_SETSIG "sys/types.h;sys/ioctl.h" HAVE_SETSIG) CHECK_SYMBOL_EXISTS(O_ASYNC "sys/types.h;sys/fcntl.h" HAVE_OASYNC) CHECK_SYMBOL_EXISTS(O_NOFOLLOW "sys/types.h;sys/fcntl.h" HAVE_ONOFOLLOW) +CHECK_SYMBOL_EXISTS(O_CLOEXEC "sys/types.h;sys/fcntl.h" HAVE_OCLOEXEC) LIST(APPEND CMAKE_REQUIRED_INCLUDES "${LIBSSL_INCLUDE}") CHECK_SYMBOL_EXISTS(SSL_set_tlsext_host_name "openssl/ssl.h" HAVE_SSL_TLSEXT_HOSTNAME) CHECK_SYMBOL_EXISTS(dirfd "sys/types.h;unistd.h;dirent.h" HAVE_DIRFD) |