From a0468e3361fd35f2d271db4c7e27ff79498ecc80 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Fri, 18 Dec 2015 20:47:02 -0800 Subject: [PATCH] common_time_server.cpp: more O_CLOEXEC Change-Id: I2185a462d72e11f5a015c525d2d37c52ecc3e430 --- libs/common_time/common_time_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common_time/common_time_server.cpp b/libs/common_time/common_time_server.cpp index 01372e00cab8a..f72ffaa637120 100644 --- a/libs/common_time/common_time_server.cpp +++ b/libs/common_time/common_time_server.cpp @@ -143,7 +143,7 @@ CommonTimeServer::CommonTimeServer() // Create the eventfd we will use to signal our thread to wake up when // needed. - mWakeupThreadFD = eventfd(0, EFD_NONBLOCK); + mWakeupThreadFD = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC); // seed the random number generator (used to generated timeline IDs) srand48(static_cast(systemTime()));