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: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7239bb8e0ef329cd7eac6afcd06c341b17ea680b
This commit is contained in:
Greg Kroah-Hartman 2020-04-29 15:16:49 +02:00
parent be3bb0daac
commit 7f86a29040

View file

@ -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 *