WebKit Bugzilla
Attachment 341676 Details for
Bug 184485
: Add JIT entitlements to WebContent process and plugin process on macOS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-184485-20180531111318.patch (text/plain), 2.66 KB, created by
Brent Fulgham
on 2018-05-31 11:13:18 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Brent Fulgham
Created:
2018-05-31 11:13:18 PDT
Size:
2.66 KB
patch
obsolete
>Subversion Revision: 232356 >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index dc9918f689712104bfb212a1b0ee7fa115558a79..6e881d0506bfdd97da81918cb692c8783ae59a51 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,21 @@ >+2018-05-31 Brent Fulgham <bfulgham@apple.com> >+ >+ [macOS] Add JIT entitlements to WebContent process and plugin process on macOS >+ https://bugs.webkit.org/show_bug.cgi?id=184485 >+ <rdar://problem/37556535> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ This patch builds on the changes from Bug 185526 to add support for a JIT entitlement. It makes the >+ following changes: >+ >+ 1. Modifies the process-webcontent-entitlements.sh script to unconditionally add the JIT entitlement >+ to the WebContent process when performing any build of WebKit. >+ 2. Modifies the PluginService.entitlements to add the JIT entitlement. >+ >+ * Configurations/PluginService.entitlements: Updated to add the JIT entitlement. >+ * Scripts/process-webcontent-entitlements.sh: Updated to add the JIT entitlement. >+ > 2018-05-31 Antti Koivisto <antti@apple.com> > > WebKit memory management: Safari jetsams on some websites when zooming and scrolling >diff --git a/Source/WebKit/Configurations/PluginService.entitlements b/Source/WebKit/Configurations/PluginService.entitlements >index dba7af5c1ffa25cc0384354a9b4df39e0cc43402..25e58ca5e26a0354714f719efa86ac676534a39d 100644 >--- a/Source/WebKit/Configurations/PluginService.entitlements >+++ b/Source/WebKit/Configurations/PluginService.entitlements >@@ -2,6 +2,8 @@ > <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> > <plist version="1.0"> > <dict> >+ <key>com.apple.security.cs.allow-jit</key> >+ <true/> > <key>com.apple.security.print</key> > <true/> > <key>com.apple.security.files.user-selected.read-write</key> >diff --git a/Source/WebKit/Scripts/process-webcontent-entitlements.sh b/Source/WebKit/Scripts/process-webcontent-entitlements.sh >index 2930fe68c8cfd64e875b9f60903d3ad55be7899d..a38e49e8b1b870b6c3d672b5463e76a8d6d97f8a 100755 >--- a/Source/WebKit/Scripts/process-webcontent-entitlements.sh >+++ b/Source/WebKit/Scripts/process-webcontent-entitlements.sh >@@ -23,4 +23,9 @@ if [[ ${WK_PLATFORM_NAME} == "macosx" ]]; then > /usr/libexec/PlistBuddy -c "Add :com.apple.security.cs.disable-library-validation bool YES" "${PROCESSED_XCENT_FILE}"; > fi > fi >+ >+ if (( ${TARGET_MAC_OS_X_VERSION_MAJOR} >= 101400 )); then >+ echo "Adding JIT entitlement."; >+ /usr/libexec/PlistBuddy -c "Add :com.apple.security.cs.allow-jit bool YES" "${PROCESSED_XCENT_FILE}"; >+ fi > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 184485
:
337676
|
341668
|
341676
|
341682