Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r163292 - Fix wrong mix of fcntl commands and flags
https://bugs.webkit.org/show_bug.cgi?id=127842 Reviewed by Darin Adler. We are mixing the commands to set file descriptor and file status flags in a couple of fcntl() calls. FD_CLOEXEC must be set using F_SETFD, and the access mode flags (O_RDONLY, O_WRONLY, O_RDWR) with F_SETFL. This combines patches by Guillem Jover and Sergio Correia. * Platform/IPC/unix/ConnectionUnix.cpp: (IPC::readBytesFromSocket): * Platform/unix/SharedMemoryUnix.cpp: (WebKit::SharedMemory::createHandle):
- Loading branch information
1 parent
9e4f9f5
commit aea46d5
Showing
3 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters