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.4-rc6 16 lines 335 B view raw
1#include <uapi/linux/ptrace.h> 2#include <uapi/linux/bpf.h> 3#include <linux/version.h> 4#include "bpf_helpers.h" 5 6SEC("kprobe/open_ctree") 7int bpf_prog1(struct pt_regs *ctx) 8{ 9 unsigned long rc = -12; 10 11 bpf_override_return(ctx, rc); 12 return 0; 13} 14 15char _license[] SEC("license") = "GPL"; 16u32 _version SEC("version") = LINUX_VERSION_CODE;