Linux Audio

Check our new training course

Loading...
Note: File does not exist in v3.1.
 1#include "vmlinux.h"
 2#include <linux/version.h>
 3#include <bpf/bpf_helpers.h>
 4
 5SEC("kprobe/open_ctree")
 6int bpf_prog1(struct pt_regs *ctx)
 7{
 8	unsigned long rc = -12;
 9
10	bpf_override_return(ctx, rc);
11	return 0;
12}
13
14char _license[] SEC("license") = "GPL";
15u32 _version SEC("version") = LINUX_VERSION_CODE;