Bug 168942 - [Mac] Don't use undefined sandbox rule on macOS 10.11 or earlier
Summary: [Mac] Don't use undefined sandbox rule on macOS 10.11 or earlier
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac OS X 10.11
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-02-27 15:46 PST by Brent Fulgham
Modified: 2017-02-27 16:39 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.17 KB, patch)
2017-02-27 15:47 PST, Brent Fulgham
rniwa: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2017-02-27 15:46:05 PST
In Bug 168704 I added sandbox rules to tighten access to process information. Unfortunately, one of the rules is unavailable in macOS 10.11 or earlier.

This patch avoids using this rule in older macOS builds.
Comment 1 Brent Fulgham 2017-02-27 15:46:46 PST
<rdar://problem/30743376>
Comment 2 Brent Fulgham 2017-02-27 15:47:38 PST
Created attachment 302881 [details]
Patch
Comment 3 Brent Fulgham 2017-02-27 16:39:49 PST
Committed r213101: <http://trac.webkit.org/changeset/213101>