Implement syscall return for kernel-mode processes
Closed this issue · 0 comments
michalusio commented
Currently the syscall is returning using the sysretq
instruction, which is fine and all, but if we want to support kernel processes (for drivers etc.) we need to use iretq
instead, because sysretq
changes the privilege mode to Ring3.