Re-enable the PoisonIOInterposer on Mac Nightly
Categories
(Core :: Security: Process Sandboxing, task, P2)
Tracking
()
People
(Reporter: haik, Assigned: haik)
References
Details
Attachments
(1 file)
Once bug 1474451 rides the trains to Release, re-enable the PoisonIOInterposer on Mac Nightly so that browser/base/content/test/performance/browser_startup_mainthreadio.js can continue to be used.
We should consider using DYLD_INSERT_LIBRARIES instead on Mac so that we don't need to add back com.apple.security.cs.allow-unsigned-executable-memory to Nightly.
| Assignee | ||
Comment 1•2 years ago
|
||
Adds an interposing lib that intercepts variants of write, pwrite, aio_write calls so that the Mac PoisonIOInterposer can be used during tests without the use of the Mac entitlement com.apple.security.cs.allow-unsigned-executable-memory and mach_override_ptr.
The patches enable the interposer for the test browser_startup_content_mainthreadio.js when run as follows.
$ ./mach package
$ ./mach test --appname=dist browser/base/content/test/performance/browser_startup_content_mainthreadio.js
More work is needed to enable the interposer for browser_startup_content_mainthreadio.js.
Description
•