Bug 192929 - [GTK][WPE] Grant the sandbox read access to XDG_DATA_HOME/prgname
Summary: [GTK][WPE] Grant the sandbox read access to XDG_DATA_HOME/prgname
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-20 06:48 PST by Patrick Griffis
Modified: 2018-12-20 08:18 PST (History)
7 users (show)

See Also:


Attachments
Patch (3.54 KB, patch)
2018-12-20 06:50 PST, Patrick Griffis
no flags Details | Formatted Diff | Diff
Patch (3.55 KB, patch)
2018-12-20 07:24 PST, Patrick Griffis
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Griffis 2018-12-20 06:48:20 PST
[GTK][WPE] Grant the sandbox read access to XDG_DATA_HOME/prgname
Comment 1 Patrick Griffis 2018-12-20 06:50:06 PST
Created attachment 357809 [details]
Patch
Comment 2 Build Bot 2018-12-20 06:52:52 PST
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 3 Michael Catanzaro 2018-12-20 06:53:50 PST
Comment on attachment 357809 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=357809&action=review

> Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp:1162
> + * The WebProcess is granted read-only access to the subdirectory matching g_get_prgname()

The web process
Comment 4 Patrick Griffis 2018-12-20 07:24:03 PST
Created attachment 357810 [details]
Patch
Comment 5 WebKit Commit Bot 2018-12-20 08:18:35 PST
Comment on attachment 357810 [details]
Patch

Clearing flags on attachment: 357810

Committed r239440: <https://trac.webkit.org/changeset/239440>
Comment 6 WebKit Commit Bot 2018-12-20 08:18:37 PST
All reviewed patches have been landed.  Closing bug.