ef92ba670b
In order to detect the exit status using WSTATUSCODE ((status & 0xff00) >> 8) the exit code must be shifted by 8 to the left. Separate the kernel process exit logic from the actual system call.