Messages in this thread | | | Date | Wed, 05 Mar 2014 16:16:35 -0800 | From | "H. Peter Anvin" <> | Subject | Re: Making a universal list of syscalls? |
| |
On 03/05/2014 04:13 PM, Andy Lutomirski wrote: > > I think that SYSCALLS.def won't work as is -- SYSCALLS.def > references unistd, which ought to be autogenerated from the syscalls > list. But a somewhat less magical variant should work. >
Well, that is because unistd.h is one of the very few things the kernel actually *does* export (containing system call numbers, and *usually* is enough to detect presence/absence of a certain system call, which is actually all you need in the vast majority of cases.)
-hpa
| |