Commit 343416f0 authored by Arnd Bergmann's avatar Arnd Bergmann

syscalls: fix syscall macros for newfstat/newfstatat

The __NR_newfstat and __NR_newfstatat macros accidentally got renamed
in the conversion to the syscall.tbl format, dropping the 'new' portion
of the name.

In an unrelated change, the two syscalls are no longer architecture
specific but are once more defined on all 64-bit architectures, so the
'newstat' ABI keyword can be dropped from the table as a simplification.

Fixes: Fixes: 4fe53bf2 ("syscalls: add generic scripts/syscall.tbl")
Closes: https://lore.kernel.org/lkml/838053e0-b186-4e9f-9668-9a3384a71f23@app.fastmail.com/T/#tReported-by: default avatarFlorian Weimer <fweimer@redhat.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 54233a42
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
syscall_abis_32 += syscall_abis_32 +=
syscall_abis_64 += renameat newstat rlimit memfd_secret syscall_abis_64 += renameat rlimit memfd_secret
syscalltbl = arch/arm64/tools/syscall_%.tbl syscalltbl = arch/arm64/tools/syscall_%.tbl
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
syscall_abis_64 += newstat # No special ABIs on loongarch so far
syscall_abis_64 +=
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
syscall_abis_32 += riscv memfd_secret syscall_abis_32 += riscv memfd_secret
syscall_abis_64 += riscv newstat rlimit memfd_secret syscall_abis_64 += riscv rlimit memfd_secret
...@@ -98,9 +98,9 @@ ...@@ -98,9 +98,9 @@
77 common tee sys_tee 77 common tee sys_tee
78 common readlinkat sys_readlinkat 78 common readlinkat sys_readlinkat
79 stat64 fstatat64 sys_fstatat64 79 stat64 fstatat64 sys_fstatat64
79 newstat fstatat sys_newfstatat 79 64 newfstatat sys_newfstatat
80 stat64 fstat64 sys_fstat64 80 stat64 fstat64 sys_fstat64
80 newstat fstat sys_newfstat 80 64 newfstat sys_newfstat
81 common sync sys_sync 81 common sync sys_sync
82 common fsync sys_fsync 82 common fsync sys_fsync
83 common fdatasync sys_fdatasync 83 common fdatasync sys_fdatasync
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment