![manu](/assets/img/avatar_default.png)
original system call number, which can be negative for a Mach trap. We cannot just replace code by realcode, because ktrsyscall uses it as an index in the system call table, thus crashing the kernel when the value is negative.
original system call number, which can be negative for a Mach trap. We cannot just replace code by realcode, because ktrsyscall uses it as an index in the system call table, thus crashing the kernel when the value is negative.