Skip to content

Commit 21fdd8d

Browse files
committed
tools headers UAPI: Sync unistd.h to pick {list,stat}mount, lsm_{[gs]et_self_attr,list_modules} syscall numbers
To pick the changes in these csets: d8b0f54 ("wire up syscalls for statmount/listmount") 5f42375 ("LSM: wireup Linux Security Module syscalls") Used in some architectures to create syscall tables. This addresses this perf build warning: Warning: Kernel ABI header differences: diff -u tools/include/uapi/asm-generic/unistd.h include/uapi/asm-generic/unistd.h Cc: Casey Schaufler <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Miklos Szeredi <[email protected]> Cc: Paul Moore <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent becc24e commit 21fdd8d

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,21 @@ __SYSCALL(__NR_futex_wait, sys_futex_wait)
829829
#define __NR_futex_requeue 456
830830
__SYSCALL(__NR_futex_requeue, sys_futex_requeue)
831831

832+
#define __NR_statmount 457
833+
__SYSCALL(__NR_statmount, sys_statmount)
834+
835+
#define __NR_listmount 458
836+
__SYSCALL(__NR_listmount, sys_listmount)
837+
838+
#define __NR_lsm_get_self_attr 459
839+
__SYSCALL(__NR_lsm_get_self_attr, sys_lsm_get_self_attr)
840+
#define __NR_lsm_set_self_attr 460
841+
__SYSCALL(__NR_lsm_set_self_attr, sys_lsm_set_self_attr)
842+
#define __NR_lsm_list_modules 461
843+
__SYSCALL(__NR_lsm_list_modules, sys_lsm_list_modules)
844+
832845
#undef __NR_syscalls
833-
#define __NR_syscalls 457
846+
#define __NR_syscalls 462
834847

835848
/*
836849
* 32 bit systems traditionally used different

0 commit comments

Comments
 (0)