mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-26 19:01:19 +01:00
Merge pull request #1030 from Sonicadvance1/disable_userfaultfd
Disable userfaultfd until supported
This commit is contained in:
commit
7ecaf24e8b
1 file changed
+3
@@ -35,6 +35,9 @@ namespace FEX::HLE {
|
||||
});
|
||||
|
||||
REGISTER_SYSCALL_IMPL(userfaultfd, [](FEXCore::Core::CpuStateFrame *Frame, int flags) -> uint64_t {
|
||||
// Disable userfaultfd until we can properly emulate it
|
||||
// This is okay because the kernel configuration allows you to disable it at compile time
|
||||
return -ENOSYS;
|
||||
uint64_t Result = ::syscall(SYS_userfaultfd, flags);
|
||||
SYSCALL_ERRNO();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user