epoll: fix compat syscall wire up of epoll_pwait2
Changes
4 files changed · +4 −4
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| arch/arm64/include/asm/unistd32.h | modified | +1 | −1 | View file |
| arch/mips/kernel/syscalls/syscall_n32.tbl | modified | +1 | −1 | View file |
| arch/s390/kernel/syscalls/syscall.tbl | modified | +1 | −1 | View file |
| arch/sparc/kernel/syscalls/syscall.tbl | modified | +1 | −1 | View file |
arch/arm64/include/asm/unistd32.h
View filediff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h
index f4bca2b..cccfbbe 100644
--- a/arch/arm64/include/asm/unistd32.h
+++ b/arch/arm64/include/asm/unistd32.h
@@ -890,7 +890,7 @@ __SYSCALL(__NR_faccessat2, sys_faccessat2)
#define __NR_process_madvise 440
__SYSCALL(__NR_process_madvise, sys_process_madvise)
#define __NR_epoll_pwait2 441
-__SYSCALL(__NR_epoll_pwait2, sys_epoll_pwait2)
+__SYSCALL(__NR_epoll_pwait2, compat_sys_epoll_pwait2)
/*
* Please add new compat syscalls above this comment and update
arch/mips/kernel/syscalls/syscall_n32.tbl
View filediff --git a/arch/mips/kernel/syscalls/syscall_n32.tbl b/arch/mips/kernel/syscalls/syscall_n32.tbl
index ad9c3dd..0f03ad2 100644
--- a/arch/mips/kernel/syscalls/syscall_n32.tbl
+++ b/arch/mips/kernel/syscalls/syscall_n32.tbl
@@ -379,4 +379,4 @@
438 n32 pidfd_getfd sys_pidfd_getfd
439 n32 faccessat2 sys_faccessat2
440 n32 process_madvise sys_process_madvise
-441 n32 epoll_pwait2 sys_epoll_pwait2
+441 n32 epoll_pwait2 compat_sys_epoll_pwait2
arch/s390/kernel/syscalls/syscall.tbl
View filediff --git a/arch/s390/kernel/syscalls/syscall.tbl b/arch/s390/kernel/syscalls/syscall.tbl
index 14f6525..d443423 100644
--- a/arch/s390/kernel/syscalls/syscall.tbl
+++ b/arch/s390/kernel/syscalls/syscall.tbl
@@ -443,4 +443,4 @@
438 common pidfd_getfd sys_pidfd_getfd sys_pidfd_getfd
439 common faccessat2 sys_faccessat2 sys_faccessat2
440 common process_madvise sys_process_madvise sys_process_madvise
-441 common epoll_pwait2 sys_epoll_pwait2 sys_epoll_pwait2
+441 common epoll_pwait2 sys_epoll_pwait2 compat_sys_epoll_pwait2
arch/sparc/kernel/syscalls/syscall.tbl
View filediff --git a/arch/sparc/kernel/syscalls/syscall.tbl b/arch/sparc/kernel/syscalls/syscall.tbl
index c7da4c3..40d8c7c 100644
--- a/arch/sparc/kernel/syscalls/syscall.tbl
+++ b/arch/sparc/kernel/syscalls/syscall.tbl
@@ -486,4 +486,4 @@
438 common pidfd_getfd sys_pidfd_getfd
439 common faccessat2 sys_faccessat2
440 common process_madvise sys_process_madvise
-441 common epoll_pwait2 sys_epoll_pwait2
+441 common epoll_pwait2 sys_epoll_pwait2 compat_sys_epoll_pwait2