1 // SPDX-License-Identifier: GPL-2.0-only
3 #include <bpf/bpf_helpers.h>
6 __noinline int foo(int *p)
9 return p ? (*p = 42) : 0;
15 __failure __msg("Caller passes invalid args into func#1")
16 int global_func17(struct __sk_buff *skb)
18 return foo((int *)&i);