Skip to content

Commit 78252de

Browse files
palmer-dabbeltbrauner
authored andcommitted
arch: Register fchmodat2, usually as syscall 452
This registers the new fchmodat2 syscall in most places as nuber 452, with alpha being the exception where it's 562. I found all these sites by grepping for fspick, which I assume has found me everything. Signed-off-by: Palmer Dabbelt <[email protected]> Signed-off-by: Alexey Gladkov <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Message-Id: <a677d521f048e4ca439e7080a5328f21eb8e960e.1689092120.git.legion@kernel.org> Signed-off-by: Christian Brauner <[email protected]>
1 parent 09da082 commit 78252de

File tree

19 files changed

+23
-2
lines changed

19 files changed

+23
-2
lines changed

arch/alpha/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,3 +491,4 @@
491491
559 common futex_waitv sys_futex_waitv
492492
560 common set_mempolicy_home_node sys_ni_syscall
493493
561 common cachestat sys_cachestat
494+
562 common fchmodat2 sys_fchmodat2

arch/arm/tools/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,3 +465,4 @@
465465
449 common futex_waitv sys_futex_waitv
466466
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
467467
451 common cachestat sys_cachestat
468+
452 common fchmodat2 sys_fchmodat2

arch/arm64/include/asm/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE + 5)
4040
#define __ARM_NR_COMPAT_END (__ARM_NR_COMPAT_BASE + 0x800)
4141

42-
#define __NR_compat_syscalls 452
42+
#define __NR_compat_syscalls 453
4343
#endif
4444

4545
#define __ARCH_WANT_SYS_CLONE

arch/arm64/include/asm/unistd32.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,8 @@ __SYSCALL(__NR_futex_waitv, sys_futex_waitv)
909909
__SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
910910
#define __NR_cachestat 451
911911
__SYSCALL(__NR_cachestat, sys_cachestat)
912+
#define __NR_fchmodat2 452
913+
__SYSCALL(__NR_fchmodat2, sys_fchmodat2)
912914

913915
/*
914916
* Please add new compat syscalls above this comment and update

arch/ia64/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,3 +372,4 @@
372372
449 common futex_waitv sys_futex_waitv
373373
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
374374
451 common cachestat sys_cachestat
375+
452 common fchmodat2 sys_fchmodat2

arch/m68k/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,3 +451,4 @@
451451
449 common futex_waitv sys_futex_waitv
452452
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
453453
451 common cachestat sys_cachestat
454+
452 common fchmodat2 sys_fchmodat2

arch/microblaze/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,3 +457,4 @@
457457
449 common futex_waitv sys_futex_waitv
458458
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
459459
451 common cachestat sys_cachestat
460+
452 common fchmodat2 sys_fchmodat2

arch/mips/kernel/syscalls/syscall_n32.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,3 +390,4 @@
390390
449 n32 futex_waitv sys_futex_waitv
391391
450 n32 set_mempolicy_home_node sys_set_mempolicy_home_node
392392
451 n32 cachestat sys_cachestat
393+
452 n32 fchmodat2 sys_fchmodat2

arch/mips/kernel/syscalls/syscall_n64.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,3 +366,4 @@
366366
449 n64 futex_waitv sys_futex_waitv
367367
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
368368
451 n64 cachestat sys_cachestat
369+
452 n64 fchmodat2 sys_fchmodat2

arch/mips/kernel/syscalls/syscall_o32.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,3 +439,4 @@
439439
449 o32 futex_waitv sys_futex_waitv
440440
450 o32 set_mempolicy_home_node sys_set_mempolicy_home_node
441441
451 o32 cachestat sys_cachestat
442+
452 o32 fchmodat2 sys_fchmodat2

0 commit comments

Comments
 (0)