[LTP] [PATCH v2 1/1] lap/syscalls: Update syscall numbers

Viresh Kumar viresh.kumar@linaro.org
Thu Feb 27 04:25:24 CET 2020


On 27-02-20, 00:26, Petr Vorel wrote:
> From: Viresh Kumar <viresh.kumar@linaro.org>
> 
> to sync with the kernel v5.6-rc3.

This doesn't look right, you missed some text here ?

> As this was performed in some sort of automated way, few extra changes
> may be noticed while converting from kernel files to LTP, like a
> different format of defining syscalls or removal of obsolete syscalls.
> 
> The diff generated against sh.in file is enormous and looks like someone
> did a mistake while adding the syscall numbers there as they look to be
> mostly incorrect from 220 to 393. They are fixed as a consequence of
> this exercise.
> 
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> [ pvorel: various fixes for 32bit syscalls in 64bit arch and vice versa ]

Sorry about making these mistakes :(

> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> Changes v1->v2:
> * remove wrong umount in ia64
> * fixed typo sched_rr_get_interval_ti (=> sched_rr_get_interval_time64)
> * various fixes for 32bit syscalls in 64bit arch and vice versa
> 
> TODO: not sure about spu and nospu ABI in powerpc (whether they go to
> 32 bit or 64 bit or is ignored)
> 
> === DIFF from v1 ===
> diff --git include/lapi/syscalls/s390.in include/lapi/syscalls/s390.in
>  pkey_free 386
> -semtimedop 392

Why is this removed ?

> diff --git include/lapi/syscalls/s390x.in include/lapi/syscalls/s390x.in
> index dfb7ee811..88cc9b86b 100644
> --- include/lapi/syscalls/s390x.in
> +++ include/lapi/syscalls/s390x.in
> @@ -10,17 +10,12 @@ link 9
>  unlink 10
>  execve 11
>  chdir 12
> -time 13

And the ones like these..

Because they are only for 32 bit arch and not 64 ?

> diff --git include/lapi/syscalls/sparc.in include/lapi/syscalls/sparc.in
> -sched_rr_get_interval_ti423
> +sched_rr_get_interval_time64 423

Really bad that I made these mistakes with my vim tricks.

-- 
viresh


More information about the ltp mailing list