diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-06-19 14:07:30 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-06-25 15:57:25 +0200 |
commit | bae6428a9fffb2023191b0723e276cf1377a7c9f (patch) | |
tree | 51563e1ced2dcc614d6fcef1013691fb7e5d2370 | |
parent | d3882564a77c21eb746ba5364f3fa89b88de3d61 (diff) |
sparc: fix old compat_sys_select()
sparc has two identical select syscalls at numbers 93 and 230, respectively.
During the conversion to the modern syscall.tbl format, the older one of the
two broke in compat mode, and now refers to the native 64-bit syscall.
Restore the correct behavior. This has very little effect, as glibc has
been using the newer number anyway.
Fixes: 6ff645dd683a ("sparc: add system call table generation support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/sparc/kernel/syscalls/syscall.tbl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/syscalls/syscall.tbl b/arch/sparc/kernel/syscalls/syscall.tbl index b354139b40be..5e55f73f9880 100644 --- a/arch/sparc/kernel/syscalls/syscall.tbl +++ b/arch/sparc/kernel/syscalls/syscall.tbl @@ -117,7 +117,7 @@ 90 common dup2 sys_dup2 91 32 setfsuid32 sys_setfsuid 92 common fcntl sys_fcntl compat_sys_fcntl -93 common select sys_select +93 common select sys_select compat_sys_select 94 32 setfsgid32 sys_setfsgid 95 common fsync sys_fsync 96 common setpriority sys_setpriority |