Bug 219913 - [macOS] Add required mach syscall
Summary: [macOS] Add required mach syscall
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-15 12:11 PST by Per Arne Vollan
Modified: 2020-12-15 14:58 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.38 KB, patch)
2020-12-15 12:13 PST, Per Arne Vollan
no flags Details | Formatted Diff | Diff
Patch for landing (2.17 KB, patch)
2020-12-15 14:00 PST, Brent Fulgham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 2020-12-15 12:11:01 PST
Add required mach syscall on macOS.
Comment 1 Per Arne Vollan 2020-12-15 12:11:25 PST
<rdar://problem/72347689>
Comment 2 Per Arne Vollan 2020-12-15 12:13:03 PST
Created attachment 416275 [details]
Patch
Comment 3 Brent Fulgham 2020-12-15 13:50:06 PST
Comment on attachment 416275 [details]
Patch

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

Looks good -- but we need it for both patforms!

> Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:1310
> +        (machtrap-number MSC_mach_msg_overwrite_trap)

We need this on macOS, too. Beth's macOS error is the same issue.
Comment 4 Brent Fulgham 2020-12-15 14:00:17 PST
Created attachment 416291 [details]
Patch for landing
Comment 5 EWS 2020-12-15 14:58:41 PST
Committed r270867: <https://trac.webkit.org/changeset/270867>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 416291 [details].