Open Bug 1887689 Opened 2 years ago Updated 4 months ago

Re-enable the PoisonIOInterposer on Mac Nightly

Categories

(Core :: Security: Process Sandboxing, task, P2)

task

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.

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.

See Also: → 1707855
No longer blocks: 1980740
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: