mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-11 15:40:51 +00:00
Use different approach in shm::unmap_critical (Linux)
For now, set protection to PROT_NONE. Attempt to address #9609
This commit is contained in:
parent
b5837d1271
commit
4ed76a15ff
@ -461,7 +461,7 @@ namespace utils
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
::mmap(reinterpret_cast<void*>(target), m_size, PROT_NONE, MAP_FIXED | MAP_ANON | MAP_PRIVATE | c_map_noreserve, -1, 0);
|
ensure(::mprotect(target, m_size, PROT_NONE) != -1);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user