Bug 131542

Summary: [UNIX] Add support for creating read only shared memory
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal Keywords: Gtk
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Carlos Garcia Campos 2014-04-11 08:57:22 PDT
In SharedMemory::createHandle() we can receive ReadOnly as protection parameter. We are creating the shared memory as read-write by default, and when creating a handle we duplicate the file descriptor that inherits the flags.