Bug 131542 - [UNIX] Add support for creating read only shared memory
Summary: [UNIX] Add support for creating read only shared memory
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2014-04-11 08:57 PDT by Carlos Garcia Campos
Modified: 2014-04-11 08:57 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.