diff options
author | Mickaël Salaün <mic@digikod.net> | 2022-05-06 19:08:12 +0300 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2022-05-23 14:27:48 +0300 |
commit | 87129ef13603ae46c82bcd09eed948acf0506dbb (patch) | |
tree | 257af7899218bba885698a84f887f0ee37157ec9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a13e248ff90e81e9322406c0e618cf2168702f4e (diff) | |
download | linux-87129ef13603ae46c82bcd09eed948acf0506dbb.tar.xz |
selftests/landlock: Make tests build with old libc
Replace SYS_<syscall> with __NR_<syscall>. Using the __NR_<syscall>
notation, provided by UAPI, is useful to build tests on systems without
the SYS_<syscall> definitions.
Replace SYS_pivot_root with __NR_pivot_root, and SYS_move_mount with
__NR_move_mount.
Define renameat2() and RENAME_EXCHANGE if they are unknown to old build
systems.
Cc: Shuah Khan <shuah@kernel.org>
Link: https://lore.kernel.org/r/20220506160820.524344-3-mic@digikod.net
Cc: stable@vger.kernel.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions