git: 7a865d886114 - stable/13 - linux(4): Change epoll_pwait2 syscall definition to match Linux actual one.

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Fri, 17 Jun 2022 19:39:27 UTC
The branch stable/13 has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=7a865d886114a8a882eb075baf8bd9b6bbd4f4f3

commit 7a865d886114a8a882eb075baf8bd9b6bbd4f4f3
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-04-26 16:35:57 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-06-17 19:34:05 +0000

    linux(4): Change epoll_pwait2 syscall definition to match Linux actual one.
    
    MFC after:      2 weeks
    
    (cherry picked from commit 81b0b7dc0c624c2e086943822beda0b08a12e252)
---
 sys/amd64/linux/syscalls.master   | 9 ++++++++-
 sys/amd64/linux32/syscalls.master | 9 ++++++++-
 sys/arm64/linux/syscalls.master   | 9 ++++++++-
 sys/i386/linux/syscalls.master    | 9 ++++++++-
 4 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/sys/amd64/linux/syscalls.master b/sys/amd64/linux/syscalls.master
index a6b8f262e02a..2c61a29a2a4e 100644
--- a/sys/amd64/linux/syscalls.master
+++ b/sys/amd64/linux/syscalls.master
@@ -2113,7 +2113,14 @@
 		int linux_process_madvise(void);
 	}
 441    AUE_NULL		STD {
-		int linux_epoll_pwait2(void);
+		int linux_epoll_pwait2(
+		    l_int epfd,
+		    struct epoll_event *events,
+		    l_int maxevents,
+		    struct l_timespec *timeout,
+		    l_sigset_t *mask,
+		    l_size_t sigsetsize
+		);
 	}
 442    AUE_NULL		STD {
 		int linux_mount_setattr(void);
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index 4ba3a5fa67fd..6997dc9d0ae6 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -2515,7 +2515,14 @@
 		int linux_process_madvise(void);
 	}
 441    AUE_NULL		STD {
-		int linux_epoll_pwait2(void);
+		int linux_epoll_pwait2_64(
+		    l_int epfd,
+		    struct epoll_event *events,
+		    l_int maxevents,
+		    struct l_timespec64 *timeout,
+		    l_sigset_t *mask,
+		    l_size_t sigsetsize
+		);
 	}
 442    AUE_NULL		STD {
 		int linux_mount_setattr(void);
diff --git a/sys/arm64/linux/syscalls.master b/sys/arm64/linux/syscalls.master
index 09d39ba87e3b..80271533527c 100644
--- a/sys/arm64/linux/syscalls.master
+++ b/sys/arm64/linux/syscalls.master
@@ -1762,7 +1762,14 @@
 		int linux_process_madvise(void);
 	}
 441    AUE_NULL		STD {
-		int linux_epoll_pwait2(void);
+		int linux_epoll_pwait2(
+		    l_int epfd,
+		    struct epoll_event *events,
+		    l_int maxevents,
+		    struct l_timespec *timeout,
+		    l_sigset_t *mask,
+		    l_size_t sigsetsize
+		);
 	}
 442    AUE_NULL		STD {
 		int linux_mount_setattr(void);
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index bcf6ac37d6dc..f68f22dedeb3 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -2533,7 +2533,14 @@
 		int linux_process_madvise(void);
 	}
 441    AUE_NULL		STD {
-		int linux_epoll_pwait2(void);
+		int linux_epoll_pwait2_64(
+		    l_int epfd,
+		    struct epoll_event *events,
+		    l_int maxevents,
+		    struct l_timespec64 *timeout,
+		    l_sigset_t *mask,
+		    l_size_t sigsetsize
+		);
 	}
 442    AUE_NULL		STD {
 		int linux_mount_setattr(void);