[PATCH v6 14/19] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it
arnd at arndb.de
Tue Dec 1 02:26:14 PST 2015
On Tuesday 01 December 2015 03:40:09 Yury Norov wrote:
> On Mon, Nov 30, 2015 at 10:49:43PM +0100, Arnd Bergmann wrote:
> > Could we try to get consensus on how the syscall ABI should look
> > before you start adapting glibc to another intermediate version?
> > I think that would also save you duplicate work, as it's always
> > possible that we misunderstand each other in the review. Also,
> > when someone asks you questions during a review, please reply to
> > those questions so we can get a common understanding of the facts
> > and document that in the mail archives.
> > Arnd
> This is full syscall table for ILP32, how it looks right now.
> I collected all comments here and do rework according it.
> Any comments?
It might be easier to start the other way round: rather than
annotating the things that might be wrong, remove all the overrides
and add back only the 64-bit syscalls that we want instead of the
32-bit variants when you find that they are absolutely needed.
>  = compat_sys_io_setup,
>  = sys_io_destroy,
>  = compat_sys_io_submit,
>  = sys_io_cancel,
>  = sys_io_getevents, wrong timespec_t and aio_context_t here
>  = sys_setxattr,
>  = sys_lsetxattr,
>  = sys_fsetxattr,
>  = sys_getxattr,
>  = sys_lgetxattr,
>  = sys_fgetxattr,
>  = sys_listxattr,
>  = sys_llistxattr,
>  = sys_flistxattr,
>  = sys_removexattr,
>  = sys_lremovexattr,
>  = sys_fremovexattr,
>  = sys_getcwd,
>  = sys_lookup_dcookie,
>  = sys_eventfd2,
>  = sys_epoll_create1,
>  = sys_epoll_ctl,
>  = sys_epoll_pwait, way round: takes sigset_t check BE
>  = sys_dup,
>  = sys_dup3,
>  = compat_sys_fcntl, uses compat_off_t, not compat_loff_t
>  = sys_inotify_init1,
>  = sys_inotify_add_watch,
I was looking for your latest arch/arm64/kernel/sys_ilp32.c version. I'm
not that interested in the ones that are just using the normal compat API,
just the ones that you still think we have to override, and why that
override is required.
More information about the linux-arm-kernel