Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f86a290 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

ANDROID: bpf: fix export symbol type



In commit ff5bf35998cc ("ANDROID: bpf: validate bpf_func when BPF_JIT is
enabled with CFI") a new symbol was exported, but it should have been
set as a _GPL symbol.

Fix this up by properly.

Bug: 145210207
Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I7239bb8e0ef329cd7eac6afcd06c341b17ea680b
parent be3bb0da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -626,7 +626,7 @@ bool __weak arch_bpf_jit_check_func(const struct bpf_prog *prog)
{
	return true;
}
EXPORT_SYMBOL(arch_bpf_jit_check_func);
EXPORT_SYMBOL_GPL(arch_bpf_jit_check_func);
#endif

struct bpf_binary_header *