Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.13 14 lines 319 B view raw
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/bpf.h> 3#include <bpf/bpf_helpers.h> 4#include <bpf/bpf_tracing.h> 5 6volatile __u64 test_fmod_ret = 0; 7SEC("fmod_ret/security_new_get_constant") 8int BPF_PROG(fmod_ret_test, long val, int ret) 9{ 10 test_fmod_ret = 1; 11 return 120; 12} 13 14char _license[] SEC("license") = "GPL";