Title: [164285] releases/WebKitGTK/webkit-2.2/Source/WebKit2
Revision
164285
Author
[email protected]
Date
2014-02-18 04:05:35 -0800 (Tue, 18 Feb 2014)

Log Message

Merge r163875 - O_CLOEXEC in shm_open does not work on FreeBSD
https://bugs.webkit.org/show_bug.cgi?id=128572

Reviewed by Darin Adler.

The O_CLOEXEC is not supported by shm_open() and is also not
necessary since FD_CLOEXEC is already set by default when the new
file descriptor is created.

* Platform/unix/SharedMemoryUnix.cpp:
(WebKit::SharedMemory::create):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.2/Source/WebKit2/ChangeLog (164284 => 164285)


--- releases/WebKitGTK/webkit-2.2/Source/WebKit2/ChangeLog	2014-02-18 12:01:12 UTC (rev 164284)
+++ releases/WebKitGTK/webkit-2.2/Source/WebKit2/ChangeLog	2014-02-18 12:05:35 UTC (rev 164285)
@@ -1,3 +1,17 @@
+2014-02-11  Alberto Garcia  <[email protected]>
+
+        O_CLOEXEC in shm_open does not work on FreeBSD
+        https://bugs.webkit.org/show_bug.cgi?id=128572
+
+        Reviewed by Darin Adler.
+
+        The O_CLOEXEC is not supported by shm_open() and is also not
+        necessary since FD_CLOEXEC is already set by default when the new
+        file descriptor is created.
+
+        * Platform/unix/SharedMemoryUnix.cpp:
+        (WebKit::SharedMemory::create):
+
 2014-02-03  Alberto Garcia  <[email protected]>
 
         Fix wrong mix of fcntl commands and flags

Modified: releases/WebKitGTK/webkit-2.2/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp (164284 => 164285)


--- releases/WebKitGTK/webkit-2.2/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp	2014-02-18 12:01:12 UTC (rev 164284)
+++ releases/WebKitGTK/webkit-2.2/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp	2014-02-18 12:05:35 UTC (rev 164285)
@@ -107,7 +107,7 @@
         tempName = name.utf8();
 
         do {
-            fileDescriptor = shm_open(tempName.data(), O_CREAT | O_CLOEXEC | O_RDWR, S_IRUSR | S_IWUSR);
+            fileDescriptor = shm_open(tempName.data(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
         } while (fileDescriptor == -1 && errno == EINTR);
     }
     if (fileDescriptor == -1) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to