diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2021-10-28 10:47:24 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-11-03 15:43:08 +0100 |
commit | 7e5ad817ec297f91a2fa5c423a39a458a4701bca (patch) | |
tree | 48069acb1c0338b75ac50e559876d354ed24b96a /tools/perf/scripts/python/flamegraph.py | |
parent | 9fc23c22e5745decc93ba5789bdcf2b093f21145 (diff) |
selftests/bpf: Test RENAME_EXCHANGE and RENAME_NOREPLACE on bpffs
Add tests to exercise the behaviour of RENAME_EXCHANGE and RENAME_NOREPLACE
on bpffs. The former checks that after an exchange the inode of two
directories has changed. The latter checks that the source still exists
after a failed rename. Generally, having support for renameat2(RENAME_EXCHANGE)
in bpffs fixes atomic upgrades of our sk_lookup control plane.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20211028094724.59043-5-lmb@cloudflare.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions