Skip to content

Commit 81b483f

Browse files
committed
tools headers: Sync *xattrat syscall changes with the kernel sources
To pick up the changes in this cset: 6140be9 ("fs/xattr: add *at family 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/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 The arm64 changes are not included as it requires more changes in the tools. It'll be worked for the later cycle. Please see tools/include/uapi/README for further details. Reviewed-by: James Clark <james.clark@linaro.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Christian Brauner <brauner@kernel.org> CC: x86@kernel.org CC: linux-mips@vger.kernel.org CC: linuxppc-dev@lists.ozlabs.org CC: linux-s390@vger.kernel.org Link: https://lore.kernel.org/r/20241203035349.1901262-7-namhyung@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent 76e2319 commit 81b483f

6 files changed

Lines changed: 30 additions & 1 deletion

File tree

tools/include/uapi/asm-generic/unistd.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,17 @@ __SYSCALL(__NR_lsm_list_modules, sys_lsm_list_modules)
841841
#define __NR_mseal 462
842842
__SYSCALL(__NR_mseal, sys_mseal)
843843

844+
#define __NR_setxattrat 463
845+
__SYSCALL(__NR_setxattrat, sys_setxattrat)
846+
#define __NR_getxattrat 464
847+
__SYSCALL(__NR_getxattrat, sys_getxattrat)
848+
#define __NR_listxattrat 465
849+
__SYSCALL(__NR_listxattrat, sys_listxattrat)
850+
#define __NR_removexattrat 466
851+
__SYSCALL(__NR_removexattrat, sys_removexattrat)
852+
844853
#undef __NR_syscalls
845-
#define __NR_syscalls 463
854+
#define __NR_syscalls 467
846855

847856
/*
848857
* 32 bit systems traditionally used different

tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,3 +377,7 @@
377377
460 n64 lsm_set_self_attr sys_lsm_set_self_attr
378378
461 n64 lsm_list_modules sys_lsm_list_modules
379379
462 n64 mseal sys_mseal
380+
463 n64 setxattrat sys_setxattrat
381+
464 n64 getxattrat sys_getxattrat
382+
465 n64 listxattrat sys_listxattrat
383+
466 n64 removexattrat sys_removexattrat

tools/perf/arch/powerpc/entry/syscalls/syscall.tbl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,3 +553,7 @@
553553
460 common lsm_set_self_attr sys_lsm_set_self_attr
554554
461 common lsm_list_modules sys_lsm_list_modules
555555
462 common mseal sys_mseal
556+
463 common setxattrat sys_setxattrat
557+
464 common getxattrat sys_getxattrat
558+
465 common listxattrat sys_listxattrat
559+
466 common removexattrat sys_removexattrat

tools/perf/arch/s390/entry/syscalls/syscall.tbl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,3 +465,7 @@
465465
460 common lsm_set_self_attr sys_lsm_set_self_attr sys_lsm_set_self_attr
466466
461 common lsm_list_modules sys_lsm_list_modules sys_lsm_list_modules
467467
462 common mseal sys_mseal sys_mseal
468+
463 common setxattrat sys_setxattrat sys_setxattrat
469+
464 common getxattrat sys_getxattrat sys_getxattrat
470+
465 common listxattrat sys_listxattrat sys_listxattrat
471+
466 common removexattrat sys_removexattrat sys_removexattrat

tools/perf/arch/x86/entry/syscalls/syscall_32.tbl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,3 +468,7 @@
468468
460 i386 lsm_set_self_attr sys_lsm_set_self_attr
469469
461 i386 lsm_list_modules sys_lsm_list_modules
470470
462 i386 mseal sys_mseal
471+
463 i386 setxattrat sys_setxattrat
472+
464 i386 getxattrat sys_getxattrat
473+
465 i386 listxattrat sys_listxattrat
474+
466 i386 removexattrat sys_removexattrat

tools/perf/arch/x86/entry/syscalls/syscall_64.tbl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,10 @@
386386
460 common lsm_set_self_attr sys_lsm_set_self_attr
387387
461 common lsm_list_modules sys_lsm_list_modules
388388
462 common mseal sys_mseal
389+
463 common setxattrat sys_setxattrat
390+
464 common getxattrat sys_getxattrat
391+
465 common listxattrat sys_listxattrat
392+
466 common removexattrat sys_removexattrat
389393

390394
#
391395
# Due to a historical design error, certain syscalls are numbered differently

0 commit comments

Comments
 (0)