Changeset 259753 in webkit
- Timestamp:
- Apr 8, 2020, 1:15:58 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/sandbox/mac/sandbox-mach-lookup-expected.txt (modified) (1 diff)
-
LayoutTests/fast/sandbox/mac/sandbox-mach-lookup.html (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm (modified) (1 diff)
-
Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r259749 r259753 1 2020-04-08 Per Arne Vollan <pvollan@apple.com> 2 3 [macOS] Crash under WebKit::SandboxExtension::consume 4 https://bugs.webkit.org/show_bug.cgi?id=210188 5 6 Reviewed by Geoffrey Garen. 7 8 * fast/sandbox/mac/sandbox-mach-lookup-expected.txt: 9 * fast/sandbox/mac/sandbox-mach-lookup.html: 10 1 11 2020-04-08 Jacob Uphoff <jacob_uphoff@apple.com> 2 12 -
trunk/LayoutTests/fast/sandbox/mac/sandbox-mach-lookup-expected.txt
r259366 r259753 9 9 PASS internals.hasSandboxMachLookupAccessToGlobalName("com.apple.WebKit.WebContent", "com.apple.nesessionmanager.content-filter") is false 10 10 PASS internals.hasSandboxMachLookupAccessToGlobalName("com.apple.WebKit.WebContent", "com.apple.system.logger") is false 11 PASS internals.hasSandboxMachLookupAccessToGlobalName("com.apple.WebKit.WebContent", "com.apple.lsd.mapdb") is false12 11 -
trunk/LayoutTests/fast/sandbox/mac/sandbox-mach-lookup.html
r259366 r259753 12 12 shouldBeFalse("internals.hasSandboxMachLookupAccessToGlobalName(\"com.apple.WebKit.WebContent\", \"com.apple.nesessionmanager.content-filter\")"); 13 13 shouldBeFalse("internals.hasSandboxMachLookupAccessToGlobalName(\"com.apple.WebKit.WebContent\", \"com.apple.system.logger\")"); 14 shouldBeFalse("internals.hasSandboxMachLookupAccessToGlobalName(\"com.apple.WebKit.WebContent\", \"com.apple.lsd.mapdb\")");15 14 } 16 15 </script> -
trunk/Source/WebKit/ChangeLog
r259752 r259753 1 2020-04-08 Per Arne Vollan <pvollan@apple.com> 2 3 [macOS] Crash under WebKit::SandboxExtension::consume 4 https://bugs.webkit.org/show_bug.cgi?id=210188 5 6 Reviewed by Geoffrey Garen. 7 8 When issuing a mach lookup extension to the database mapping service in the UI process fails, the WebContent 9 process will crash when trying to consume the extension. 10 11 No new tests, since I am not able to reproduce the issue. 12 13 * UIProcess/Cocoa/WebProcessPoolCocoa.mm: 14 (WebKit::WebProcessPool::platformInitializeWebProcess): 15 * WebProcess/com.apple.WebProcess.sb.in: 16 1 17 2020-04-08 Rob Buis <rbuis@igalia.com> 2 18 -
trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
r259700 r259753 412 412 413 413 SandboxExtension::Handle mapDBHandle; 414 SandboxExtension::createHandleForMachLookup("com.apple.lsd.mapdb", WTF::nullopt, mapDBHandle, SandboxExtension::Flags::NoReport);415 parameters.mapDBExtensionHandle = WTFMove(mapDBHandle);414 if (SandboxExtension::createHandleForMachLookup("com.apple.lsd.mapdb", WTF::nullopt, mapDBHandle, SandboxExtension::Flags::NoReport)) 415 parameters.mapDBExtensionHandle = WTFMove(mapDBHandle); 416 416 #endif 417 417 -
trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
r259573 r259753 688 688 ) 689 689 690 (deny mach-lookup691 690 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101600 692 (with telemetry-backtrace) 691 (deny mach-lookup (with telemetry-backtrace) 692 #else 693 (allow mach-lookup 693 694 #endif 694 695 (global-name "com.apple.lsd.mapdb")
Note:
See TracChangeset
for help on using the changeset viewer.