diff options
author | Alexis Lothoré (eBPF Foundation) <[email protected]> | 2024-07-31 08:37:25 +0200 |
---|---|---|
committer | Martin KaFai Lau <[email protected]> | 2024-07-31 10:00:20 -0700 |
commit | ba6a9018502eecb94e67001deeb48406fa71f916 (patch) | |
tree | 0b4c17d66a0178bcbc80290fb9675eb4e732cccc /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 92cc2456e9775dc4333fb4aa430763ae4ac2f2d9 (diff) |
selftests/bpf: do not disable /dev/null device access in cgroup dev test
test_dev_cgroup currently loads a small bpf program allowing any access on
urandom and zero devices, disabling access to any other device. It makes
migrating this test to test_progs impossible, since this one manipulates
extensively /dev/null.
Allow /dev/null manipulation in dev_cgroup program to make its usage in
test_progs framework possible. Update test_dev_cgroup.c as well to match
this change while it has not been removed.
Reviewed-by: Alan Maguire <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Alexis Lothoré (eBPF Foundation) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions