diff --git a/arch/x86_64/syscall.c b/arch/x86_64/syscall.c index c48dcb1..62d4241 100644 --- a/arch/x86_64/syscall.c +++ b/arch/x86_64/syscall.c @@ -40,6 +40,7 @@ void arch_syscall_stub() { " push r15\n" " xor rbp, rbp\n" " mov rdi, rsp\n" // SysV ABI first argument. + " sti\n" " call syscall_dispatch\n" // Call syscall handler. " cli\n" " pop r15\n"