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