diff options
author | 2024-07-31 08:37:25 +0200 | |
---|---|---|
committer | 2024-07-31 10:00:20 -0700 | |
commit | ba6a9018502eecb94e67001deeb48406fa71f916 (patch) | |
tree | 0b4c17d66a0178bcbc80290fb9675eb4e732cccc /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | selftests/bpf: fix RELEASE=1 compilation for sock_addr.c (diff) | |
download | wireguard-linux-ba6a9018502eecb94e67001deeb48406fa71f916.tar.xz wireguard-linux-ba6a9018502eecb94e67001deeb48406fa71f916.zip |
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 <alan.maguire@oracle.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Link: https://lore.kernel.org/r/20240731-convert_dev_cgroup-v4-1-849425d90de6@bootlin.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions