Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include <linux/bpf.h>
0003 #include <bpf/bpf_helpers.h>
0004 #include <bpf/bpf_tracing.h>
0005 
0006 volatile __u64 test_fmod_ret = 0;
0007 SEC("fmod_ret/security_new_get_constant")
0008 int BPF_PROG(fmod_ret_test, long val, int ret)
0009 {
0010     test_fmod_ret = 1;
0011     return 120;
0012 }
0013 
0014 char _license[] SEC("license") = "GPL";