]> git.proxmox.com Git - mirror_libseccomp.git/commitdiff
arch: add support for io-uring related system calls in kernel 5.1
authorStephen Coleman <omegacoleman@gmail.com>
Sat, 22 Jun 2019 07:51:39 +0000 (15:51 +0800)
committerPaul Moore <paul@paul-moore.com>
Tue, 25 Jun 2019 15:13:16 +0000 (11:13 -0400)
Signed-off-by: Stephen Coleman <omegacoleman@gmail.com>
Reviewed-by: Tom Hromatka <tom.hromatka@oracle.com>
[PM: added the "arch:" subj prefix]
Signed-off-by: Paul Moore <paul@paul-moore.com>
13 files changed:
src/arch-aarch64-syscalls.c
src/arch-arm-syscalls.c
src/arch-mips-syscalls.c
src/arch-mips64-syscalls.c
src/arch-mips64n32-syscalls.c
src/arch-parisc-syscalls.c
src/arch-ppc-syscalls.c
src/arch-ppc64-syscalls.c
src/arch-s390-syscalls.c
src/arch-s390x-syscalls.c
src/arch-x32-syscalls.c
src/arch-x86-syscalls.c
src/arch-x86_64-syscalls.c

index 351143c0f6d92befab56bb046f1eb6a5403e11cd..90de2831038675955d5dabf13bbf47705e5d6d27 100644 (file)
@@ -171,6 +171,9 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
        { "io_pgetevents", 292 },
        { "io_setup", 0 },
        { "io_submit", 2 },
+       { "io_uring_setup", 425 },
+       { "io_uring_enter", 426 },
+       { "io_uring_register", 427 },
        { "ioctl", 29 },
        { "ioperm", __PNR_ioperm },
        { "iopl", __PNR_iopl },
