WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / bpf / progs / fmod_ret_freplace.c
blobc8943ccee6c0e31dbbb29949df7b4320473e5eaf
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/bpf.h>
3 #include <bpf/bpf_helpers.h>
4 #include <bpf/bpf_tracing.h>
6 volatile __u64 test_fmod_ret = 0;
7 SEC("fmod_ret/security_new_get_constant")
8 int BPF_PROG(fmod_ret_test, long val, int ret)
10 test_fmod_ret = 1;
11 return 120;
14 char _license[] SEC("license") = "GPL";