mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-08-03 15:46:08 -04:00
Fix(iOS): fix another jdk17 patch
This commit is contained in:
parent
feee67fe84
commit
655141c7ae
@ -502,7 +502,7 @@ index 243c12ce3..879f28df3 100644
|
||||
+ int prot = exec&&os::Bsd::isRWXJITAvailable() ? PROT_READ|PROT_WRITE|PROT_EXEC : PROT_READ|PROT_WRITE;
|
||||
#if defined(__OpenBSD__)
|
||||
// XXX: Work-around mmap/MAP_FIXED bug temporarily on OpenBSD
|
||||
Events::log(NULL, "Protecting memory [" INTPTR_FORMAT "," INTPTR_FORMAT "] with protection modes %x", p2i(addr), p2i(addr+size), prot);
|
||||
Events::log_memprotect(NULL, "Protecting memory [" INTPTR_FORMAT "," INTPTR_FORMAT "] with protection modes %x", p2i(addr), p2i(addr+size), prot);
|
||||
@@ -1720,7 +1740,7 @@ bool os::remove_stack_guard_pages(char* addr, size_t size) {
|
||||
static char* anon_mmap(char* requested_addr, size_t bytes, bool exec) {
|
||||
// MAP_FIXED is intentionally left out, to leave existing mappings intact.
|
||||
|
Loading…
x
Reference in New Issue
Block a user