Commit 52174e0e authored by Namhyung Kim's avatar Namhyung Kim
Browse files

tools headers: Sync syscall tables with the kernel source



To pick up the changes in this cset:

  be7efb2d fs: introduce file_getattr and file_setattr syscalls

This addresses these perf build warnings:

  Warning: Kernel ABI header differences:
    diff -u tools/include/uapi/asm-generic/unistd.h include/uapi/asm-generic/unistd.h
    diff -u tools/scripts/syscall.tbl scripts/syscall.tbl
    diff -u tools/perf/arch/x86/entry/syscalls/syscall_32.tbl arch/x86/entry/syscalls/syscall_32.tbl
    diff -u tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
    diff -u tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl
    diff -u tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl
    diff -u tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl arch/mips/kernel/syscalls/syscall_n64.tbl
    diff -u tools/perf/arch/arm/entry/syscalls/syscall.tbl arch/arm/tools/syscall.tbl
    diff -u tools/perf/arch/sh/entry/syscalls/syscall.tbl arch/sh/kernel/syscalls/syscall.tbl
    diff -u tools/perf/arch/sparc/entry/syscalls/syscall.tbl arch/sparc/kernel/syscalls/syscall.tbl
    diff -u tools/perf/arch/xtensa/entry/syscalls/syscall.tbl arch/xtensa/kernel/syscalls/syscall.tbl

Please see tools/include/uapi/README for further details.

Cc: Arnd Bergmann <arnd@arndb.de>
CC: linux-api@vger.kernel.org
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent c85538c4
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -852,8 +852,14 @@ __SYSCALL(__NR_removexattrat, sys_removexattrat)
#define __NR_open_tree_attr 467
__SYSCALL(__NR_open_tree_attr, sys_open_tree_attr)

/* fs/inode.c */
#define __NR_file_getattr 468
__SYSCALL(__NR_file_getattr, sys_file_getattr)
#define __NR_file_setattr 469
__SYSCALL(__NR_file_setattr, sys_file_setattr)

#undef __NR_syscalls
#define __NR_syscalls 468
#define __NR_syscalls 470

/*
 * 32 bit systems traditionally used different
+2 −0
Original line number Diff line number Diff line
@@ -482,3 +482,5 @@
465	common	listxattrat			sys_listxattrat
466	common	removexattrat			sys_removexattrat
467	common	open_tree_attr			sys_open_tree_attr
468	common	file_getattr			sys_file_getattr
469	common	file_setattr			sys_file_setattr
+2 −0
Original line number Diff line number Diff line
@@ -382,3 +382,5 @@
465	n64	listxattrat			sys_listxattrat
466	n64	removexattrat			sys_removexattrat
467	n64	open_tree_attr			sys_open_tree_attr
468	n64	file_getattr			sys_file_getattr
469	n64	file_setattr			sys_file_setattr
+2 −0
Original line number Diff line number Diff line
@@ -558,3 +558,5 @@
465	common	listxattrat			sys_listxattrat
466	common	removexattrat			sys_removexattrat
467	common	open_tree_attr			sys_open_tree_attr
468	common	file_getattr			sys_file_getattr
469	common	file_setattr			sys_file_setattr
+2 −0
Original line number Diff line number Diff line
@@ -470,3 +470,5 @@
465  common	listxattrat		sys_listxattrat			sys_listxattrat
466  common	removexattrat		sys_removexattrat		sys_removexattrat
467  common	open_tree_attr		sys_open_tree_attr		sys_open_tree_attr
468  common	file_getattr		sys_file_getattr		sys_file_getattr
469  common	file_setattr		sys_file_setattr		sys_file_setattr
Loading