diff options
author | Palmer Dabbelt <palmer@sifive.com> | 2023-07-11 18:16:05 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-07-27 12:25:35 +0200 |
commit | 78252deb023cf0879256fcfbafe37022c390762b (patch) | |
tree | 34c103dd8384e0a5cd057d8932736d9ce708251b /include/uapi/asm-generic | |
parent | 09da082b07bbae1c11d9560c8502800039aebcea (diff) | |
download | linux-stable-78252deb023cf0879256fcfbafe37022c390762b.tar.gz linux-stable-78252deb023cf0879256fcfbafe37022c390762b.tar.bz2 linux-stable-78252deb023cf0879256fcfbafe37022c390762b.zip |
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 <palmer@sifive.com>
Signed-off-by: Alexey Gladkov <legion@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Message-Id: <a677d521f048e4ca439e7080a5328f21eb8e960e.1689092120.git.legion@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/uapi/asm-generic')
-rw-r--r-- | include/uapi/asm-generic/unistd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index fd6c1cb585db..abe087c53b4b 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -820,8 +820,11 @@ __SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node) #define __NR_cachestat 451 __SYSCALL(__NR_cachestat, sys_cachestat) +#define __NR_fchmodat2 452 +__SYSCALL(__NR_fchmodat2, sys_fchmodat2) + #undef __NR_syscalls -#define __NR_syscalls 452 +#define __NR_syscalls 453 /* * 32 bit systems traditionally used different |