Fuse-bpf requires access tp bpf_prog_f_ops to confirm the fd it was given is in fact a bpf program. Signed-off-by: Daniel Rosenberg <drosen@xxxxxxxxxx> Signed-off-by: Paul Lawrence <paullawrence@xxxxxxxxxx> --- kernel/bpf/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c index 27760627370d..2000b6029e6a 100644 --- a/kernel/bpf/syscall.c +++ b/kernel/bpf/syscall.c @@ -2160,6 +2160,7 @@ const struct file_operations bpf_prog_fops = { .read = bpf_dummy_read, .write = bpf_dummy_write, }; +EXPORT_SYMBOL_GPL(bpf_prog_fops); int bpf_prog_new_fd(struct bpf_prog *prog) { -- 2.37.3.998.g577e59143f-goog