1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2021 Facebook */
5 #include <bpf/bpf_helpers.h>
8 const volatile int off = 4000;
10 SEC("raw_tp/sys_enter")
11 int good_prog(const void *ctx)
13 a[0] = (int)(long)ctx;
17 SEC("raw_tp/sys_enter")
18 int bad_prog(const void *ctx)
20 /* out of bounds access */
24 char _license[] SEC("license") = "GPL";