summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-03-06 20:46:32 +0300
committerTejun Heo <tj@kernel.org>2026-03-06 20:46:32 +0300
commit32e940f2bd3b16551f23ea44be47f6f5d1746d64 (patch)
tree23037a80fd683ff1a52ca05e2d7432c0cbc8f98b /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
parent477174ac35c510d0ed3043f5bd4fba25546a21ce (diff)
parent1dde502587657045b267f179d7a1ecc7b8a1a265 (diff)
downloadlinux-32e940f2bd3b16551f23ea44be47f6f5d1746d64.tar.xz
Merge branch 'for-7.0-fixes' into for-7.1
To prepare for hierarchical scheduling patchset which will cause multiple conflicts otherwise. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
-rw-r--r--tools/testing/selftests/bpf/prog_tests/queue_stack_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/queue_stack_map.c b/tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
index a043af9cd6d9..41441325e179 100644
--- a/tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
+++ b/tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
@@ -28,9 +28,9 @@ static void test_queue_stack_map_by_type(int type)
vals[i] = rand();
if (type == QUEUE)
- strncpy(file, "./test_queue_map.bpf.o", sizeof(file));
+ strscpy(file, "./test_queue_map.bpf.o");
else if (type == STACK)
- strncpy(file, "./test_stack_map.bpf.o", sizeof(file));
+ strscpy(file, "./test_stack_map.bpf.o");
else
return;