index f543f65e11272726c663c21dafafebc5ba021692..a0dbd603dbf87efac550a8011db2569130884ae4 100644 (file)
@@ -183,6 +183,9 @@ const struct arch_syscall_def arm_syscall_table[] = { \
        { "io_pgetevents", (__SCMP_NR_BASE + 399) },
        { "io_setup", (__SCMP_NR_BASE + 243) },
        { "io_submit", (__SCMP_NR_BASE + 246) },
+       { "io_uring_setup", (__SCMP_NR_BASE + 425) },
+       { "io_uring_enter", (__SCMP_NR_BASE + 426) },
+       { "io_uring_register", (__SCMP_NR_BASE + 427) },
        { "ioctl", (__SCMP_NR_BASE + 54) },
        { "ioperm", __PNR_ioperm },
        { "iopl", __PNR_iopl },
index 670b92ac1b44896cf7a7a1f6f347be3f2e711a40..8706ae542eb0c478965f538d9e17e3b9ba21f0f0 100644 (file)
@@ -175,6 +175,9 @@ const struct arch_syscall_def mips_syscall_table[] = { \
        { "io_pgetevents", (__SCMP_NR_BASE + 368) },
        { "io_setup", (__SCMP_NR_BASE + 241) },
        { "io_submit", (__SCMP_NR_BASE + 244) },
+       { "io_uring_setup", (__SCMP_NR_BASE + 425) },
+       { "io_uring_enter", (__SCMP_NR_BASE + 426) },
+       { "io_uring_register", (__SCMP_NR_BASE + 427) },
        { "ioctl", (__SCMP_NR_BASE + 54) },
        { "ioperm", (__SCMP_NR_BASE + 101) },
        { "iopl", (__SCMP_NR_BASE + 110) },
index 454c6815cc71892554db6269673263228098d1b5..b267072cc68516f4863118fba3e1c0c8540ff001 100644 (file)
@@ -175,6 +175,9 @@ const struct arch_syscall_def mips64_syscall_table[] = { \
        { "io_pgetevents", (__SCMP_NR_BASE + 328) },
        { "io_setup", (__SCMP_NR_BASE + 200) },
        { "io_submit", (__SCMP_NR_BASE + 203) },
+       { "io_uring_setup", (__SCMP_NR_BASE + 425) },
+       { "io_uring_enter", (__SCMP_NR_BASE + 426) },
+       { "io_uring_register", (__SCMP_NR_BASE + 427) },
        { "ioctl", (__SCMP_NR_BASE + 15) },
        { "ioperm", __PNR_ioperm },
        { "iopl", __PNR_iopl },
index f5053fc715250f3f460433905b488a0ca6bd29be..8af6b3e965ea9a4ef83f7c75f9cd247f763780fc 100644 (file)
@@ -175,6 +175,9 @@ const struct arch_syscall_def mips64n32_syscall_table[] = { \
        { "io_pgetevents", (__SCMP_NR_BASE + 332) },
        { "io_setup", (__SCMP_NR_BASE + 200) },
        { "io_submit", (__SCMP_NR_BASE + 203) },
+       { "io_uring_setup", (__SCMP_NR_BASE + 425) },
+       { "io_uring_enter", (__SCMP_NR_BASE + 426) },
+       { "io_uring_register", (__SCMP_NR_BASE + 427) },
        { "ioctl", (__SCMP_NR_BASE + 15) },
        { "ioperm", __PNR_ioperm },
        { "iopl", __PNR_iopl },
index 0c7ef427023afddd15e6ea28358aac8df52e81e5..8f19a03a7079bdee2e9112ad8920ca632e96b072 100644 (file)
@@ -155,6 +155,9 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
        { "io_pgetevents", __PNR_io_pgetevents },
        { "io_setup",   215 },
        { "io_submit",  218 },
+       { "io_uring_setup", 425 },
+       { "io_uring_enter", 426 },
+       { "io_uring_register", 427 },
        { "ioctl",      54 },
        { "ioperm",     __PNR_ioperm },
        { "iopl",       __PNR_iopl },
index 7272a63386f094c8dc42918b1f94b2880a85d082..8275b38cbf3da2f3d357377d13eb7a506a541520 100644 (file)
@@ -172,6 +172,9 @@ const struct arch_syscall_def ppc_syscall_table[] = { \
        { "io_pgetevents", 388 },
        { "io_setup", 227 },
        { "io_submit", 230 },
+       { "io_uring_setup", 425 },
+       { "io_uring_enter", 426 },
+       { "io_uring_register", 427 },
        { "ioctl", 54 },
        { "ioperm", 101 },
        { "iopl", 110 },
index c7ff0a1cb60ddcf9d9506fd4ac2010b02ebafcef..2a8f387d0e8b4fb2d9e75fa92ef6e485a3861c2c 100644 (file)
@@ -172,6 +172,9 @@ const struct arch_syscall_def ppc64_syscall_table[] = { \
        { "io_pgetevents", 388 },
        { "io_setup", 227 },
        { "io_submit", 230 },
+       { "io_uring_setup", 425 },
+       { "io_uring_enter", 426 },
+       { "io_uring_register", 427 },
        { "ioctl", 54 },
        { "ioperm", 101 },
        { "iopl", 110 },
index a1403be82354a1abff7a4999d79bf288fb1682ae..c2e34395281a7b92ca2a0f44dc1636c020b30a8d 100644 (file)
@@ -155,6 +155,9 @@ const struct arch_syscall_def s390_syscall_table[] = { \
        { "io_pgetevents", 382 },
        { "io_setup", 243 },
        { "io_submit", 246 },
+       { "io_uring_setup", 425 },
+       { "io_uring_enter", 426 },
+       { "io_uring_register", 427 },
        { "ioctl", 54 },
        { "ioperm", 101 },
        { "iopl", __PNR_iopl },
index e22ccaeb4a6dd00f9b190d942b33dde1b8263d48..e0a39f1de3f2b2585a7ce108b0363c4c687ff6ad 100644 (file)
@@ -155,6 +155,9 @@ const struct arch_syscall_def s390x_syscall_table[] = { \
        { "io_pgetevents", 382 },
        { "io_setup", 243 },
        { "io_submit", 246 },
+       { "io_uring_setup", 425 },
+       { "io_uring_enter", 426 },
+       { "io_uring_register", 427 },
        { "ioctl", 54 },
        { "ioperm", __PNR_ioperm},
        { "iopl", __PNR_iopl },
index 65f641878adef9ec3c8b37f1d4688b966559d5e3..f6b941b4ffccdefad5bdc3b2b6eb538fbaa1791a 100644 (file)
@@ -171,6 +171,9 @@ const struct arch_syscall_def x32_syscall_table[] = { \
        { "io_pgetevents", (X32_SYSCALL_BIT + 333) },
        { "io_setup", (X32_SYSCALL_BIT + 543) },
        { "io_submit", (X32_SYSCALL_BIT + 544) },
+       { "io_uring_setup", (X32_SYSCALL_BIT + 425) },
+       { "io_uring_enter", (X32_SYSCALL_BIT + 426) },
+       { "io_uring_register", (X32_SYSCALL_BIT + 427) },
        { "ioctl", (X32_SYSCALL_BIT + 514) },
        { "ioperm", (X32_SYSCALL_BIT + 173) },
        { "iopl", (X32_SYSCALL_BIT + 172) },
index 1f4573b55b5bdf9573bd46752c32b7a98361993a..5bd0ca20628a84cfbb275fb34d46e91975f62b83 100644 (file)
@@ -171,6 +171,9 @@ const struct arch_syscall_def x86_syscall_table[] = { \
        { "io_pgetevents", 385 },
        { "io_setup", 245 },
        { "io_submit", 248 },
+       { "io_uring_setup", 425 },
+       { "io_uring_enter", 426 },
+       { "io_uring_register", 427 },
        { "ioctl", 54 },
        { "ioperm", 101 },
        { "iopl", 110 },
index b07700d52c12601053a597b788ccf4aa083bee79..f7c8ce6abaa432314bdaa220e5943bf984ebae2a 100644 (file)
@@ -171,6 +171,9 @@ const struct arch_syscall_def x86_64_syscall_table[] = { \
        { "io_pgetevents", 333 },
        { "io_setup", 206 },
        { "io_submit", 209 },
+       { "io_uring_setup", 425 },
+       { "io_uring_enter", 426 },
+       { "io_uring_register", 427 },
        { "ioctl", 16 },
        { "ioperm", 173 },
        { "iopl", 172 },