[klibc] Unsupported system calls
H. Peter Anvin
hpa at zytor.com
Wed Oct 16 00:44:34 PDT 2013
On 10/16/2013 12:42 AM, Anil Singhar wrote:
> Hi HPA,
> Regarding the architecture un-supported system calls, I wrapped them with
> #ifndef __NR_<foo> .. #endif /* __NR_<foo> */ switches. I have already done
> that. But you also mentioned that in SYSCALLS.def all these calls should be
> present and marked with '?'.. Is that right..? Could you please give little
> more detail about the change you want.
It's very simple: if the system call has <?> before it, it will simply
be omitted if it isn't present on a specific architecture. If it
*doesn't* have <?> in front of it, then it is an error for it to not exist.
More information about the klibc