tools headers: Update the syscall tables and unistd.h, mostly to support the new 'mseal' syscall

But also to wire up shadow stacks on 32-bit x86, picking up those
changes from these csets:

ff388fe5c481d39c ("mseal: wire up mseal syscall")
2883f01ec37dd866 ("x86/shstk: Enable shadow stacks for x32")

This makes 'perf trace' support it, now its possible, for instance to
do:

# perf trace -e mseal --max-stack=16

Here is an example with the 'sendmmsg' syscall:

root@x1:~# perf trace -e sendmmsg --max-stack 16 --max-events=1
0.000 ( 0.062 ms): dbus-broker/1012 sendmmsg(fd: 150, mmsg: 0x7ffef57cca50, vlen: 1, flags: DONTWAIT|NOSIGNAL) = 1
syscall_exit_to_user_mode_prepare ([kernel.kallsyms])
syscall_exit_to_user_mode_prepare ([kernel.kallsyms])
syscall_exit_to_user_mode ([kernel.kallsyms])
do_syscall_64 ([kernel.kallsyms])
entry_SYSCALL_64 ([kernel.kallsyms])
[0x117ce7] (/usr/lib64/libc.so.6 (deleted))
root@x1:~#

To do a system wide tracing of the new 'mseal' syscall with a backtrace
of at most 16 entries.

This addresses these perf tools 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_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

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: H J Lu <hjl.tools@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jeff Xu <jeffxu@chromium.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/lkml/ZlXlo4TNcba4wnVZ@x1
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+9 -2
+4 -1
tools/include/uapi/asm-generic/unistd.h
··· 842 842 #define __NR_lsm_list_modules 461 843 843 __SYSCALL(__NR_lsm_list_modules, sys_lsm_list_modules) 844 844 845 + #define __NR_mseal 462 846 + __SYSCALL(__NR_mseal, sys_mseal) 847 + 845 848 #undef __NR_syscalls 846 - #define __NR_syscalls 462 849 + #define __NR_syscalls 463 847 850 848 851 /* 849 852 * 32 bit systems traditionally used different
+1
tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl
··· 376 376 459 n64 lsm_get_self_attr sys_lsm_get_self_attr 377 377 460 n64 lsm_set_self_attr sys_lsm_set_self_attr 378 378 461 n64 lsm_list_modules sys_lsm_list_modules 379 + 462 n64 mseal sys_mseal
+1
tools/perf/arch/powerpc/entry/syscalls/syscall.tbl
··· 548 548 459 common lsm_get_self_attr sys_lsm_get_self_attr 549 549 460 common lsm_set_self_attr sys_lsm_set_self_attr 550 550 461 common lsm_list_modules sys_lsm_list_modules 551 + 462 common mseal sys_mseal
+1
tools/perf/arch/s390/entry/syscalls/syscall.tbl
··· 464 464 459 common lsm_get_self_attr sys_lsm_get_self_attr sys_lsm_get_self_attr 465 465 460 common lsm_set_self_attr sys_lsm_set_self_attr sys_lsm_set_self_attr 466 466 461 common lsm_list_modules sys_lsm_list_modules sys_lsm_list_modules 467 + 462 common mseal sys_mseal sys_mseal
+2 -1
tools/perf/arch/x86/entry/syscalls/syscall_64.tbl
··· 374 374 450 common set_mempolicy_home_node sys_set_mempolicy_home_node 375 375 451 common cachestat sys_cachestat 376 376 452 common fchmodat2 sys_fchmodat2 377 - 453 64 map_shadow_stack sys_map_shadow_stack 377 + 453 common map_shadow_stack sys_map_shadow_stack 378 378 454 common futex_wake sys_futex_wake 379 379 455 common futex_wait sys_futex_wait 380 380 456 common futex_requeue sys_futex_requeue ··· 383 383 459 common lsm_get_self_attr sys_lsm_get_self_attr 384 384 460 common lsm_set_self_attr sys_lsm_set_self_attr 385 385 461 common lsm_list_modules sys_lsm_list_modules 386 + 462 common mseal sys_mseal 386 387 387 388 # 388 389 # Due to a historical design error, certain syscalls are numbered differently