maintainer-approval requested: [Bug 271081] www/firefox: crashes on arm64 with ASLR enabled : [Attachment 247141] allows running with aslr and fixes jit..

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Dec 2023 15:39:27 UTC
Jesper Schmitz Mouridsen <jsm@FreeBSD.org> has asked freebsd-gecko (Nobody)
<gecko@FreeBSD.org> for maintainer-approval:
Bug 271081: www/firefox: crashes on arm64 with ASLR enabled
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081

Attachment 247141: allows running with aslr and fixes jit..
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247141&action=edit



--- Comment #15 from Jesper Schmitz Mouridsen <jsm@FreeBSD.org> ---
Created attachment 247141
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247141&action=edit
allows running with aslr and fixes jit..

The memory part MAP_FIXED is to avoid (desired != region) (do not know how that
relates to aslr but with this it runs with aslr), the jit code has to do some
cache sync in order to execute the wirte+exec pages, it was guarded out, and
the problem was masked under w^x because mprotect also does some cache
syncing.. ,thanks Kyle Evans.
Hopefully someone will pick this up for a test. Do not forget bug #275247 Only
tested on aarch64 rpi4 and rk3399.