diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-17 12:46:31 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-17 12:46:31 -0400 |
| commit | bf8a9a4755737f6630756f0d87bea9b38f0ed369 (patch) | |
| tree | 1bdeab134ab136514a2a24e6b2310a686c007800 | |
| parent | a6a4b66bd8f41922c543f7a820c66ed59c25995e (diff) | |
| parent | d8076bdb56af5e5918376cd1573a6b0007fc1a89 (diff) | |
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull more vfs mount updates from Al Viro:
"Propagation of new syscalls to other architectures + cosmetic change
from Christian (fscontext didn't follow the convention for anon inode
names)"
* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
uapi: Wire up the mount API syscalls on non-x86 arches [ver #2]
uapi, x86: Fix the syscall numbering of the mount API syscalls [ver #2]
uapi, fsopen: use square brackets around "fscontext" [ver #2]
| -rw-r--r-- | arch/alpha/kernel/syscalls/syscall.tbl | 6 | ||||
| -rw-r--r-- | arch/arm/tools/syscall.tbl | 6 | ||||
| -rw-r--r-- | arch/arm64/include/asm/unistd.h | 2 | ||||
| -rw-r--r-- | arch/arm64/include/asm/unistd32.h | 12 | ||||
| -rw-r--r-- | arch/ia64/kernel/syscalls/syscall.tbl | 6 | ||||
| -rw-r--r-- | arch/m68k/kernel/syscalls/syscall.tbl | 6 | ||||
| -rw-r--r-- | arch/microblaze/kernel/syscalls/syscall.tbl | 6 | ||||
| -rw-r--r-- | arch/mips/kernel/syscalls/syscall_n32.tbl | 6 | ||||
| -rw-r--r-- | arch/mips/kernel/syscalls/syscall_n64.tbl | 6 | ||||
| -rw-r--r-- | arch/mips/kernel/syscalls/syscall_o32.tbl | 6 | ||||
| -rw-r--r-- | arch/parisc/kernel/syscalls/syscall.tbl | 6 | ||||
| -rw-r--r-- | arch/powerpc/kernel/syscalls/syscall.tbl | 6 | ||||
| -rw-r--r-- | arch/s390/kernel/syscalls/syscall.tbl | 6 | ||||
| -rw-r--r-- | arch/sh/kernel/syscalls/syscall.tbl | 6 | ||||
| -rw-r--r-- | arch/sparc/kernel/syscalls/syscall.tbl | 6 | ||||
| -rw-r--r-- | arch/x86/entry/syscalls/syscall_32.tbl | 12 | ||||
| -rw-r--r-- | arch/x86/entry/syscalls/syscall_64.tbl | 12 | ||||
| -rw-r--r-- | arch/xtensa/kernel/syscalls/syscall.tbl | 6 | ||||
| -rw-r--r-- | fs/fsopen.c | 2 | ||||
| -rw-r--r-- | include/uapi/asm-generic/unistd.h | 14 |
20 files changed, 123 insertions, 15 deletions
diff --git a/arch/alpha/kernel/syscalls/syscall.tbl b/arch/alpha/kernel/syscalls/syscall.tbl index 165f268beafc..9e7704e44f6d 100644 --- a/arch/alpha/kernel/syscalls/syscall.tbl +++ b/arch/alpha/kernel/syscalls/syscall.tbl | |||
| @@ -467,3 +467,9 @@ | |||
| 467 | 535 common io_uring_setup sys_io_uring_setup | 467 | 535 common io_uring_setup sys_io_uring_setup |
| 468 | 536 common io_uring_enter sys_io_uring_enter | 468 | 536 common io_uring_enter sys_io_uring_enter |
| 469 | 537 common io_uring_register sys_io_uring_register | 469 | 537 common io_uring_register sys_io_uring_register |
| 470 | 538 common open_tree sys_open_tree | ||
| 471 | 539 common move_mount sys_move_mount | ||
| 472 | 540 common fsopen sys_fsopen | ||
| 473 | 541 common fsconfig sys_fsconfig | ||
| 474 | 542 common fsmount sys_fsmount | ||
| 475 | 543 common fspick sys_fspick | ||
diff --git a/arch/arm/tools/syscall.tbl b/arch/arm/tools/syscall.tbl index 0393917eaa57..aaf479a9e92d 100644 --- a/arch/arm/tools/syscall.tbl +++ b/arch/arm/tools/syscall.tbl | |||
| @@ -441,3 +441,9 @@ | |||
| 441 | 425 common io_uring_setup sys_io_uring_setup | 441 | 425 common io_uring_setup sys_io_uring_setup |
| 442 | 426 common io_uring_enter sys_io_uring_enter | 442 | 426 common io_uring_enter sys_io_uring_enter |
| 443 | 427 common io_uring_register sys_io_uring_register | 443 | 427 common io_uring_register sys_io_uring_register |
| 444 | 428 common open_tree sys_open_tree | ||
| 445 | 429 common move_mount sys_move_mount | ||
| 446 | 430 common fsopen sys_fsopen | ||
| 447 | 431 common fsconfig sys_fsconfig | ||
| 448 | 432 common fsmount sys_fsmount | ||
| 449 | 433 common fspick sys_fspick | ||
diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h index f2a83ff6b73c..70e6882853c0 100644 --- a/arch/arm64/include/asm/unistd.h +++ b/arch/arm64/include/asm/unistd.h | |||
| @@ -44,7 +44,7 @@ | |||
| 44 | #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE + 5) | 44 | #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE + 5) |
| 45 | #define __ARM_NR_COMPAT_END (__ARM_NR_COMPAT_BASE + 0x800) | 45 | #define __ARM_NR_COMPAT_END (__ARM_NR_COMPAT_BASE + 0x800) |
| 46 | 46 | ||
| 47 | #define __NR_compat_syscalls 428 | 47 | #define __NR_compat_syscalls 434 |
| 48 | #endif | 48 | #endif |
| 49 | 49 | ||
| 50 | #define __ARCH_WANT_SYS_CLONE | 50 | #define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h index 23f1a44acada..c39e90600bb3 100644 --- a/arch/arm64/include/asm/unistd32.h +++ b/arch/arm64/include/asm/unistd32.h | |||
| @@ -874,6 +874,18 @@ __SYSCALL(__NR_io_uring_setup, sys_io_uring_setup) | |||
| 874 | __SYSCALL(__NR_io_uring_enter, sys_io_uring_enter) | 874 | __SYSCALL(__NR_io_uring_enter, sys_io_uring_enter) |
| 875 | #define __NR_io_uring_register 427 | 875 | #define __NR_io_uring_register 427 |
| 876 | __SYSCALL(__NR_io_uring_register, sys_io_uring_register) | 876 | __SYSCALL(__NR_io_uring_register, sys_io_uring_register) |
| 877 | #define __NR_open_tree 428 | ||
| 878 | __SYSCALL(__NR_open_tree, sys_open_tree) | ||
| 879 | #define __NR_move_mount 429 | ||
| 880 | __SYSCALL(__NR_move_mount, sys_move_mount) | ||
| 881 | #define __NR_fsopen 430 | ||
| 882 | __SYSCALL(__NR_fsopen, sys_fsopen) | ||
| 883 | #define __NR_fsconfig 431 | ||
| 884 | __SYSCALL(__NR_fsconfig, sys_fsconfig) | ||
| 885 | #define __NR_fsmount 432 | ||
| 886 | __SYSCALL(__NR_fsmount, sys_fsmount) | ||
| 887 | #define __NR_fspick 433 | ||
| 888 | __SYSCALL(__NR_fspick, sys_fspick) | ||
| 877 | 889 | ||
| 878 | /* | 890 | /* |
| 879 | * Please add new compat syscalls above this comment and update | 891 | * Please add new compat syscalls above this comment and update |
diff --git a/arch/ia64/kernel/syscalls/syscall.tbl b/arch/ia64/kernel/syscalls/syscall.tbl index 56e3d0b685e1..e01df3f2f80d 100644 --- a/arch/ia64/kernel/syscalls/syscall.tbl +++ b/arch/ia64/kernel/syscalls/syscall.tbl | |||
| @@ -348,3 +348,9 @@ | |||
| 348 | 425 common io_uring_setup sys_io_uring_setup | 348 | 425 common io_uring_setup sys_io_uring_setup |
| 349 | 426 common io_uring_enter sys_io_uring_enter | 349 | 426 common io_uring_enter sys_io_uring_enter |
| 350 | 427 common io_uring_register sys_io_uring_register | 350 | 427 common io_uring_register sys_io_uring_register |
| 351 | 428 common open_tree sys_open_tree | ||
| 352 | 429 common move_mount sys_move_mount | ||
| 353 | 430 common fsopen sys_fsopen | ||
| 354 | 431 common fsconfig sys_fsconfig | ||
| 355 | 432 common fsmount sys_fsmount | ||
| 356 | 433 common fspick sys_fspick | ||
diff --git a/arch/m68k/kernel/syscalls/syscall.tbl b/arch/m68k/kernel/syscalls/syscall.tbl index df4ec3ec71d1..7e3d0734b2f3 100644 --- a/arch/m68k/kernel/syscalls/syscall.tbl +++ b/arch/m68k/kernel/syscalls/syscall.tbl | |||
| @@ -427,3 +427,9 @@ | |||
| 427 | 425 common io_uring_setup sys_io_uring_setup | 427 | 425 common io_uring_setup sys_io_uring_setup |
| 428 | 426 common io_uring_enter sys_io_uring_enter | 428 | 426 common io_uring_enter sys_io_uring_enter |
| 429 | 427 common io_uring_register sys_io_uring_register | 429 | 427 common io_uring_register sys_io_uring_register |
| 430 | 428 common open_tree sys_open_tree | ||
| 431 | 429 common move_mount sys_move_mount | ||
| 432 | 430 common fsopen sys_fsopen | ||
| 433 | 431 common fsconfig sys_fsconfig | ||
| 434 | 432 common fsmount sys_fsmount | ||
| 435 | 433 common fspick sys_fspick | ||
diff --git a/arch/microblaze/kernel/syscalls/syscall.tbl b/arch/microblaze/kernel/syscalls/syscall.tbl index 4964947732af..26339e417695 100644 --- a/arch/microblaze/kernel/syscalls/syscall.tbl +++ b/arch/microblaze/kernel/syscalls/syscall.tbl | |||
| @@ -433,3 +433,9 @@ | |||
| 433 | 425 common io_uring_setup sys_io_uring_setup | 433 | 425 common io_uring_setup sys_io_uring_setup |
| 434 | 426 common io_uring_enter sys_io_uring_enter | 434 | 426 common io_uring_enter sys_io_uring_enter |
| 435 | 427 common io_uring_register sys_io_uring_register | 435 | 427 common io_uring_register sys_io_uring_register |
| 436 | 428 common open_tree sys_open_tree | ||
| 437 | 429 common move_mount sys_move_mount | ||
| 438 | 430 common fsopen sys_fsopen | ||
| 439 | 431 common fsconfig sys_fsconfig | ||
| 440 | 432 common fsmount sys_fsmount | ||
| 441 | 433 common fspick sys_fspick | ||
diff --git a/arch/mips/kernel/syscalls/syscall_n32.tbl b/arch/mips/kernel/syscalls/syscall_n32.tbl index 9392dfe33f97..0e2dd68ade57 100644 --- a/arch/mips/kernel/syscalls/syscall_n32.tbl +++ b/arch/mips/kernel/syscalls/syscall_n32.tbl | |||
| @@ -366,3 +366,9 @@ | |||
| 366 | 425 n32 io_uring_setup sys_io_uring_setup | 366 | 425 n32 io_uring_setup sys_io_uring_setup |
| 367 | 426 n32 io_uring_enter sys_io_uring_enter | 367 | 426 n32 io_uring_enter sys_io_uring_enter |
| 368 | 427 n32 io_uring_register sys_io_uring_register | 368 | 427 n32 io_uring_register sys_io_uring_register |
| 369 | 428 n32 open_tree sys_open_tree | ||
| 370 | 429 n32 move_mount sys_move_mount | ||
| 371 | 430 n32 fsopen sys_fsopen | ||
| 372 | 431 n32 fsconfig sys_fsconfig | ||
| 373 | 432 n32 fsmount sys_fsmount | ||
| 374 | 433 n32 fspick sys_fspick | ||
diff --git a/arch/mips/kernel/syscalls/syscall_n64.tbl b/arch/mips/kernel/syscalls/syscall_n64.tbl index cd0c8aa21fba..5eebfa0d155c 100644 --- a/arch/mips/kernel/syscalls/syscall_n64.tbl +++ b/arch/mips/kernel/syscalls/syscall_n64.tbl | |||
| @@ -342,3 +342,9 @@ | |||
| 342 | 425 n64 io_uring_setup sys_io_uring_setup | 342 | 425 n64 io_uring_setup sys_io_uring_setup |
| 343 | 426 n64 io_uring_enter sys_io_uring_enter | 343 | 426 n64 io_uring_enter sys_io_uring_enter |
| 344 | 427 n64 io_uring_register sys_io_uring_register | 344 | 427 n64 io_uring_register sys_io_uring_register |
| 345 | 428 n64 open_tree sys_open_tree | ||
| 346 | 429 n64 move_mount sys_move_mount | ||
| 347 | 430 n64 fsopen sys_fsopen | ||
| 348 | 431 n64 fsconfig sys_fsconfig | ||
| 349 | 432 n64 fsmount sys_fsmount | ||
| 350 | 433 n64 fspick sys_fspick | ||
diff --git a/arch/mips/kernel/syscalls/syscall_o32.tbl b/arch/mips/kernel/syscalls/syscall_o32.tbl index e849e8ffe4a2..3cc1374e02d0 100644 --- a/arch/mips/kernel/syscalls/syscall_o32.tbl +++ b/arch/mips/kernel/syscalls/syscall_o32.tbl | |||
| @@ -415,3 +415,9 @@ | |||
| 415 | 425 o32 io_uring_setup sys_io_uring_setup | 415 | 425 o32 io_uring_setup sys_io_uring_setup |
| 416 | 426 o32 io_uring_enter sys_io_uring_enter | 416 | 426 o32 io_uring_enter sys_io_uring_enter |
| 417 | 427 o32 io_uring_register sys_io_uring_register | 417 | 427 o32 io_uring_register sys_io_uring_register |
| 418 | 428 o32 open_tree sys_open_tree | ||
| 419 | 429 o32 move_mount sys_move_mount | ||
| 420 | 430 o32 fsopen sys_fsopen | ||
| 421 | 431 o32 fsconfig sys_fsconfig | ||
| 422 | 432 o32 fsmount sys_fsmount | ||
| 423 | 433 o32 fspick sys_fspick | ||
diff --git a/arch/parisc/kernel/syscalls/syscall.tbl b/arch/parisc/kernel/syscalls/syscall.tbl index fe8ca623add8..c9e377d59232 100644 --- a/arch/parisc/kernel/syscalls/syscall.tbl +++ b/arch/parisc/kernel/syscalls/syscall.tbl | |||
| @@ -424,3 +424,9 @@ | |||
| 424 | 425 common io_uring_setup sys_io_uring_setup | 424 | 425 common io_uring_setup sys_io_uring_setup |
| 425 | 426 common io_uring_enter sys_io_uring_enter | 425 | 426 common io_uring_enter sys_io_uring_enter |
| 426 | 427 common io_uring_register sys_io_uring_register | 426 | 427 common io_uring_register sys_io_uring_register |
| 427 | 428 common open_tree sys_open_tree | ||
| 428 | 429 common move_mount sys_move_mount | ||
| 429 | 430 common fsopen sys_fsopen | ||
| 430 | 431 common fsconfig sys_fsconfig | ||
| 431 | 432 common fsmount sys_fsmount | ||
| 432 | 433 common fspick sys_fspick | ||
diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/syscall.tbl index 00f5a63c8d9a..103655d84b4b 100644 --- a/arch/powerpc/kernel/syscalls/syscall.tbl +++ b/arch/powerpc/kernel/syscalls/syscall.tbl | |||
| @@ -509,3 +509,9 @@ | |||
| 509 | 425 common io_uring_setup sys_io_uring_setup | 509 | 425 common io_uring_setup sys_io_uring_setup |
| 510 | 426 common io_uring_enter sys_io_uring_enter | 510 | 426 common io_uring_enter sys_io_uring_enter |
| 511 | 427 common io_uring_register sys_io_uring_register | 511 | 427 common io_uring_register sys_io_uring_register |
| 512 | 428 common open_tree sys_open_tree | ||
| 513 | 429 common move_mount sys_move_mount | ||
| 514 | 430 common fsopen sys_fsopen | ||
| 515 | 431 common fsconfig sys_fsconfig | ||
| 516 | 432 common fsmount sys_fsmount | ||
| 517 | 433 common fspick sys_fspick | ||
diff --git a/arch/s390/kernel/syscalls/syscall.tbl b/arch/s390/kernel/syscalls/syscall.tbl index 061418f787c3..e822b2964a83 100644 --- a/arch/s390/kernel/syscalls/syscall.tbl +++ b/arch/s390/kernel/syscalls/syscall.tbl | |||
| @@ -430,3 +430,9 @@ | |||
| 430 | 425 common io_uring_setup sys_io_uring_setup sys_io_uring_setup | 430 | 425 common io_uring_setup sys_io_uring_setup sys_io_uring_setup |
| 431 | 426 common io_uring_enter sys_io_uring_enter sys_io_uring_enter | 431 | 426 common io_uring_enter sys_io_uring_enter sys_io_uring_enter |
| 432 | 427 common io_uring_register sys_io_uring_register sys_io_uring_register | 432 | 427 common io_uring_register sys_io_uring_register sys_io_uring_register |
| 433 | 428 common open_tree sys_open_tree sys_open_tree | ||
| 434 | 429 common move_mount sys_move_mount sys_move_mount | ||
| 435 | 430 common fsopen sys_fsopen sys_fsopen | ||
| 436 | 431 common fsconfig sys_fsconfig sys_fsconfig | ||
| 437 | 432 common fsmount sys_fsmount sys_fsmount | ||
| 438 | 433 common fspick sys_fspick sys_fspick | ||
diff --git a/arch/sh/kernel/syscalls/syscall.tbl b/arch/sh/kernel/syscalls/syscall.tbl index 480b057556ee..016a727d4357 100644 --- a/arch/sh/kernel/syscalls/syscall.tbl +++ b/arch/sh/kernel/syscalls/syscall.tbl | |||
| @@ -430,3 +430,9 @@ | |||
| 430 | 425 common io_uring_setup sys_io_uring_setup | 430 | 425 common io_uring_setup sys_io_uring_setup |
| 431 | 426 common io_uring_enter sys_io_uring_enter | 431 | 426 common io_uring_enter sys_io_uring_enter |
| 432 | 427 common io_uring_register sys_io_uring_register | 432 | 427 common io_uring_register sys_io_uring_register |
| 433 | 428 common open_tree sys_open_tree | ||
| 434 | 429 common move_mount sys_move_mount | ||
| 435 | 430 common fsopen sys_fsopen | ||
| 436 | 431 common fsconfig sys_fsconfig | ||
| 437 | 432 common fsmount sys_fsmount | ||
| 438 | 433 common fspick sys_fspick | ||
diff --git a/arch/sparc/kernel/syscalls/syscall.tbl b/arch/sparc/kernel/syscalls/syscall.tbl index a1dd24307b00..e047480b1605 100644 --- a/arch/sparc/kernel/syscalls/syscall.tbl +++ b/arch/sparc/kernel/syscalls/syscall.tbl | |||
| @@ -473,3 +473,9 @@ | |||
| 473 | 425 common io_uring_setup sys_io_uring_setup | 473 | 425 common io_uring_setup sys_io_uring_setup |
| 474 | 426 common io_uring_enter sys_io_uring_enter | 474 | 426 common io_uring_enter sys_io_uring_enter |
| 475 | 427 common io_uring_register sys_io_uring_register | 475 | 427 common io_uring_register sys_io_uring_register |
| 476 | 428 common open_tree sys_open_tree | ||
| 477 | 429 common move_mount sys_move_mount | ||
| 478 | 430 common fsopen sys_fsopen | ||
| 479 | 431 common fsconfig sys_fsconfig | ||
| 480 | 432 common fsmount sys_fsmount | ||
| 481 | 433 common fspick sys_fspick | ||
diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl index 4cd5f982b1e5..ad968b7bac72 100644 --- a/arch/x86/entry/syscalls/syscall_32.tbl +++ b/arch/x86/entry/syscalls/syscall_32.tbl | |||
| @@ -398,12 +398,6 @@ | |||
| 398 | 384 i386 arch_prctl sys_arch_prctl __ia32_compat_sys_arch_prctl | 398 | 384 i386 arch_prctl sys_arch_prctl __ia32_compat_sys_arch_prctl |
| 399 | 385 i386 io_pgetevents sys_io_pgetevents_time32 __ia32_compat_sys_io_pgetevents | 399 | 385 i386 io_pgetevents sys_io_pgetevents_time32 __ia32_compat_sys_io_pgetevents |
| 400 | 386 i386 rseq sys_rseq __ia32_sys_rseq | 400 | 386 i386 rseq sys_rseq __ia32_sys_rseq |
| 401 | 387 i386 open_tree sys_open_tree __ia32_sys_open_tree | ||
| 402 | 388 i386 move_mount sys_move_mount __ia32_sys_move_mount | ||
| 403 | 389 i386 fsopen sys_fsopen __ia32_sys_fsopen | ||
| 404 | 390 i386 fsconfig sys_fsconfig __ia32_sys_fsconfig | ||
| 405 | 391 i386 fsmount sys_fsmount __ia32_sys_fsmount | ||
| 406 | 392 i386 fspick sys_fspick __ia32_sys_fspick | ||
| 407 | 393 i386 semget sys_semget __ia32_sys_semget | 401 | 393 i386 semget sys_semget __ia32_sys_semget |
| 408 | 394 i386 semctl sys_semctl __ia32_compat_sys_semctl | 402 | 394 i386 semctl sys_semctl __ia32_compat_sys_semctl |
| 409 | 395 i386 shmget sys_shmget __ia32_sys_shmget | 403 | 395 i386 shmget sys_shmget __ia32_sys_shmget |
| @@ -438,3 +432,9 @@ | |||
| 438 | 425 i386 io_uring_setup sys_io_uring_setup __ia32_sys_io_uring_setup | 432 | 425 i386 io_uring_setup sys_io_uring_setup __ia32_sys_io_uring_setup |
| 439 | 426 i386 io_uring_enter sys_io_uring_enter __ia32_sys_io_uring_enter | 433 | 426 i386 io_uring_enter sys_io_uring_enter __ia32_sys_io_uring_enter |
| 440 | 427 i386 io_uring_register sys_io_uring_register __ia32_sys_io_uring_register | 434 | 427 i386 io_uring_register sys_io_uring_register __ia32_sys_io_uring_register |
| 435 | 428 i386 open_tree sys_open_tree __ia32_sys_open_tree | ||
| 436 | 429 i386 move_mount sys_move_mount __ia32_sys_move_mount | ||
| 437 | 430 i386 fsopen sys_fsopen __ia32_sys_fsopen | ||
| 438 | 431 i386 fsconfig sys_fsconfig __ia32_sys_fsconfig | ||
| 439 | 432 i386 fsmount sys_fsmount __ia32_sys_fsmount | ||
| 440 | 433 i386 fspick sys_fspick __ia32_sys_fspick | ||
diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl index 64ca0d06259a..b4e6f9e6204a 100644 --- a/arch/x86/entry/syscalls/syscall_64.tbl +++ b/arch/x86/entry/syscalls/syscall_64.tbl | |||
| @@ -343,18 +343,18 @@ | |||
| 343 | 332 common statx __x64_sys_statx | 343 | 332 common statx __x64_sys_statx |
| 344 | 333 common io_pgetevents __x64_sys_io_pgetevents | 344 | 333 common io_pgetevents __x64_sys_io_pgetevents |
| 345 | 334 common rseq __x64_sys_rseq | 345 | 334 common rseq __x64_sys_rseq |
| 346 | 335 common open_tree __x64_sys_open_tree | ||
| 347 | 336 common move_mount __x64_sys_move_mount | ||
| 348 | 337 common fsopen __x64_sys_fsopen | ||
| 349 | 338 common fsconfig __x64_sys_fsconfig | ||
| 350 | 339 common fsmount __x64_sys_fsmount | ||
| 351 | 340 common fspick __x64_sys_fspick | ||
| 352 | # don't use numbers 387 through 423, add new calls after the last | 346 | # don't use numbers 387 through 423, add new calls after the last |
| 353 | # 'common' entry | 347 | # 'common' entry |
| 354 | 424 common pidfd_send_signal __x64_sys_pidfd_send_signal | 348 | 424 common pidfd_send_signal __x64_sys_pidfd_send_signal |
| 355 | 425 common io_uring_setup __x64_sys_io_uring_setup | 349 | 425 common io_uring_setup __x64_sys_io_uring_setup |
| 356 | 426 common io_uring_enter __x64_sys_io_uring_enter | 350 | 426 common io_uring_enter __x64_sys_io_uring_enter |
| 357 | 427 common io_uring_register __x64_sys_io_uring_register | 351 | 427 common io_uring_register __x64_sys_io_uring_register |
| 352 | 428 common open_tree __x64_sys_open_tree | ||
| 353 | 429 common move_mount __x64_sys_move_mount | ||
| 354 | 430 common fsopen __x64_sys_fsopen | ||
| 355 | 431 common fsconfig __x64_sys_fsconfig | ||
| 356 | 432 common fsmount __x64_sys_fsmount | ||
| 357 | 433 common fspick __x64_sys_fspick | ||
| 358 | 358 | ||
| 359 | # | 359 | # |
| 360 | # x32-specific system call numbers start at 512 to avoid cache impact | 360 | # x32-specific system call numbers start at 512 to avoid cache impact |
diff --git a/arch/xtensa/kernel/syscalls/syscall.tbl b/arch/xtensa/kernel/syscalls/syscall.tbl index 30084eaf8422..5fa0ee1c8e00 100644 --- a/arch/xtensa/kernel/syscalls/syscall.tbl +++ b/arch/xtensa/kernel/syscalls/syscall.tbl | |||
| @@ -398,3 +398,9 @@ | |||
| 398 | 425 common io_uring_setup sys_io_uring_setup | 398 | 425 common io_uring_setup sys_io_uring_setup |
| 399 | 426 common io_uring_enter sys_io_uring_enter | 399 | 426 common io_uring_enter sys_io_uring_enter |
| 400 | 427 common io_uring_register sys_io_uring_register | 400 | 427 common io_uring_register sys_io_uring_register |
| 401 | 428 common open_tree sys_open_tree | ||
| 402 | 429 common move_mount sys_move_mount | ||
| 403 | 430 common fsopen sys_fsopen | ||
| 404 | 431 common fsconfig sys_fsconfig | ||
| 405 | 432 common fsmount sys_fsmount | ||
| 406 | 433 common fspick sys_fspick | ||
diff --git a/fs/fsopen.c b/fs/fsopen.c index 3bb9c0c8cbcc..c2891e933ef1 100644 --- a/fs/fsopen.c +++ b/fs/fsopen.c | |||
| @@ -92,7 +92,7 @@ static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) | |||
| 92 | { | 92 | { |
| 93 | int fd; | 93 | int fd; |
| 94 | 94 | ||
| 95 | fd = anon_inode_getfd("fscontext", &fscontext_fops, fc, | 95 | fd = anon_inode_getfd("[fscontext]", &fscontext_fops, fc, |
| 96 | O_RDWR | o_flags); | 96 | O_RDWR | o_flags); |
| 97 | if (fd < 0) | 97 | if (fd < 0) |
| 98 | put_fs_context(fc); | 98 | put_fs_context(fc); |
diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index dee7292e1df6..a87904daf103 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h | |||
| @@ -832,9 +832,21 @@ __SYSCALL(__NR_io_uring_setup, sys_io_uring_setup) | |||
| 832 | __SYSCALL(__NR_io_uring_enter, sys_io_uring_enter) | 832 | __SYSCALL(__NR_io_uring_enter, sys_io_uring_enter) |
| 833 | #define __NR_io_uring_register 427 | 833 | #define __NR_io_uring_register 427 |
| 834 | __SYSCALL(__NR_io_uring_register, sys_io_uring_register) | 834 | __SYSCALL(__NR_io_uring_register, sys_io_uring_register) |
| 835 | #define __NR_open_tree 428 | ||
| 836 | __SYSCALL(__NR_open_tree, sys_open_tree) | ||
| 837 | #define __NR_move_mount 429 | ||
| 838 | __SYSCALL(__NR_move_mount, sys_move_mount) | ||
| 839 | #define __NR_fsopen 430 | ||
| 840 | __SYSCALL(__NR_fsopen, sys_fsopen) | ||
| 841 | #define __NR_fsconfig 431 | ||
| 842 | __SYSCALL(__NR_fsconfig, sys_fsconfig) | ||
| 843 | #define __NR_fsmount 432 | ||
| 844 | __SYSCALL(__NR_fsmount, sys_fsmount) | ||
| 845 | #define __NR_fspick 433 | ||
| 846 | __SYSCALL(__NR_fspick, sys_fspick) | ||
| 835 | 847 | ||
| 836 | #undef __NR_syscalls | 848 | #undef __NR_syscalls |
| 837 | #define __NR_syscalls 428 | 849 | #define __NR_syscalls 434 |
| 838 | 850 | ||
| 839 | /* | 851 | /* |
| 840 | * 32 bit systems traditionally used different | 852 | * 32 bit systems traditionally used different |
