WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
280974
[JSC] Extend FastJITPermissions scaffolding to other permissions-toggling applications
https://bugs.webkit.org/show_bug.cgi?id=280974
Summary
[JSC] Extend FastJITPermissions scaffolding to other permissions-toggling app...
Marcus Plutowski
Reported
2024-10-07 07:55:51 PDT
rdar://137426755
FastJITPermissions exposes a convenient interface for atomically write-protecting executable memory: it makes it possible to flip the permissions of JIT memory between RW and RX without any gap inbetween. Currently that is the only use for this interface, but it is easy to think of others: for example, toggling memory between RW and RO permissions. While it may use different mechanisms under the hood, unifying the abstractions would be helpful for codebase cleanliness and ease of understanding. We should investigate whether there are already opportunities present elsewhere in the code-base that could be unified with this one.
Attachments
Add attachment
proposed patch, testcase, etc.
Marcus Plutowski
Comment 1
2024-10-07 07:57:40 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/34772
EWS
Comment 2
2024-10-18 13:40:29 PDT
Committed
285429@main
(e6d10f897ce8): <
https://commits.webkit.org/285429@main
> Reviewed commits have been landed. Closing PR #34772 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug