Skip to content

Commit 29b95f2

Browse files
committed
bla
1 parent 5678597 commit 29b95f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/testing/selftests/bpf/progs/verifier_live_stack.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,14 +312,15 @@ __naked unsigned long caller_stack_write_tail_call(void)
312312
"r2 = r10;"
313313
"r2 += -8;"
314314
"call write_first_param_tail_call;"
315-
"r0 = *(u64 *)(r10 - 8);"
315+
"r0 = *(u64 *)(r10 - 24);"
316316
"exit;"
317317
::: __clobber_all);
318318
}
319319

320320
static __used __naked unsigned long write_first_param_tail_call(void)
321321
{
322322
asm volatile (
323+
"*(u64 *)(r2 - 8) = 7;"
323324
"r6 = r2;"
324325
"r2 = %[map_array] ll;"
325326
"r3 = 0;"

0 commit comments

Comments
 (0)