[PATCH] <bits/syscall.h>: Use an arch-independent system call list on Linux
Florian Weimer
fweimer@redhat.com
Fri Aug 25 14:30:00 GMT 2017
On 08/24/2017 10:28 PM, Joseph Myers wrote:
> I don't see it as a user-visible bug - I see it as a deliberate change of
> the SYS_* API from "what's in the kernel headers with which glibc was
> built" to "what syscalls the glibc source tree knows about that are also
> in the kernel headers with which glibc is used".
I came up with a way to test this by channeling the glibc syscall list
version though bits/syscall.h. I also had to tweak the patch to
generate bits/syscall.h early because some tests now need the list
(because they are built externally).
>> If we don't want that, I need to resurrect the old magic list
>> generation and use its results to augment the built-in list. The test
>> can remain as-is, but it will no longer fail.
>
> I think a key benefit of the patch is that it gets rid of that magic list
> generation.
Right, I was delighted when I realized this.
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syscall-list.patch
Type: text/x-patch
Size: 22340 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170825/96391497/attachment.bin>
More information about the Libc-alpha
mailing list