Include a wrapper for systemcall_no_intercept
In some architectures (i.e., Power9) the error code can only be obtained immediately after a syscall. The error code is stored in the Condition Register, and this will be changed on some operations (comparisons).
This is a bug on those architectures, but it does not shown in the other ones.
However, it hides a bug on some calls. systemcall_nointercept does not set the error codes accordingly (in any architecture), however it works. It would be better to issue system_error_code and return result = -errorcode;
Edited by Ramon Nou