[Webkit-unassigned] [Bug 201793] New: [GTK][WPE] Check for a Snap sandbox a bit harder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 14 03:40:58 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=201793

            Bug ID: 201793
           Summary: [GTK][WPE] Check for a Snap sandbox a bit harder
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: bugs-noreply at webkitgtk.org

In a discussion with Patrick after bug #201486 we agreed that
it may be a good thing to check a little bit more thoroughly
whether we are running inside a Snap sandbox: instead of looking
for a “SNAP” environment variable only, we can check also for the
“SNAP_NAME” and “SNAP_REVISION” variables.

The rationale is that “SNAP” is kind of a short variable and not
completely unlikely to be set by an user without being inside a
Snap container. Checking a couple of environment variables should
be fine (it is very unlikely that they would be all set accidentally
at the same time), and we don't want anyway to make complex checks
anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190914/e23b1182/attachment-0001.html>


More information about the webkit-unassigned mailing list