Parcourir la source

bits/syscall.h: add epoll_pwait2 from linux v5.11

see

  linux commit b0a0c2615f6f199a656ed8549d7dce625d77aa77
  epoll: wire up syscall epoll_pwait2

  linux commit 58169a52ebc9a733aeb5bea857bc5daa71a301bb
  epoll: add syscall epoll_pwait2

epoll_wait with struct timespec timeout instead of int. no time32 variant.
Szabolcs Nagy il y a 4 ans
Parent
commit
b21f3ded78

+ 1 - 0
arch/aarch64/bits/syscall.h.in

@@ -294,4 +294,5 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441
 

+ 1 - 0
arch/arm/bits/syscall.h.in

@@ -394,6 +394,7 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441
 
 #define __ARM_NR_breakpoint	0x0f0001
 #define __ARM_NR_cacheflush	0x0f0002

+ 1 - 0
arch/i386/bits/syscall.h.in

@@ -431,4 +431,5 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441
 

+ 1 - 0
arch/m68k/bits/syscall.h.in

@@ -411,3 +411,4 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441

+ 1 - 0
arch/microblaze/bits/syscall.h.in

@@ -432,4 +432,5 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441
 

+ 1 - 0
arch/mips/bits/syscall.h.in

@@ -413,4 +413,5 @@
 #define __NR_pidfd_getfd	4438
 #define __NR_faccessat2		4439
 #define __NR_process_madvise	4440
+#define __NR_epoll_pwait2	4441
 

+ 1 - 0
arch/mips64/bits/syscall.h.in

@@ -343,4 +343,5 @@
 #define __NR_pidfd_getfd	5438
 #define __NR_faccessat2		5439
 #define __NR_process_madvise	5440
+#define __NR_epoll_pwait2	5441
 

+ 1 - 0
arch/mipsn32/bits/syscall.h.in

@@ -367,4 +367,5 @@
 #define __NR_pidfd_getfd	6438
 #define __NR_faccessat2		6439
 #define __NR_process_madvise	6440
+#define __NR_epoll_pwait2	6441
 

+ 1 - 0
arch/or1k/bits/syscall.h.in

@@ -316,4 +316,5 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441
 

+ 1 - 0
arch/powerpc/bits/syscall.h.in

@@ -420,4 +420,5 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441
 

+ 1 - 0
arch/powerpc64/bits/syscall.h.in

@@ -392,4 +392,5 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441
 

+ 1 - 0
arch/riscv64/bits/syscall.h.in

@@ -294,6 +294,7 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441
 
 #define __NR_sysriscv __NR_arch_specific_syscall
 #define __NR_riscv_flush_icache (__NR_sysriscv + 15)

+ 1 - 0
arch/s390x/bits/syscall.h.in

@@ -357,4 +357,5 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441
 

+ 1 - 0
arch/sh/bits/syscall.h.in

@@ -404,4 +404,5 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441
 

+ 1 - 0
arch/x32/bits/syscall.h.in

@@ -303,6 +303,7 @@
 #define __NR_pidfd_getfd	(0x40000000 + 438)
 #define __NR_faccessat2		(0x40000000 + 439)
 #define __NR_process_madvise	(0x40000000 + 440)
+#define __NR_epoll_pwait2	(0x40000000 + 441)
 
 
 #define __NR_rt_sigaction (0x40000000 + 512)

+ 1 - 0
arch/x86_64/bits/syscall.h.in

@@ -350,4 +350,5 @@
 #define __NR_pidfd_getfd	438
 #define __NR_faccessat2		439
 #define __NR_process_madvise	440
+#define __NR_epoll_pwait2	441