Andrii Nakryiko f90415e960 selftests/bpf: Make a copy of subtest name
test_progs never created a copy of subtest name, rather just stored
pointer to whatever string test provided. This is bad as that string
might be freed or modified by the end of subtest. Fix this by creating
a copy of given subtest name when subtest starts.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191021033902.3856966-6-andriin@fb.com
2019-10-21 14:49:12 +02:00
..
2019-09-10 12:31:39 -06:00
2019-08-18 20:45:57 +01:00
2019-10-21 14:49:12 +02:00
2019-07-15 20:44:49 -07:00
2019-09-24 12:39:40 -07:00