This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Official Linux system wrapper library?
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Arnd Bergmann <arnd at arndb dot de>
- Cc: <carlos at redhat dot com>, Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>, Dave Martin <Dave dot Martin at arm dot com>, <dancol at google dot com>, <nd at arm dot com>, Florian Weimer <fweimer at redhat dot com>, Michael Kerrisk <mtk dot manpages at gmail dot com>, Linux Kernel Mailing List <linux-kernel at vger dot kernel dot org>, Joel Fernandes <joelaf at google dot com>, Linux API <linux-api at vger dot kernel dot org>, Willy Tarreau <w at 1wt dot eu>, Vlastimil Babka <vbabka at suse dot cz>, GNU C Library <libc-alpha at sourceware dot org>, Firoz Khan <firoz dot khan at linaro dot org>
- Date: Wed, 14 Nov 2018 18:30:27 +0000
- Subject: Re: Official Linux system wrapper library?
- References: <CAKOZuesB4R=dCz4merWQN0FSCGrXmOgUUr4ienSbStBJguNv8g@mail.gmail.com> <bbc12da5-830e-99a7-95e3-d9da42947dc9@gmail.com> <877ehjx447.fsf@oldenburg.str.redhat.com> <CAKOZues5SEESpJU=6MDTrPXTA1KTZFGNQE4Lw4t0fO-WBTU62w@mail.gmail.com> <875zx2vhpd.fsf@oldenburg.str.redhat.com> <CAKOZuetdgk1QYhx1538-98rFpogMin=8DkPnCtU9_=ip23Vk7w@mail.gmail.com> <20181113193859.GJ3505@e103592.cambridge.arm.com> <5853c297-9d84-86e5-dede-aa2957562c6b@arm.com> <fb340c72-c484-7f55-a2bd-71e072d7f1f5@redhat.com> <CAK8P3a1S65QSRruig+hg_03XbcNges1oR0YWivypvcp7r79Lew@mail.gmail.com>
On Wed, 14 Nov 2018, Arnd Bergmann wrote:
> Firoz Khan is in the process of doing part of this, by changing the
> in-kernel per-architecture unistd.h and syscall.S files into a
> architecture independent machine-readable format that is used to
> generate the existing files. The format will be similar to what
> we have on arm/s390/x86 in the syscall.tbl files already.
Will this also mean the following are unable to occur in future (both have
occurred in the past):
* A syscall added to unistd.h for an architecture, but not added to the
syscall table until sometime later?
* A syscall added to the native syscall table for some ABI (e.g. 32-bit
x86 or arm) but not added to the corresponding compat syscall table (e.g.
32-bit x86 binaries running on x86_64, 32-bit arm binaries running on
arm64) until sometime later?
Avoiding both of those complications is beneficial to libc (as is a third
thing, avoiding a syscall being added to different architectures in
different versions).
--
Joseph S. Myers
joseph@codesourcery.com