diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-08-01 14:27:23 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-08-02 15:20:47 +0200 |
commit | 343416f0c11c42bed07f6db03ca599f4f1771b17 (patch) | |
tree | 1b965cd0e81a94e3eebbfe2c434816ea50e340cc /scripts/syscall.tbl | |
parent | 54233a4254036efca91b9bffbd398ecf39e90555 (diff) |
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: 4fe53bf2ba0a ("syscalls: add generic scripts/syscall.tbl")
Closes: https://lore.kernel.org/lkml/838053e0-b186-4e9f-9668-9a3384a71f23@app.fastmail.com/T/#t
Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/syscall.tbl')
-rw-r--r-- | scripts/syscall.tbl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/syscall.tbl b/scripts/syscall.tbl index 797e20ea99a2..4586a18dfe9b 100644 --- a/scripts/syscall.tbl +++ b/scripts/syscall.tbl @@ -98,9 +98,9 @@ 77 common tee sys_tee 78 common readlinkat sys_readlinkat 79 stat64 fstatat64 sys_fstatat64 -79 newstat fstatat sys_newfstatat +79 64 newfstatat sys_newfstatat 80 stat64 fstat64 sys_fstat64 -80 newstat fstat sys_newfstat +80 64 newfstat sys_newfstat 81 common sync sys_sync 82 common fsync sys_fsync 83 common fdatasync sys_fdatasync |